aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_edimax_ra21s.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_edimax_ra21s.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_edimax_ra21s.dts40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_edimax_ra21s.dts b/target/linux/ramips/dts/mt7621_edimax_ra21s.dts
new file mode 100644
index 0000000000..ad0eee0d18
--- /dev/null
+++ b/target/linux/ramips/dts/mt7621_edimax_ra21s.dts
@@ -0,0 +1,40 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "mt7621_edimax_rx21s.dtsi"
+
+/ {
+ compatible = "edimax,ra21s", "mediatek,mt7621-soc";
+ model = "Edimax RA21S";
+
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: led_1 {
+ label = "ra21s:red:led1";
+ gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+ };
+
+ led_2 {
+ label = "ra21s:red:led2";
+ gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+ };
+
+ led_3 {
+ label = "ra21s:red:led3";
+ gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
+ };
+
+ led_4 {
+ label = "ra21s:red:led4";
+ gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
+ };
+ };
+};