aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/HG255D.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/HG255D.dts')
-rw-r--r--target/linux/ramips/dts/HG255D.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts
index bed5977ac1..8b1be61645 100644
--- a/target/linux/ramips/dts/HG255D.dts
+++ b/target/linux/ramips/dts/HG255D.dts
@@ -9,6 +9,10 @@
compatible = "huawei,hg255d", "ralink,rt3052-soc";
model = "HuaWei HG255D";
+ aliases {
+ led-status = &led_power;
+ };
+
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x1000000>;
@@ -50,7 +54,7 @@
gpio-leds {
compatible = "gpio-leds";
- power {
+ led_power: power {
label = "hg255d:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};