aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DIR-620-D1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DIR-620-D1.dts')
-rw-r--r--target/linux/ramips/dts/DIR-620-D1.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/DIR-620-D1.dts b/target/linux/ramips/dts/DIR-620-D1.dts
index 2def8aae4a..a5fe357730 100644
--- a/target/linux/ramips/dts/DIR-620-D1.dts
+++ b/target/linux/ramips/dts/DIR-620-D1.dts
@@ -9,10 +9,14 @@
compatible = "dlink,dir-620-d1", "ralink,rt3352-soc";
model = "D-Link DIR-620 D1";
+ aliases {
+ led-status = &led_status;
+ };
+
gpio-leds {
compatible = "gpio-leds";
- status {
+ led_status: status {
label = "dir-620-d1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};