diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2022-05-31 19:18:06 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-07-04 19:57:54 +0100 |
commit | 8f0d8869d536f1a9c1dce25f37753900d253df3c (patch) | |
tree | f833ff8b1c4f4a3577c24f45184fb906cdba05f0 /target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi | |
parent | 1d96f6863e335956838e1002241a018affdaa287 (diff) | |
download | upstream-8f0d8869d536f1a9c1dce25f37753900d253df3c.tar.gz upstream-8f0d8869d536f1a9c1dce25f37753900d253df3c.tar.bz2 upstream-8f0d8869d536f1a9c1dce25f37753900d253df3c.zip |
mediatek: new target mt7622-ubnt-unifi-6-lr-v1
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 15a02471bb854245f8f94398c1e1d9ce29c2c341)
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 | 27 |
1 files changed, 27 insertions, 0 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 new file mode 100644 index 0000000000..8f15d3f110 --- /dev/null +++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dtsi @@ -0,0 +1,27 @@ +#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"; + }; + }; +}; + |