aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-07 11:16:56 +0300
committerMathias Kresin <dev@kresin.me>2018-06-16 10:08:51 +0200
commitf7a220b2f62724bccb76abe622281808e3f6f061 (patch)
treefdb54429a11eecd390dae9c0dbde41b321009840 /target/linux
parentab5b359876e8ee68500e104606d291e119116c6a (diff)
downloadupstream-f7a220b2f62724bccb76abe622281808e3f6f061.tar.gz
upstream-f7a220b2f62724bccb76abe622281808e3f6f061.tar.bz2
upstream-f7a220b2f62724bccb76abe622281808e3f6f061.zip
ath79: fix usb led on wr-1043nd-v1
usb port was not triggered correctly also remove uneded wifi led trigger from the script Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds4
-rw-r--r--target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts7
2 files changed, 1 insertions, 10 deletions
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 0ba03b25a0..4a8b82786e 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -37,10 +37,6 @@ 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-wr1043nd-v1")
- ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
- ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
- ;;
esac
board_config_flush
diff --git a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
index a7d47dc868..8d4cc7f4a6 100644
--- a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
+++ b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
@@ -104,14 +104,9 @@
&usb {
status = "okay";
- port@1 {
+ hub_port: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
-
- hub_port: port@1 {
- reg = <1>;
- #trigger-source-cells = <0>;
- };
};
};