mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-24 14:06:15 +00:00
28a211808a
The ar9342 Ubiquiti WA devices appear to only have two different network setups, based on the number of ethernet ports. Create DTSI files for them to consolidate duplicate definitions. Signed-off-by: Nick Hainke <vincent@systemli.org> [rephrase commit message/title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
39 lines
663 B
Plaintext
39 lines
663 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#include "ar9342_ubnt_wa_1port.dtsi"
|
|
|
|
/ {
|
|
compatible = "ubnt,powerbeam-5ac-gen2", "ubnt,wa", "qca,ar9342";
|
|
model = "Ubiquiti PowerBeam 5AC Gen2";
|
|
|
|
aliases {
|
|
led-boot = &led_rssi3;
|
|
led-failsafe = &led_rssi3;
|
|
led-upgrade = &led_rssi3;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
rssi0 {
|
|
label = "blue:rssi0";
|
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
rssi1 {
|
|
label = "blue:rssi1";
|
|
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
rssi2 {
|
|
label = "blue:rssi2";
|
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led_rssi3: rssi3 {
|
|
label = "blue:rssi3";
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|