imx: coretexa53: fix network configuration for GW74xx
authorTim Harvey <tharvey@gateworks.com>
Tue, 21 May 2024 18:44:34 +0000 (11:44 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 22 Jun 2024 14:29:39 +0000 (16:29 +0200)
The GW74xx's first RJ45 is eth0 which should be the WAN adapter, not
eth1 which is the CPU uplink port to the switch.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/15736
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/imx/cortexa53/base-files/etc/board.d/02_network

index c6049824e050a17e9c82289e30c0d507c9b98211..f5dbbb09b97cd5c27aca362a6b45e2936b996add 100644 (file)
@@ -18,7 +18,7 @@ gw,imx8mm-gw7901)
 gateworks,imx8mp-gw74xx)
        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' 'eth1'
+       ucidef_set_interfaces_lan_wan 'lan1 lan2 lan3 lan4' 'eth0'
        ;;
 esac