]> git.sur5r.net Git - u-boot/commit
imx: mx7: default enable MDIO open drain
authorPeng Fan <van.freenix@gmail.com>
Mon, 4 Jan 2016 05:16:41 +0000 (13:16 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 24 Jan 2016 11:15:14 +0000 (12:15 +0100)
commitd9699de85c44cb23280ca4b61a9fd846dd3508ce
treefa5b370f267be502eb1f374ea3d8d0bd098a96d5
parent9ba18ff8efcc471635fb2768509fed025fa7db3c
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>
arch/arm/cpu/armv7/mx7/soc.c
arch/arm/include/asm/arch-mx7/imx-regs.h