aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DCH-M225.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DCH-M225.dts')
-rw-r--r--target/linux/ramips/dts/DCH-M225.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/DCH-M225.dts b/target/linux/ramips/dts/DCH-M225.dts
index 1aea90805c..41876093fa 100644
--- a/target/linux/ramips/dts/DCH-M225.dts
+++ b/target/linux/ramips/dts/DCH-M225.dts
@@ -9,6 +9,10 @@
compatible = "dlink,dch-m225", "ralink,mt7620a-soc";
model = "D-Link DCH-M225";
+ aliases {
+ led-status = &led_power;
+ };
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -31,7 +35,7 @@
gpio-leds {
compatible = "gpio-leds";
- power {
+ led_power: power {
label = "dch-m225:green:power";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};