1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qca9533_mikrotik_routerboard-16m.dtsi"
8 compatible = "mikrotik,routerboard-wapr-2nd", "qca,qca9533";
9 model = "MikroTik RouterBOARD wAPR-2nD (wAP R)";
12 led-boot = &led_rssilow;
13 led-failsafe = &led_rssilow;
14 led-upgrade = &led_rssilow;
15 led-running = &led_rssilow;
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
22 led_rssilow: rssilow {
23 label = "green:rssilow";
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
28 label = "green:rssimedium";
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
33 label = "green:rssihigh";
34 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
38 function = LED_FUNCTION_WLAN;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
41 linux,default-trigger = "phy0tpt";
46 compatible = "gpio-export";
49 gpio-export,name = "minipcie";
50 gpio-export,output = <1>;
51 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
65 phy-handle = <&swphy0>;
69 switch-phy-swap = <1>;
74 compatible = "syscon", "simple-mfd";