Skip to content

Commit

Permalink
imx: cortexa53: add network port names for gw74xx
Browse files Browse the repository at this point in the history
The network two embedded network interface MAC's on the GW74xx
can be racy with regards to kernel registration. Add a port path
mapping to ensure they do not flip around from boot to boot.

On the GW74xx the first RJ45 next to the power-in barrel jack is
configured as the WAN (eth0 IMX8MP eqos@0x30bf0000) and the jacks
following that (lan1-lan4) are configured as the LAN.

Signed-off-by: Tim Harvey <[email protected]>
  • Loading branch information
Gateworks committed May 20, 2024
1 parent b3ce63b commit 16df823
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion target/linux/imx/cortexa53/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ gw,imx8mm-gw7901)
ucidef_set_interfaces_lan_wan 'lan2 lan3 lan4' 'lan1'
;;
gateworks,imx8mp-gw74xx)
ucidef_set_interfaces_lan_wan 'lan1 lan2 lan3 lan4' 'eth1'
ucidef_set_network_device_path "eth0" "platform/soc@0/30800000.bus/30bf0000.ethernet"
ucidef_set_network_device_path "eth1" "platform/soc@0/30800000.bus/30be0000.ethernet"
ucidef_set_interfaces_lan_wan 'lan1 lan2 lan3 lan4' 'eth0'
;;
esac

Expand Down

0 comments on commit 16df823

Please sign in to comment.