aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/W2914NSV2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/W2914NSV2.dts')
-rw-r--r--target/linux/ramips/dts/W2914NSV2.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/W2914NSV2.dts b/target/linux/ramips/dts/W2914NSV2.dts
index 37afffd475..ac26dbe75d 100644
--- a/target/linux/ramips/dts/W2914NSV2.dts
+++ b/target/linux/ramips/dts/W2914NSV2.dts
@@ -9,4 +9,18 @@
device_type = "memory";
reg = <0x0 0x8000000>;
};
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ // Only USB LED is connected to GPIO.
+ // All of other LEDs are connected directly to
+ // switch, WiFi chip, Vcc, so they are not controllable
+ // via GPIO
+
+ usb {
+ label = "w2914nsv2:green:usb";
+ gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
+ };
+ };
};