aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/11ACNAS.dts14
-rw-r--r--target/linux/ramips/dts/W2914NSV2.dts14
-rw-r--r--target/linux/ramips/dts/W2914NSV2.dtsi14
3 files changed, 28 insertions, 14 deletions
diff --git a/target/linux/ramips/dts/11ACNAS.dts b/target/linux/ramips/dts/11ACNAS.dts
index 55678f532b..8be9869db9 100644
--- a/target/linux/ramips/dts/11ACNAS.dts
+++ b/target/linux/ramips/dts/11ACNAS.dts
@@ -9,4 +9,18 @@
device_type = "memory";
reg = <0x0 0x10000000>;
};
+
+ 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 = "11acnas:green:usb";
+ gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
+ };
+ };
};
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>;
+ };
+ };
};
diff --git a/target/linux/ramips/dts/W2914NSV2.dtsi b/target/linux/ramips/dts/W2914NSV2.dtsi
index e80b1877d4..7b11a0f6a2 100644
--- a/target/linux/ramips/dts/W2914NSV2.dtsi
+++ b/target/linux/ramips/dts/W2914NSV2.dtsi
@@ -26,20 +26,6 @@
linux,code = <KEY_WPS_BUTTON>;
};
};
-
- 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>;
- };
- };
};
&xhci {