summaryrefslogtreecommitdiff
path: root/drivers/sysreset/sysreset_rk3399.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-02-25 13:34:11 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:32 +0800
commita46e14a18e71d7080457a4be4320cccb311f7879 (patch)
tree56452126613244a9d3e918497d267db16ef0860e /drivers/sysreset/sysreset_rk3399.c
parent5e89820ac4a2103fe4c3bee64710e46c8cc69216 (diff)
downloadu-boot-imx-a46e14a18e71d7080457a4be4320cccb311f7879.zip
u-boot-imx-a46e14a18e71d7080457a4be4320cccb311f7879.tar.gz
u-boot-imx-a46e14a18e71d7080457a4be4320cccb311f7879.tar.bz2
MLK-12452-1 FEC: Update fec driver to support two MDIO
On i.MX6SX, 6UL and 7D, there are two enet controllers each has a MDIO port. Some boards share the MDIO port for the two enets. So introduce a configuration CONFIG_FEC_MXC_MDIO_BASE to indicate the MDIO port for sharing. In Kconfig, user needs enable CONFIG_FEC_MXC_SHARE_MDIO first to enter the CONFIG_FEC_MXC_MDIO_BASE. Without defining this configuration, the enet will uses own MDIO port. Also add this configurationfor FEC DM driver, since the ENET PHY currently does not support FDT. Modify the dev_id for DM driver, the first fec will set dev_id with 0, while second fec sets the dev_id with 1. So the MII bus name won't be duplicated. Then we can add two FEC devices from DTB. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 088afc073c480bd02208145bfb04259ccdf391c1)
Diffstat (limited to 'drivers/sysreset/sysreset_rk3399.c')
0 files changed, 0 insertions, 0 deletions