ath79: do not set inherited phy-mode/status properties again
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c6x.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 #include "qca956x.dtsi"
7
8 / {
9         chosen {
10                 bootargs = "console=ttyS0,115200n8";
11         };
12
13         aliases {
14                 led-boot = &led_power;
15                 led-failsafe = &led_power;
16                 led-running = &led_power;
17                 led-upgrade = &led_power;
18                 label-mac-device = &eth0;
19         };
20
21         keys {
22                 compatible = "gpio-keys";
23
24                 wifi {
25                         label = "WiFi button";
26                         linux,code = <KEY_RFKILL>;
27                         gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
28                 };
29
30                 reset {
31                         label = "Reset button";
32                         linux,code = <KEY_RESTART>;
33                         gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
34                 };
35         };
36
37         leds {
38                 compatible = "gpio-leds";
39
40                 led_power: power {
41                         label = "tp-link:green:power";
42                         gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43                         default-state = "on";
44                 };
45
46                 wlan2g {
47                         label = "tp-link:green:wlan2g";
48                         gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
49                         linux,default-trigger = "phy1tpt";
50                 };
51
52                 wlan5g {
53                         label = "tp-link:green:wlan5g";
54                         gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55                         linux,default-trigger = "phy0tpt";
56                 };
57
58                 wan_green {
59                         label = "tp-link:green:wan";
60                         gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
61                 };
62
63                 wan_amber {
64                         label = "tp-link:amber:wan";
65                         gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
66                 };
67
68                 lan {
69                         label = "tp-link:green:lan";
70                         gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
71                 };
72
73                 wps {
74                         label = "tp-link:green:wps";
75                         gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
76                 };
77         };
78 };
79
80 &uart {
81         status = "okay";
82 };
83
84 &pcie {
85         status = "okay";
86 };
87
88 &eth0 {
89         status = "okay";
90
91         phy-handle = <&swphy4>;
92
93         mtd-mac-address = <&mac 0x8>;
94 };
95
96 &eth1 {
97         status = "okay";
98
99         mtd-mac-address = <&mac 0x8>;
100         mtd-mac-address-increment = <1>;
101 };
102
103 &wmac {
104         status = "okay";
105
106         mtd-cal-data = <&art 0x1000>;
107         mtd-mac-address = <&mac 0x8>;
108 };