diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2016-06-20 18:47:38 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-22 19:32:06 +0200 |
commit | 9759fde40a3c50095097443ed261b5dd33f8b393 (patch) | |
tree | fffed93ac1f712f471e2a2fa5f6e4895147c899a /target/linux/lantiq/base-files/etc/board.d | |
parent | b67066b8fa1202074b3a2dd2cfd94a9aa5947e4a (diff) | |
download | upstream-9759fde40a3c50095097443ed261b5dd33f8b393.tar.gz upstream-9759fde40a3c50095097443ed261b5dd33f8b393.tar.bz2 upstream-9759fde40a3c50095097443ed261b5dd33f8b393.zip |
lantiq: add support for ARV7506PW11 (Alice/O2 IAD 4421)
Ethernet, ADSL2+ and LEDs are fully functional.
Supporting the two TAE ports and SIP gateway was not attempted.
The WiFi is unreliable, due to experimental support for rt35xx family
devices by the rt2800pci driver.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
[rebase to LEDE HEAD]
[switch to normal image instead of brnboot image]
[remove not required pinmux child nodes keys, leds, ebu, exin, pci_in and pci_out]
[remove switch_rst pinmux child node (no support for hw reset in driver/setting a default GPIO value in DT]
[enable usage of the wireless LED]
[fixup mac address configuration]
Sgned-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/board.d')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/02_network | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/01_leds b/target/linux/lantiq/base-files/etc/board.d/01_leds index 4cca17f280..c9d9a7794c 100755 --- a/target/linux/lantiq/base-files/etc/board.d/01_leds +++ b/target/linux/lantiq/base-files/etc/board.d/01_leds @@ -27,6 +27,9 @@ board_config_update board=$(lantiq_board_name) case "$board" in +ARV7506PW11) + ucidef_set_led_wlan "wifi" "wifi" "arv7506pw11:green:wlan" "phy0radio" + ;; BTHOMEHUBV5A) ucidef_set_led_default "dimmed" "dimmed" "dimmed" "0" ;; diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index 6d9f8fdeee..c271e62f73 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -46,6 +46,14 @@ ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22|ARV8539PW22) ;; # rtl8306g +ARV7506PW11) + lan_mac=$(mtd_get_mac_binary board_config 22) + wan_mac=$(macaddr_add "$lan_mac" 2) + ucidef_add_switch "switch0" \ + "4:lan:1" "3:lan:2" "2:lan:3" "1:lan:4" "5t@eth0" + ;; + +# rtl8306g ARV7519PW) lan_mac=$(mtd_get_mac_binary board_config 22) wan_mac=$(macaddr_add "$lan_mac" 1) |