aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/base-files/etc
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-20 18:00:23 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-21 19:11:24 +0200
commit78a0ae90234fbd04f4616f223b30d05dc54e5065 (patch)
treeeb5c63e980ef66bcd165edeb1199767ba5c11241 /target/linux/bcm63xx/base-files/etc
parent5998c8f059dbd64c5391e4caec2c07d434ffe146 (diff)
downloadupstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.tar.gz
upstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.tar.bz2
upstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.zip
bcm63xx: WIP: add Huawei HG253s v2 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/base-files/etc')
-rwxr-xr-xtarget/linux/bcm63xx/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/bcm63xx/base-files/etc/board.d/02_network4
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/base-files/etc/board.d/01_leds b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
index 3b041be721..bfddcb69c4 100755
--- a/target/linux/bcm63xx/base-files/etc/board.d/01_leds
+++ b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
@@ -50,6 +50,9 @@ huawei,echolife-hg622)
huawei,echolife-hg655b)
ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2"
;;
+huawei,hg253s-v2)
+ ucidef_set_led_usbdev "usb" "USB" "hg253s-v2:green:usb" "1-1"
+ ;;
inventel,livebox-1)
ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0"
ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1"
diff --git a/target/linux/bcm63xx/base-files/etc/board.d/02_network b/target/linux/bcm63xx/base-files/etc/board.d/02_network
index 14eb1091f5..a3788adac2 100755
--- a/target/linux/bcm63xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm63xx/base-files/etc/board.d/02_network
@@ -120,6 +120,10 @@ sfr,neufbox-4-sercomm-r0)
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth1"
;;
+huawei,hg253s-v2)
+ ucidef_add_switch "switch0" \
+ "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8t@eth0"
+ ;;
inteno,vg50)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8t@eth0"