diff options
author | Jonas Gorski <jogo@openwrt.org> | 2016-01-18 10:47:23 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2016-01-18 10:47:23 +0000 |
commit | 957824bafcce65213461c9b8ba9fed36bfdbda45 (patch) | |
tree | 2ecd139cec5f7c4df7874c2eaf9c2220808bc9bf /target/linux/brcm63xx/base-files | |
parent | b1761b50a75a9e6d2f53b3029cfb33c0b203e02b (diff) | |
download | master-187ad058-957824bafcce65213461c9b8ba9fed36bfdbda45.tar.gz master-187ad058-957824bafcce65213461c9b8ba9fed36bfdbda45.tar.bz2 master-187ad058-957824bafcce65213461c9b8ba9fed36bfdbda45.zip |
brcm63xx: add support for Huawei HG622
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48305 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files')
6 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/board.d/01_leds b/target/linux/brcm63xx/base-files/etc/board.d/01_leds index 2697a56e8e..8339254b75 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/01_leds +++ b/target/linux/brcm63xx/base-files/etc/board.d/01_leds @@ -39,6 +39,9 @@ hg556a_*) ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0" ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2" ;; +hg622) + ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-2" + ;; hg655b) ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2" ;; diff --git a/target/linux/brcm63xx/base-files/etc/board.d/02_network b/target/linux/brcm63xx/base-files/etc/board.d/02_network index c01aba81b8..f96da088f2 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network @@ -86,6 +86,7 @@ dsl-274xb-f |\ dsl-275xb-d |\ fast2504n |\ fast2704v2 |\ +hg622 |\ hg655b |\ p870hw-51a_v2 |\ r5010un_v2 |\ diff --git a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 434748537e..21c510f17b 100644 --- a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -34,6 +34,7 @@ case "$FIRMWARE" in hg556a_c) rt2x00_eeprom_extract "cal_data" 130560 512 ;; + hg622 |\ hg655b) rt2x00_eeprom_extract "cal_data" 0 512 ;; diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc index bc9ae213c9..70dbe2a837 100644 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc @@ -21,6 +21,7 @@ case "$(brcm63xx_board_name)" in cpva642 |\ ct-6373 |\ dsl-274xb-f |\ + hg622 |\ magic |\ p870hw-51a_v2 |\ r5010un_v2 |\ diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 7dc57fdd73..a2d6519aa2 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -159,6 +159,9 @@ brcm63xx_dt_detect() { "Huawei EchoLife HG556a (version C)") board_name="hg556a_c" ;; + "Huawei HG622") + board_name="hg622" + ;; "Huawei HG655b") board_name="hg655b" ;; diff --git a/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx b/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx index abf5b89c57..7e4dfcb2e0 100644 --- a/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx +++ b/target/linux/brcm63xx/base-files/lib/preinit/05_init_interfaces_brcm63xx @@ -23,6 +23,7 @@ set_preinit_iface() { hg553 |\ hg556a_* |\ hg520 |\ + hg622 |\ neufbox6 |\ p870hw-51a_v2 |\ rta770bw |\ |