From c00b8dcf72b5df6137e2726cf40645abe188d57a Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Sat, 4 Jul 2020 09:09:08 +1000 Subject: ath79: add support for Telco T1 Description: 2x 100Mbps Etherent ports 24V passive PoE 64MB RAM 16MB Flash 2.4GHz WiFi 1x WiFi antenna (RP-SMA connector) 1x LTE antenna (SMA connector) Sierra Wireless MC7430 LTE modem Flash instructions: Original firmware is based on OpenWrt. Flash using sysupgrade -n SUPPORTED_DEVICES is added to support factory firmware. Signed-off-by: Nicholas Smith [add missing led_rssi0 DT label, add SUPPORTED_DEVICES] Signed-off-by: Adrian Schmutzler --- target/linux/ath79/generic/base-files/etc/board.d/01_leds | 3 ++- target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'target/linux/ath79/generic') diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds index 1dff5acc38..4f1b76a65a 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds @@ -106,7 +106,8 @@ comfast,cf-e560ac) ucidef_set_led_switch "lan3" "LAN3" "$boardname:blue:lan3" "switch0" "0x08" ucidef_set_led_switch "lan4" "LAN4" "$boardname:blue:lan4" "switch0" "0x10" ;; -comfast,cf-ew72) +comfast,cf-ew72|\ +telco,t1) ucidef_set_led_switch "lan" "LAN" "$boardname:blue:lan" "switch0" "0x02" ucidef_set_led_netdev "wan" "WAN" "$boardname:blue:wan" "eth1" ;; diff --git a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches index cc1b8ff412..cf30bb405a 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches +++ b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches @@ -25,7 +25,8 @@ adtran,bsap1840) ucidef_add_gpio_switch "wifi0_ext_c" "2.4GHz External Antenna C" "509" "1" ucidef_add_gpio_switch "wifi0_int_c" "2.4GHz Internal Antenna C" "510" ;; -comfast,cf-e5) +comfast,cf-e5|\ +telco,t1) ucidef_add_gpio_switch "lte_power" "LTE Power" "14" "1" ucidef_add_gpio_switch "lte_wakeup" "LTE Wakeup" "11" "1" ucidef_add_gpio_switch "lte_poweroff" "LTE Poweroff" "1" "1" -- cgit v1.2.3