mediatek: fix ledbar of UniFi 6 LR when running custom U-Boot

The RGB LED of the UniFi 6 LR v1 doesn't work when using the Openwrt-
built U-Boot. This is because the vendor loader resets the ledbar
controller while our U-Boot doesn't care.
Add reset-gpio so the ledbar driver in Linux will always reset the
ledbar controller.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 0b5cf952cf)
This commit is contained in:
Daniel Golle 2022-09-11 20:24:05 +01:00
parent f54d4ea0bb
commit 7a26f40217
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@
compatible = "ubnt,ledbar";
reg = <0x30>;
enable-gpio = <&pio 59 0>;
enable-gpio = <&pio 59 GPIO_ACTIVE_LOW>;
reset-gpio = <&pio 60 GPIO_ACTIVE_LOW>;
red {
label = "red";