diff options
author | John Crispin <blogic@openwrt.org> | 2015-10-05 10:28:34 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-10-05 10:28:34 +0000 |
commit | 9d76988e59428465c230743e0186068ab93b5237 (patch) | |
tree | 7a086e0caced9d8ac30e3789d002374ba317195c /target/linux/lantiq/base-files | |
parent | 6b0e22cadc4bd976452fc8b019d30e93e8437686 (diff) | |
download | master-187ad058-9d76988e59428465c230743e0186068ab93b5237.tar.gz master-187ad058-9d76988e59428465c230743e0186068ab93b5237.tar.bz2 master-187ad058-9d76988e59428465c230743e0186068ab93b5237.zip |
lantiq: several ARV7519RW22 fixes
Fixes ARV7519RW22 flash register (only 1 flash).
Power LED is green, not red.
Rename message LEDs to internet.
Add LEDs configuration (lan, wan, power).
Enable switch VLANs.
Fix secondary USB.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47132 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files')
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/01_leds | 5 | ||||
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds index 7ef88ea2c8..b9e5420f07 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds @@ -51,6 +51,11 @@ P2812HNUF*) ucidef_set_led_netdev "dsl" "dsl" "dsl" "nas0" ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan" ;; +ARV7519RW22) + ucidef_set_led_default "power" "power" "power" "1" + ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan" + ucidef_set_led_netdev "lan" "lan" "lan" "eth0.1" + ;; ARV8539PW22) ucidef_set_led_default "power" "power" "soc:green:power" "1" ucidef_set_led_default "power2" "power2" "soc:red:power" "0" diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 85d0eba140..b22060c414 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -162,6 +162,9 @@ TDW8970|TDW8980) ARV7519RW22) lan_mac=$(mtd_get_mac_binary boardconfig 22) wan_mac=$(macaddr_add "$lan_mac" 1) + ucidef_set_interface_lan "eth0.1" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 2 3 4 5 6t" ;; BTHOMEHUBV2B|BTHOMEHUBV3A) |