From f9b67b89d31dbffd20aedcb33cf10dfe1a206aab Mon Sep 17 00:00:00 2001 From: Anthony Sepa Date: Sun, 19 Feb 2017 14:27:36 -0400 Subject: brcm63xx: add support for the Actiontec R1000H gateway SOC: Broadcom BCM6368 (2 * Broadcom BMIPS4350 V3.1 / 400 MHz) Flash size: 32MB (split 16/16 dual boot) RAM size: 64MB Wireless: BCM432x 802.11a/b/g/n(pci) Ethernet: Broadcom BCM53115 USB: 1 x USB 2.0 Known issues: - Unable to detect 53115 switch attached to MDIO. Not supported - No support for the cable port More info on the device and the research can be found at: http://www.actiontec.com/212.html Same FCC ID as: https://wikidevi.com/wiki/Actiontec_V1000H_(Telus) Signed-off-by: Anthony Sepa [jonas.gorski: fix commit subject/message] Signed-off-by: Jonas Gorski --- target/linux/brcm63xx/base-files/etc/board.d/01_leds | 3 +++ target/linux/brcm63xx/base-files/etc/board.d/02_network | 1 + target/linux/brcm63xx/base-files/etc/diag.sh | 3 +++ target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc | 1 + target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 3 +++ 5 files changed, 11 insertions(+) (limited to 'target/linux/brcm63xx/base-files') 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 61f685e675..7651650d3f 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/01_leds +++ b/target/linux/brcm63xx/base-files/etc/board.d/01_leds @@ -69,6 +69,9 @@ livebox1) ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1" ucidef_set_led_netdev "wlan0" "WIFI" "Livebox1:red:wifi" "wlan0" ;; +r1000h) + ucidef_set_led_usbport "usb" "USB" "R1000H:green:usb" "usb1-port1" "usb2-port1" + ;; r5010un_v2) ucidef_set_led_usbdev "usb" "USB" "R5010UNv2:green:usb" "1-1" ;; 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 f703dfd3f8..6a20fcedde 100755 --- a/target/linux/brcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/brcm63xx/base-files/etc/board.d/02_network @@ -12,6 +12,7 @@ case "$(brcm63xx_board_name)" in cvg834g |\ evg2000 |\ +r1000h |\ rta770bw |\ rta770w |\ spw303v |\ diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index e8e8624cdc..b90b5907aa 100644 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -114,6 +114,9 @@ set_state() { p870hw-51a_v2) status_led="P870HW-51a:green:power" ;; + r1000h) + status_led="R1000H:green:power" + ;; r5010un_v2) status_led="R5010UNv2:green:power" ;; 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 650db9da60..57bf6e2a46 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 @@ -25,6 +25,7 @@ case "$(brcm63xx_board_name)" in hg622 |\ magic |\ p870hw-51a_v2 |\ + r1000h |\ r5010un_v2 |\ rta770bw |\ rta770w |\ diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 4fe33eb41a..0dc87d0fd0 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -21,6 +21,9 @@ brcm63xx_dt_detect() { "ADB P.DG AV4202N") board_name="av4202n" ;; + "Actiontec R1000H") + board_name="r1000h" + ;; "Alcatel RG100A") board_name="rg100a" ;; -- cgit v1.2.3