aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/ArcherC50.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/ArcherC50.dts')
-rw-r--r--target/linux/ramips/dts/ArcherC50.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts
index 88bd3272d7..1e197fcfd7 100644
--- a/target/linux/ramips/dts/ArcherC50.dts
+++ b/target/linux/ramips/dts/ArcherC50.dts
@@ -9,6 +9,10 @@
compatible = "tplink,c50", "ralink,mt7620a-soc";
model = "TP-Link Archer C50";
+ aliases {
+ led-status = &led_power;
+ };
+
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -21,7 +25,7 @@
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
- power {
+ led_power: power {
label = "c50:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";