From 4ff019722cf9663c3f2645927041b0a248ff1d0b Mon Sep 17 00:00:00 2001 From: Rocco Folino Date: Mon, 2 Jul 2018 07:02:56 +0200 Subject: ath79: port TP-Link TL-WR741ND v4 and TL-WR740ND v4 This patch ports the TP-Link TL-WR741ND v4 and TL-WR740ND v4 to the ath79 target. Because the two devices share the same hw layout, this patch adds a common .dtsi which is included by the two .dts. Signed-off-by: Rocco Folino --- target/linux/ath79/base-files/etc/board.d/01_leds | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ath79/base-files/etc/board.d/01_leds') diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index 29416ad83e..3edffaff74 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -45,6 +45,14 @@ case "$board" in ucidef_set_led_switch "lan3" "LAN3" "$boardname:green:lan3" "switch0" "0x08" ucidef_set_led_switch "lan4" "LAN4" "$boardname:green:lan4" "switch0" "0x10" ;; +"tplink,tl-wr741nd-v4"|\ +"tplink,tl-wr740nd-v4") + ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04" + ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08" + ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10" + ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02" + ;; esac board_config_flush -- cgit v1.2.3