summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-12-21 17:58:42 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:02:48 -0600
commit6b201f32f5e7b49ef4f788ad93d5fe063657941a (patch)
tree9a1607f12bad07d438457d7d8575fe55881c1226 /include
parentb93d2094b20544a803d0ac55c33f04277b1dc5c9 (diff)
MLK-12065 ARM: imx: imx7d: enable enet mdio open drain
The management data input/output (MDIO) bus where often high-speed, open-drain operation is required. i.MX7D TO1.0 ENET MDIO pin has no open drain as IC ticket number: TKT252980, i.MX7D TO1.1 fix the issue. Signed-off-by: Fugang Duan <B38611@freescale.com> (cherry picked from commit: a747abd5f01d278b91d1b6ee6628e1935cb7b23c) Conflicts: arch/arm/mach-imx/mach-imx7d.c
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/syscon/imx7-iomuxc-gpr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/syscon/imx7-iomuxc-gpr.h b/include/linux/mfd/syscon/imx7-iomuxc-gpr.h
index 5cc0553de030..27ceec6600c3 100644
--- a/include/linux/mfd/syscon/imx7-iomuxc-gpr.h
+++ b/include/linux/mfd/syscon/imx7-iomuxc-gpr.h
@@ -36,6 +36,8 @@
#define IOMUXC_GPR22 0x58
/* For imx7d iomux gpr register field define */
+#define IMX7D_GPR0_ENET_MDIO_OPEN_DRAIN_MASK (0x3 << 7)
+
#define IMX7D_GPR1_IRQ_MASK (0x1 << 12)
#define IMX7D_GPR1_ENET1_TX_CLK_SEL_MASK (0x1 << 13)
#define IMX7D_GPR1_ENET2_TX_CLK_SEL_MASK (0x1 << 14)