Skip to content

Commit 9f55eb9

Browse files
Fugang DuanShawn Guo
authored andcommitted
ARM: imx6ul: add fec bits to GPR syscon definition
FEC requires additional bits to select refrence clock. Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent cec13c2 commit 9f55eb9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎include/linux/mfd/syscon/imx6q-iomuxc-gpr.h‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,4 +435,12 @@
435435
#define IMX6SX_GPR5_DISP_MUX_DCIC1_LVDS (0x1 << 1)
436436
#define IMX6SX_GPR5_DISP_MUX_DCIC1_MASK (0x1 << 1)
437437

438+
/* For imx6ul iomux gpr register field define */
439+
#define IMX6UL_GPR1_ENET1_CLK_DIR (0x1 << 17)
440+
#define IMX6UL_GPR1_ENET2_CLK_DIR (0x1 << 18)
441+
#define IMX6UL_GPR1_ENET1_CLK_OUTPUT (0x1 << 17)
442+
#define IMX6UL_GPR1_ENET2_CLK_OUTPUT (0x1 << 18)
443+
#define IMX6UL_GPR1_ENET_CLK_DIR (0x3 << 17)
444+
#define IMX6UL_GPR1_ENET_CLK_OUTPUT (0x3 << 17)
445+
438446
#endif /* __LINUX_IMX6Q_IOMUXC_GPR_H */

0 commit comments

Comments
 (0)