ath79: remove generic profiles
[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 serial0 = &uart;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19 pinctrl-names = "default";
20
21 led_rssilow: rssilow {
22 label = "green:rssilow";
23 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
24 };
25
26 rssimedium {
27 label = "green:rssimedium";
28 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
29 };
30
31 rssihigh {
32 label = "green:rssihigh";
33 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
34 };
35
36 wlan {
37 label = "green:wlan";
38 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
39 linux,default-trigger = "phy0tpt";
40 };
41 };
42
43 gpio-export {
44 compatible = "gpio-export";
45
46 minipcie {
47 gpio-export,name = "minipcie";
48 gpio-export,output = <1>;
49 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
50 };
51 };
52 };
53
54 &eth0 {
55 status = "okay";
56
57 phy-handle = <&swphy0>;
58
59 gmac-config {
60 device = <&gmac>;
61 switch-phy-swap = <1>;
62 };
63 };
64
65 &eth1 {
66 compatible = "syscon", "simple-mfd";
67 };
68
69 &pcie0 {
70 status = "okay";
71 };