mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
8f0d8869d5
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>
(cherry picked from commit 15a02471bb
)
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";
|
|
};
|
|
};
|
|
};
|
|
|