aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WMR-300.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WMR-300.dts')
-rw-r--r--target/linux/ramips/dts/WMR-300.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/WMR-300.dts b/target/linux/ramips/dts/WMR-300.dts
index 63354dafbe..7f58167a51 100644
--- a/target/linux/ramips/dts/WMR-300.dts
+++ b/target/linux/ramips/dts/WMR-300.dts
@@ -9,6 +9,10 @@
compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
model = "Buffalo WMR-300";
+ aliases {
+ led-status = &led_status;
+ };
+
gpio-leds {
compatible = "gpio-leds";
@@ -22,7 +26,7 @@
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
- power {
+ led_status: status {
label = "wmr-300:green:status";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};