summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Harvey2025-04-14 17:34:31 +0000
committerRobert Marko2025-05-06 09:09:32 +0000
commit2d6f0275f89428ff8da5f796e6e446b2b3f95a7c (patch)
tree8f047f4c2017d1462905e216611b40bbf2ea300d
parent1308b4fb1c2b9a13dbed31e5be10aad4a0c838cd (diff)
downloadopenwrt-2d6f0275f89428ff8da5f796e6e446b2b3f95a7c.tar.gz
imx: coretexa53: add network config for single-port Gateworks Venice boards
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>
-rw-r--r--target/linux/imx/cortexa53/base-files/etc/board.d/02_network8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/imx/cortexa53/base-files/etc/board.d/02_network b/target/linux/imx/cortexa53/base-files/etc/board.d/02_network
index 94a982aee9..f16826156e 100644
--- a/target/linux/imx/cortexa53/base-files/etc/board.d/02_network
+++ b/target/linux/imx/cortexa53/base-files/etc/board.d/02_network
@@ -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|\