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>
This commit is contained in:
committed by
Mathias Kresin
parent
cc35c91f56
commit
18f738d3c4
@@ -9,4 +9,8 @@
|
|||||||
/ {
|
/ {
|
||||||
compatible = "tplink,tl-wr841-v9", "qca,qca9533";
|
compatible = "tplink,tl-wr841-v9", "qca,qca9533";
|
||||||
model = "TP-Link TL-WR841N/ND Version 9";
|
model = "TP-Link TL-WR841N/ND Version 9";
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
led-status = &qss_led;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -11,10 +11,6 @@
|
|||||||
bootargs = "console=ttyS0,115200n8";
|
bootargs = "console=ttyS0,115200n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases {
|
|
||||||
led-status = &system;
|
|
||||||
};
|
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
@@ -25,7 +21,7 @@
|
|||||||
linux,default-trigger = "phy0tpt";
|
linux,default-trigger = "phy0tpt";
|
||||||
};
|
};
|
||||||
|
|
||||||
system: wifi_qss {
|
qss_led: qss {
|
||||||
label = "tp-link:green:qss";
|
label = "tp-link:green:qss";
|
||||||
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
|
|||||||
Reference in New Issue
Block a user