1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar9342_ubnt_xw.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "ubnt,litebeam-m5-xw", "qca,ar9342";
11 model = "Ubiquiti LiteBeam M5 (XW)";
14 led-boot = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
17 led-failsafe = &led_status;
18 label-mac-device = &wmac;
22 compatible = "gpio-leds";
25 color = <LED_COLOR_ID_GREEN>;
26 function = LED_FUNCTION_LAN;
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
31 color = <LED_COLOR_ID_GREEN>;
32 function = LED_FUNCTION_WLAN;
33 linux,default-trigger = "phy0tpt";
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
37 led_status: led-power {
38 color = <LED_COLOR_ID_GREEN>;
39 function = LED_FUNCTION_POWER;
40 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
48 phy1: ethernet-phy@1 {
51 reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;