aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2022-05-31 19:52:24 +0200
committerDaniel Golle <daniel@makrotopia.org>2022-07-04 19:58:04 +0100
commitd302839b65083187043aae712795cd884eeea262 (patch)
tree821f1c70930b97b16d798306081d60d1dae7498b /target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi
parentd815e1f67c9f5cf8f36212ea475c9c9020f60a6d (diff)
downloadupstream-d302839b65083187043aae712795cd884eeea262.tar.gz
upstream-d302839b65083187043aae712795cd884eeea262.tar.bz2
upstream-d302839b65083187043aae712795cd884eeea262.zip
mediatek: add Ubiquiti UniFi 6 LR v2 targets
Add targets: * Ubiquiti UniFi 6 LR v2 * Ubiquiti UniFi 6 LR v2 (U-Boot mod) This target does not have a RGB led bar like v1 did Used target/linux/ramips/dts/mt7621_ubnt_unifi.dtsi as inspiration The white dome LED is default-on, blue will turn on when the system is in running state Signed-off-by: Henrik Riomar <henrik.riomar@gmail.com> (cherry picked from commit 31d86a1a119265393db02aa66e6bc6518ee7b905)
Diffstat (limited to 'target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi')
-rw-r--r--target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi
new file mode 100644
index 0000000000..3e9cea7285
--- /dev/null
+++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi
@@ -0,0 +1,26 @@
+#include "mt7622-ubnt-unifi-6-lr.dtsi"
+
+/ {
+ aliases {
+ led-boot = &led_white;
+ led-failsafe = &led_white;
+ led-running = &led_blue;
+ led-upgrade = &led_blue;
+ };
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ led_white: dome_white {
+ label = "white:dome";
+ linux,default-trigger = "default-on";
+ gpios = <&pio 0x43 GPIO_ACTIVE_HIGH>;
+ };
+
+ led_blue: dome_blue {
+ label = "blue:dome";
+ default-state = "off";
+ gpios = <&pio 0x44 GPIO_ACTIVE_HIGH>;
+ };
+ };
+};