aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WRTNODE2P.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WRTNODE2P.dts')
-rw-r--r--target/linux/ramips/dts/WRTNODE2P.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/WRTNODE2P.dts b/target/linux/ramips/dts/WRTNODE2P.dts
index 53619138b1..d3f8fe7e32 100644
--- a/target/linux/ramips/dts/WRTNODE2P.dts
+++ b/target/linux/ramips/dts/WRTNODE2P.dts
@@ -6,10 +6,14 @@
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
model = "WRTnode2P";
+ aliases {
+ led-status = &led_indicator;
+ };
+
gpio-leds {
compatible = "gpio-leds";
- indicator {
+ led_indicator: indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};