diff options
author | John Crispin <blogic@openwrt.org> | 2015-06-05 14:11:36 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-06-05 14:11:36 +0000 |
commit | bde031625f44a2e253a833c4f88c0e13ff5ebf5c (patch) | |
tree | c84fa1cbdafec35454471d0d6b3f2f671daa010d /target/linux/lantiq/base-files/etc | |
parent | 55ec20b9a8046a8c6dc13a5254e4c0da41adb71f (diff) | |
download | master-187ad058-bde031625f44a2e253a833c4f88c0e13ff5ebf5c.tar.gz master-187ad058-bde031625f44a2e253a833c4f88c0e13ff5ebf5c.tar.bz2 master-187ad058-bde031625f44a2e253a833c4f88c0e13ff5ebf5c.zip |
lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45897 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
3 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 3ebd5e83b2..5f1cb00452 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -46,4 +46,15 @@ case "$FIRMWARE" in ;; esac ;; +"RT3062.eeprom" ) + local board=$(lantiq_board_name) + case $board in + VGV7510KW22) + rt2x00_eeprom_extract "board_config" 520 256 1 + ;; + *) + rt2x00_eeprom_die "board $board is not supported yet" + ;; + esac + ;; esac 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 3502eb2b27..8041ac941f 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds @@ -30,6 +30,13 @@ BTHOMEHUBV3A) ucidef_set_led_wlan "wifi" "wifi" "soc:blue:wireless" "phy0tpt" ucidef_set_led_netdev "internet" "internet" "soc:blue:broadband" "pppoa-wan" ;; +VGV7510KW22) + ucidef_set_led_default "power" "power" "power" "1" + ucidef_set_led_default "power2" "power2" "power2" "0" + ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0radio" + ucidef_set_led_netdev "dsl" "dsl" "dsl" "nas0" + ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan" + ;; VGV7519) ucidef_set_led_default "power" "power" "power" "0" ucidef_set_led_default "power2" "power2" "power2" "1" 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 5997bf5d5b..afb8714fe8 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -174,6 +174,14 @@ VGV7519) wan_mac=$(macaddr_add "$lan_mac" 1) ;; +VGV7510KW22) + lan_mac=$(mtd_get_mac_binary board_config 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" "2 3 4 5 6t" + ;; + esac [ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload" |