summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorLuochongjun <luochongjun@gl-inet.com>2019-08-23 17:05:57 +0800
committerChuanhong Guo <gch981213@gmail.com>2019-08-24 08:55:33 +0800
commit921675a2d148330a7ec44f10ea4d583b8d7b5a44 (patch)
tree5b7220a2b15a6aaeb6ee1194d07b7af3e394e736 /target/linux/ath79/base-files/etc/board.d/02_network
parentfb3574f1238cd958554d0b77f157f15508247dae (diff)
downloadopenwrt-921675a2d148330a7ec44f10ea4d583b8d7b5a44.tar.gz
openwrt-921675a2d148330a7ec44f10ea4d583b8d7b5a44.tar.bz2
openwrt-921675a2d148330a7ec44f10ea4d583b8d7b5a44.zip
ath79: add support for gl-ar750
This patch supports gl-ar750, which was previously supported by ar71xx. Specification: - SOC: QCA9531 (650MHz) - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR2 - Ethernet: 10/100: 2xLAN + 10/100: 1xWAN - Wireless: 2.4GHz (bgn) and 5GHz (ac) - USB: 1x USB 2.0 port - Switch: 1x switch - Button: 1x reset button - LED: 3x LEDS (white) Flash instruction: Support for sysupgrade directive upgrades, as well as luci upgrades. Signed-off-by: Luochongjun <luochongjun@gl-inet.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index cb0853ecb9..454f57d3dd 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -156,6 +156,11 @@ ath79_setup_interfaces()
etactica,eg200)
ucidef_set_interface_lan "eth0" "dhcp"
;;
+ glinet,gl-ar750)
+ ucidef_set_interface_wan "eth1"
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan" "2:lan"
+ ;;
glinet,gl-ar750s)
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:2" "3:lan:1" "1:wan"