]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
imx: coretexa53: add network config for single-port Gateworks Venice boards 18629/head
authorTim Harvey <tharvey@gateworks.com>
Mon, 14 Apr 2025 17:34:31 +0000 (10:34 -0700)
committerRobert Marko <robimarko@gmail.com>
Tue, 6 May 2025 09:09:32 +0000 (11:09 +0200)
Add network config for single-port Gateworks venice boards such that the
ethernet port is the WAN port instead of the default being a LAN port.

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

index 94a982aee90b923e103e93aaf1880fef509ae2c6..f16826156ec312be1be9eae6721bef37273cab7b 100644 (file)
@@ -5,6 +5,14 @@ board=$(board_name)
 board_config_update
 
 case "$board" in
+gw,imx8mm-gw71xx-0x|\
+gateworks,imx8mp-gw71xx-2x|\
+gateworks,imx8mm-gw75xx-0x|\
+gateworks,imx8mp-gw75xx-2x|\
+gw,imx8mm-gw7903|\
+gateworks,imx8mm-gw7904)
+       ucidef_set_interface_wan 'eth0'
+       ;;
 gw,imx8mm-gw72xx-0x|\
 gw,imx8mp-gw72xx-2x|\
 gw,imx8mm-gw73xx-0x|\