commit | 4bdc3524d76eb9bc6e30b74f3dfe4a0ae5e5b1b6 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Mar 06 15:53:51 2023 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Thu Mar 30 13:47:04 2023 +0200 |
tree | 4726fa1c5d051817d3ad833e284d2e8c76e191f5 | |
parent | 80a34e4008f022a78409657d2b0a5020a472db2e [diff] |
net: fec_mxc: Add board_interface_eth_init() for i.MX8M Mini/Nano/Plus Implement common board_interface_eth_init() and call it from the FEC driver to configure IOMUXC GPR[1] register according to the PHY mode obtained from DT. This supports all three interface modes supported by the i.MX8M Mini/Nano/Plus FEC and supersedes the current board-side configuration of the same IOMUX GPR[1] duplicated in the board files. Signed-off-by: Marek Vasut <marex@denx.de>