commit | ebef064339cd023e743a1dd6025cfff4a5769b72 | [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 | afffd5d98963ad6e7a20ed3dc4bf3c3868730240 [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>