aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid SantamarĂ­a Rogado <howl.nsp@gmail.com>2019-02-28 22:08:48 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-03-02 12:59:48 +0100
commit6c558bae648ea8bca8fc8fcbee760a0cdc9ca9c9 (patch)
tree515e4c0e959384d6270142e1acf3a2d827a405a5 /target
parentcb911a05b0c937c490176d7f20a9ddbb96f72a50 (diff)
downloadupstream-6c558bae648ea8bca8fc8fcbee760a0cdc9ca9c9.tar.gz
upstream-6c558bae648ea8bca8fc8fcbee760a0cdc9ca9c9.tar.bz2
upstream-6c558bae648ea8bca8fc8fcbee760a0cdc9ca9c9.zip
ath79: TP-Link Archer C7 v4 swap usb led names
Commit 34b10b46 made usb match with the corresponding usb label. The problem is that v4 seems to use in stock firmware the upper led for usb 1 and the lower led for usb 2. The led assigned varies between TP-Link models and even same model versions. For example, Archer C7 v1 and v2 have the leds in the reverse order. Revert 34b10b46 and swap led labels instead, now usb port and led label match and also respect the original behavior. Tested-by: Oldrich Jedlicka <oldium.pro@gmail.com> Signed-off-by: David SantamarĂ­a Rogado <howl.nsp@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
index 94411f2116..db8869cf16 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
@@ -68,14 +68,14 @@
usb1 {
label = "tp-link:green:usb1";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
usb2 {
label = "tp-link:green:usb2";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};