aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/dts
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-07-04 18:42:20 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-07-04 19:19:52 +0100
commitf58e562b07803192d029a6be8c8c372e1ed11c68 (patch)
treefe25083efd15cc4d5be5e064b01cfe5ee491b40f /target/linux/mediatek/dts
parent1d3b57dbeeae70ab3a8f71d3bdb6fd41a00e1d22 (diff)
downloadupstream-f58e562b07803192d029a6be8c8c372e1ed11c68.tar.gz
upstream-f58e562b07803192d029a6be8c8c372e1ed11c68.tar.bz2
upstream-f58e562b07803192d029a6be8c8c372e1ed11c68.zip
mediatek: mt7622: fix white dome LED of UniFi 6 LR
The recent differentiation between v1 and v2 of the UniFi 6 LR added support for the v2 version which has GPIO-controlled LEDs instead of using an additional microcontroller to drive an RGB led. The polarity of the white LED, however, was inverted and the default states didn't make a lot of sense after all. Fix that. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/dts')
-rw-r--r--target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi4
1 files changed, 1 insertions, 3 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
index 3e9cea7285..4d278805d4 100644
--- a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi
+++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi
@@ -13,13 +13,11 @@
led_white: dome_white {
label = "white:dome";
- linux,default-trigger = "default-on";
- gpios = <&pio 0x43 GPIO_ACTIVE_HIGH>;
+ gpios = <&pio 0x43 GPIO_ACTIVE_LOW>;
};
led_blue: dome_blue {
label = "blue:dome";
- default-state = "off";
gpios = <&pio 0x44 GPIO_ACTIVE_HIGH>;
};
};