ath79: mikrotik: fix dts warnings
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9533_mikrotik_routerboard-wap-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-wap-2nd", "qca,qca9533";
7 model = "MikroTik RouterBOARD wAP-2nD (wAP)";
8
9 aliases {
10 led-boot = &led_user;
11 led-failsafe = &led_user;
12 led-running = &led_user;
13 led-upgrade = &led_user;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&led_lan_pin>;
20
21 lan {
22 label = "green:lan";
23 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
24 };
25
26 wlan {
27 label = "green:wlan";
28 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "phy0tpt";
30 };
31
32 led_user: user {
33 label = "green:user";
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
35 };
36 };
37 };
38
39 &wmac {
40 status = "okay";
41
42 qca,no-eeprom;
43 };
44
45 &eth0 {
46 status = "okay";
47
48 phy-handle = <&swphy0>;
49
50 gmac-config {
51 device = <&gmac>;
52 switch-phy-swap = <1>;
53 };
54 };
55
56 &eth1 {
57 compatible = "syscon", "simple-mfd";
58 };
59
60 &pinmux {
61 led_lan_pin: pinmux_led_lan_pin {
62 pinctrl-single,bits = <0x4 0x0 0xff>;
63 };
64 };