ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9533_mikrotik_routerboard-wapr-2nd.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "qca9533_mikrotik_routerboard-16m.dtsi"
6
7 / {
8 compatible = "mikrotik,routerboard-wapr-2nd", "qca,qca9533";
9 model = "MikroTik RouterBOARD wAPR-2nD (wAP R)";
10
11 aliases {
12 led-boot = &led_rssilow;
13 led-failsafe = &led_rssilow;
14 led-upgrade = &led_rssilow;
15 led-running = &led_rssilow;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
21
22 led_rssilow: rssilow {
23 label = "green:rssilow";
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
25 };
26
27 rssimedium {
28 label = "green:rssimedium";
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
30 };
31
32 rssihigh {
33 label = "green:rssihigh";
34 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
35 };
36
37 wlan {
38 function = LED_FUNCTION_WLAN;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
41 linux,default-trigger = "phy0tpt";
42 };
43 };
44
45 gpio-export {
46 compatible = "gpio-export";
47
48 minipcie {
49 gpio-export,name = "minipcie";
50 gpio-export,output = <1>;
51 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
52 };
53 };
54 };
55
56 &wmac {
57 status = "okay";
58
59 qca,no-eeprom;
60 };
61
62 &eth0 {
63 status = "okay";
64
65 phy-handle = <&swphy0>;
66
67 gmac-config {
68 device = <&gmac>;
69 switch-phy-swap = <1>;
70 };
71 };
72
73 &eth1 {
74 compatible = "syscon", "simple-mfd";
75 };
76
77 &pcie0 {
78 status = "okay";
79 };
80
81 &usb0 {
82 status = "okay";
83 };
84
85 &usb_phy {
86 status = "okay";
87 };