diff options
Diffstat (limited to 'target/linux/ath79/nand/base-files/etc/board.d')
-rw-r--r-- | target/linux/ath79/nand/base-files/etc/board.d/01_leds | 4 | ||||
-rw-r--r-- | target/linux/ath79/nand/base-files/etc/board.d/02_network | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/01_leds b/target/linux/ath79/nand/base-files/etc/board.d/01_leds index fc74554763..f694d07e9c 100644 --- a/target/linux/ath79/nand/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/nand/base-files/etc/board.d/01_leds @@ -6,6 +6,10 @@ board_config_update board=$(board_name) case "$board" in +dongwon,dw02-412h-64m|\ +dongwon,dw02-412h-128m) + ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x02" + ;; glinet,gl-ar300m-nand|\ glinet,gl-ar300m-nor) ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0" diff --git a/target/linux/ath79/nand/base-files/etc/board.d/02_network b/target/linux/ath79/nand/base-files/etc/board.d/02_network index 7402fc067a..dbb9e68150 100644 --- a/target/linux/ath79/nand/base-files/etc/board.d/02_network +++ b/target/linux/ath79/nand/base-files/etc/board.d/02_network @@ -15,6 +15,11 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "1:wan" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth1" ;; + dongwon,dw02-412h-64m|\ + dongwon,dw02-412h-128m) + ucidef_add_switch "switch0" \ + "0@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "5:lan:1" "1:wan" + ;; glinet,gl-ar750s-nor|\ glinet,gl-ar750s-nor-nand) ucidef_add_switch "switch0" \ @@ -47,6 +52,11 @@ ath79_setup_macs() local board="$1" case "$board" in + dongwon,dw02-412h-64m|\ + dongwon,dw02-412h-128m) + wan_mac=$(mtd_get_mac_binary art 0x0) + label_mac=$wan_mac + ;; netgear,wndr3700-v4|\ netgear,wndr4300|\ netgear,wndr4300sw|\ |