diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-09-11 20:24:05 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-09-11 20:26:42 +0100 |
commit | 0b5cf952cf5b70d3af2424d05b15ce2730a3dc11 (patch) | |
tree | 233aeb3ac0db013e24b0cd4666997e1776a9467b /target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi | |
parent | 820f0c07c544652c1c53a45262a481ac5dbe139b (diff) | |
download | upstream-0b5cf952cf5b70d3af2424d05b15ce2730a3dc11.tar.gz upstream-0b5cf952cf5b70d3af2424d05b15ce2730a3dc11.tar.bz2 upstream-0b5cf952cf5b70d3af2424d05b15ce2730a3dc11.zip |
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>
Diffstat (limited to 'target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi')
-rw-r--r-- | target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi index 8f15d3f110..b3299a988f 100644 --- a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi +++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi @@ -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"; |