ath79: move TP-Link WR841v9 aliases node from dtsi to dts
authorJohann Neuhauser <johann@it-neuhauser.de>
Mon, 13 Aug 2018 13:11:15 +0000 (15:11 +0200)
committerMathias Kresin <dev@kresin.me>
Tue, 14 Aug 2018 08:19:37 +0000 (10:19 +0200)
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>
target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts
target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi

index c4f4fddde4579771aaa0900bd32e23ad67192be4..c2c9a9d70038296bc009b3d2f5a7a6cbb5ffbd05 100644 (file)
@@ -9,4 +9,8 @@
 / {
        compatible = "tplink,tl-wr841-v9", "qca,qca9533";
        model = "TP-Link TL-WR841N/ND Version 9";
+
+       aliases {
+               led-status = &qss_led;
+       };
 };
index 7fe17166d341053553575110b48d3d4d20b631d8..4a913a9d769c990c3d085358179b31776a14fc48 100644 (file)
                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";