diff options
author | Russell Senior <russell@personaltelco.net> | 2020-03-10 18:06:02 -0700 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-18 13:45:57 +0100 |
commit | 572278d3a0390f1ad37eefab7fe86af5050d4199 (patch) | |
tree | fb8111779942997c3dc962407a811bdc1a85aac0 /target/linux/ath79/dts/ar724x_ubnt_xm_outdoor.dtsi | |
parent | dabe8471fc4ccc9297aa88148cdf527a4fca3576 (diff) | |
download | upstream-572278d3a0390f1ad37eefab7fe86af5050d4199.tar.gz upstream-572278d3a0390f1ad37eefab7fe86af5050d4199.tar.bz2 upstream-572278d3a0390f1ad37eefab7fe86af5050d4199.zip |
ath79: generalize ubnt_xm dtsi for ar7240 and ar7241
* Prepare to support the AR7240 variant of ubiquiti bullet m, by
reorganizing the related dtsi files.
* Distribute SOC variable across ubnt-xm devices.
Signed-off-by: Russell Senior <russell@personaltelco.net>
Diffstat (limited to 'target/linux/ath79/dts/ar724x_ubnt_xm_outdoor.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar724x_ubnt_xm_outdoor.dtsi | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar724x_ubnt_xm_outdoor.dtsi b/target/linux/ath79/dts/ar724x_ubnt_xm_outdoor.dtsi new file mode 100644 index 0000000000..a28f8fbcd4 --- /dev/null +++ b/target/linux/ath79/dts/ar724x_ubnt_xm_outdoor.dtsi @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +/ { + aliases { + led-boot = &led_link4; + led-failsafe = &led_link4; + label-mac-device = &wifi; + }; + + leds { + compatible = "gpio-leds"; + + link1 { + label = "ubnt:red:link1"; + gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; + }; + + link2 { + label = "ubnt:orange:link2"; + gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + }; + + link3 { + label = "ubnt:green:link3"; + gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; + }; + + led_link4: link4 { + label = "ubnt:green:link4"; + gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; + }; + }; +}; |