ramips: add support for Asus RT-N10P V3 / RT-N11P B1 / RT-N12 VP B1
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7628an_asus_rt-n10p-v3.dts
diff --git a/target/linux/ramips/dts/mt7628an_asus_rt-n10p-v3.dts b/target/linux/ramips/dts/mt7628an_asus_rt-n10p-v3.dts
new file mode 100644 (file)
index 0000000..eaf5796
--- /dev/null
@@ -0,0 +1,34 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+#include "mt7628an_asus_rt-n1x.dtsi"
+
+/ {
+       compatible = "asus,rt-n10p-v3", "mediatek,mt7628an-soc";
+       model = "Asus RT-N10P V3";
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power: power {
+                       label = "rt-n10p-v3:green:power";
+                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
+               };
+
+               wlan {
+                       label = "rt-n10p-v3:green:wlan";
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
+               };
+
+               wan {
+                       label = "rt-n10p-v3:green:wan";
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
+               };
+
+               lan {
+                       label = "rt-n10p-v3:green:lan";
+                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
+               };
+       };
+};