aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohann Neuhauser <johann@it-neuhauser.de>2018-08-13 15:11:15 +0200
committerMathias Kresin <dev@kresin.me>2018-08-14 10:19:37 +0200
commit18f738d3c4a9f927c423dd738b352fbf899f1b09 (patch)
treefb6d1c6fb1984ba916bb1104a871949923bada8b /target
parentcc35c91f56339a46138de84b680e33f0c633acb7 (diff)
downloadupstream-18f738d3c4a9f927c423dd738b352fbf899f1b09.tar.gz
upstream-18f738d3c4a9f927c423dd738b352fbf899f1b09.tar.bz2
upstream-18f738d3c4a9f927c423dd738b352fbf899f1b09.zip
ath79: move TP-Link WR841v9 aliases node from dtsi to dts
Move the alias node of the TP-Link WR841v9 and rename the phandle of the qss led to qss_led in preparation for adding the very similar TP-Link WR841v11. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts4
-rw-r--r--target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi6
2 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts
index c4f4fddde4..c2c9a9d700 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts
@@ -9,4 +9,8 @@
/ {
compatible = "tplink,tl-wr841-v9", "qca,qca9533";
model = "TP-Link TL-WR841N/ND Version 9";
+
+ aliases {
+ led-status = &qss_led;
+ };
};
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
index 7fe17166d3..4a913a9d76 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
@@ -11,10 +11,6 @@
bootargs = "console=ttyS0,115200n8";
};
- aliases {
- led-status = &system;
- };
-
leds {
compatible = "gpio-leds";
@@ -25,7 +21,7 @@
linux,default-trigger = "phy0tpt";
};
- system: wifi_qss {
+ qss_led: qss {
label = "tp-link:green:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
default-state = "off";