ath79: mikrotik: fix dts warnings
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c6x.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca956x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18
19 wifi {
20 label = "WiFi button";
21 linux,code = <KEY_RFKILL>;
22 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
23 };
24
25 reset {
26 label = "Reset button";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
29 };
30 };
31
32 leds: leds {
33 compatible = "gpio-leds";
34
35 led_power: power {
36 label = "green:power";
37 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
38 default-state = "on";
39 };
40
41 wlan2g {
42 label = "green:wlan2g";
43 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy1tpt";
45 };
46
47 wlan5g {
48 label = "green:wlan5g";
49 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
51 };
52
53 wan_green {
54 label = "green:wan";
55 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
56 };
57
58 lan {
59 label = "green:lan";
60 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
61 };
62 };
63 };
64
65 &pcie {
66 status = "okay";
67 };
68
69 &eth0 {
70 status = "okay";
71
72 phy-handle = <&swphy4>;
73 };
74
75 &eth1 {
76 status = "okay";
77 };
78
79 &wmac {
80 status = "okay";
81 };