diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-01-04 13:16:41 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-01-24 12:15:14 +0100 |
commit | d9699de85c44cb23280ca4b61a9fd846dd3508ce (patch) | |
tree | fa5b370f267be502eb1f374ea3d8d0bd098a96d5 /arch/arm/include/asm/arch-mx7 | |
parent | 9ba18ff8efcc471635fb2768509fed025fa7db3c (diff) | |
download | u-boot-imx-d9699de85c44cb23280ca4b61a9fd846dd3508ce.zip u-boot-imx-d9699de85c44cb23280ca4b61a9fd846dd3508ce.tar.gz u-boot-imx-d9699de85c44cb23280ca4b61a9fd846dd3508ce.tar.bz2 |
imx: mx7: default enable MDIO open drain
The management data input/output (MDIO) requires open-drain,
i.MX7D TO1.0 ENET MDIO pin has no open drain, but TO1.1 supports
this feature. So to TO1.1, need to enable open drain by setting
bits GPR0[8:7] for TO1.1.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx7')
-rw-r--r-- | arch/arm/include/asm/arch-mx7/imx-regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx7/imx-regs.h b/arch/arm/include/asm/arch-mx7/imx-regs.h index e28a807..58a25c7 100644 --- a/arch/arm/include/asm/arch-mx7/imx-regs.h +++ b/arch/arm/include/asm/arch-mx7/imx-regs.h @@ -272,6 +272,8 @@ struct src { #define IOMUXC_GPR_GPR0_DMAREQ_MUX_SEL5_SHIFT 5 #define IOMUXC_GPR_GPR0_DMAREQ_MUX_SEL6_MASK 0x40u #define IOMUXC_GPR_GPR0_DMAREQ_MUX_SEL6_SHIFT 6 +#define IOMUXC_GPR_GPR0_ENET_MDIO_OPEN_DRAIN_MASK (3 << 7) +#define IOMUXC_GPR_GPR0_ENET_MDIO_OPEN_DRAIN_SHIFT 7 /* GPR1 Bit Fields */ #define IOMUXC_GPR_GPR1_GPR_WEIM_ACT_CS0_MASK 0x1u #define IOMUXC_GPR_GPR1_GPR_WEIM_ACT_CS0_SHIFT 0 |