mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
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>
This commit is contained in:
parent
1d3b57dbee
commit
f58e562b07
@ -13,13 +13,11 @@
|
|||||||
|
|
||||||
led_white: dome_white {
|
led_white: dome_white {
|
||||||
label = "white:dome";
|
label = "white:dome";
|
||||||
linux,default-trigger = "default-on";
|
gpios = <&pio 0x43 GPIO_ACTIVE_LOW>;
|
||||||
gpios = <&pio 0x43 GPIO_ACTIVE_HIGH>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
led_blue: dome_blue {
|
led_blue: dome_blue {
|
||||||
label = "blue:dome";
|
label = "blue:dome";
|
||||||
default-state = "off";
|
|
||||||
gpios = <&pio 0x44 GPIO_ACTIVE_HIGH>;
|
gpios = <&pio 0x44 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user