From cbc606f1f79e4a369978ad89abe75bb5c6063e0d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 30 Mar 2014 09:16:15 +0000 Subject: lantiq: add support for Arcadyan ARV7519PW This patch adds almost full support for this board. - WiFi is still not working - USB will not power up. According to some reports, it may be a passive port Signed-off-by: Antonios Vamporakis git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40319 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 2 +- target/linux/lantiq/base-files/etc/uci-defaults/02_network | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'target/linux/lantiq/base-files/etc') 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 2d5e09d015..a849584fcf 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 @@ -29,7 +29,7 @@ case "$FIRMWARE" in "RT2860.eeprom" ) local board=$(lantiq_board_id) case $board in - ARV7510PW22|ARV7525PW|ARV752DPW|ARV752DPW22) + ARV7510PW22|ARV7519PW|ARV7525PW|ARV752DPW|ARV752DPW22) rt2x00_eeprom_extract "board_config" 1040 512 ;; *) 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 4903eb92d0..329fa2d72e 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -74,6 +74,15 @@ ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22) ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5" ;; +# rtl8306g +ARV7519PW) + 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" "0 1 2 3 4t" + ;; + WBMR) ucidef_set_interface_lan "eth0.1" ucidef_add_switch "switch0" "1" "1" -- cgit v1.2.3