mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
15a02471bb
Based on current mt7622-ubnt-unifi-6-lr, this is a preparation for adding a v2 version of this target * v1 - with led-bar * v2 - two simple GPIO connected LEDs (in later commits) Signed-off-by: Daniel Golle <daniel@makrotopia.org> [added SUPPORTED_DEVICES for compatibility with existing setups] Signed-off-by: Henrik Riomar <henrik.riomar@gmail.com>
28 lines
339 B
Plaintext
28 lines
339 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 0>;
|
|
|
|
red {
|
|
label = "red";
|
|
};
|
|
|
|
green {
|
|
label = "green";
|
|
};
|
|
|
|
led_blue: blue {
|
|
label = "blue";
|
|
};
|
|
};
|
|
};
|
|
|