ucode: update to Git HEAD (2024-05-09)
[openwrt/openwrt.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 "qca9533_mikrotik_routerboard-16m.dtsi"
4
5 / {
6 compatible = "mikrotik,routerboard-wapr-2nd", "qca,qca9533";
7 model = "MikroTik RouterBOARD wAPR-2nD (wAP R)";
8
9 aliases {
10 led-boot = &led_rssilow;
11 led-failsafe = &led_rssilow;
12 led-upgrade = &led_rssilow;
13 led-running = &led_rssilow;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19
20 led_rssilow: rssilow {
21 label = "green:rssilow";
22 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
23 };
24
25 rssimedium {
26 label = "green:rssimedium";
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
28 };
29
30 rssihigh {
31 label = "green:rssihigh";
32 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
33 };
34
35 wlan {
36 label = "green:wlan";
37 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "phy0tpt";
39 };
40 };
41
42 gpio-export {
43 compatible = "gpio-export";
44
45 minipcie {
46 gpio-export,name = "minipcie";
47 gpio-export,output = <1>;
48 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
49 };
50 };
51 };
52
53 &eth0 {
54 status = "okay";
55
56 phy-handle = <&swphy0>;
57
58 gmac-config {
59 device = <&gmac>;
60 switch-phy-swap = <1>;
61 };
62 };
63
64 &eth1 {
65 compatible = "syscon", "simple-mfd";
66 };
67
68 &pcie0 {
69 status = "okay";
70 };