aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar7241_ubnt_airrouter.dts')
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_airrouter.dts38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts b/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
new file mode 100644
index 0000000000..fbe289f05a
--- /dev/null
+++ b/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "ar7241_ubnt_xm.dtsi"
+
+/ {
+ compatible = "ubnt,airrouter", "qca,ar7241";
+ model = "Ubiquiti AirRouter";
+
+ aliases {
+ led-boot = &globe;
+ led-failsafe = &globe;
+ led-running = &globe;
+ led-upgrade = &globe;
+ };
+
+ airrouter-leds {
+ compatible = "gpio-leds";
+
+ globe: globe {
+ label = "ubnt:green:globe";
+ gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
+ };
+
+ power {
+ label = "ubnt:green:power";
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
+ };
+ };
+};
+
+&usb_phy {
+ status = "okay";
+};
+
+&usb {
+ status = "okay";
+};