mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
0b5cf952cf
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>
29 lines
395 B
Plaintext
29 lines
395 B
Plaintext
#include "mt7622-ubnt-unifi-6-lr.dtsi"
|
|
|
|
&i2c0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c0_pins>;
|
|
status = "okay";
|
|
|
|
led-controller@30 {
|
|
compatible = "ubnt,ledbar";
|
|
reg = <0x30>;
|
|
|
|
enable-gpio = <&pio 59 GPIO_ACTIVE_LOW>;
|
|
reset-gpio = <&pio 60 GPIO_ACTIVE_LOW>;
|
|
|
|
red {
|
|
label = "red";
|
|
};
|
|
|
|
green {
|
|
label = "green";
|
|
};
|
|
|
|
led_blue: blue {
|
|
label = "blue";
|
|
};
|
|
};
|
|
};
|
|
|