OSDN Git Service

ARM: imx6sl: add imx6sl iomux-gpr field define
authorFugang Duan <B38611@freescale.com>
Tue, 3 Sep 2013 04:26:24 +0000 (12:26 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 21 Oct 2013 01:11:03 +0000 (09:11 +0800)
Add imx6sl iomux-gpr register field define in "imx6q-iomuxc-gpr.h" header
file, which is not fully define all iomux-gpr registers and fields, only
add fec related macro define.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
include/linux/mfd/syscon/imx6q-iomuxc-gpr.h

index b6bdcd6..7086b22 100644 (file)
 #define IMX6Q_GPR13_SATA_TX_LVL_1_240_V                (0x1f << 2)
 #define IMX6Q_GPR13_SATA_MPLL_CLK_EN           BIT(1)
 #define IMX6Q_GPR13_SATA_TX_EDGE_RATE          BIT(0)
+
+/* For imx6sl iomux gpr register field define */
+#define IMX6SL_GPR1_FEC_CLOCK_MUX1_SEL_MASK    (0x3 << 17)
+#define IMX6SL_GPR1_FEC_CLOCK_MUX2_SEL_MASK    (0x1 << 14)
+
 #endif /* __LINUX_IMX6Q_IOMUXC_GPR_H */