ath79: remove model name from LED labels
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca955x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 keys {
10 compatible = "gpio-keys";
11
12 reset {
13 label = "reset";
14 linux,code = <KEY_RESTART>;
15 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
16 debounce-interval = <60>;
17 };
18 };
19
20 leds {
21 compatible = "gpio-leds";
22
23 wps {
24 label = "blue:wps";
25 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
26 };
27
28 network {
29 label = "blue:network";
30 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
31 };
32
33 wlan2g {
34 label = "blue:wlan2";
35 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy1tpt";
37 };
38
39 wlan5g {
40 label = "blue:wlan5";
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
43 };
44 };
45
46 watchdog {
47 compatible = "linux,wdt-gpio";
48 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
49 hw_algo = "toggle";
50 hw_margin_ms = <500>;
51 always-running;
52 };
53 };
54
55 &pcie0 {
56 status = "okay";
57 };
58
59 &uart {
60 status = "okay";
61 };
62
63 &usb_phy0 {
64 status = "okay";
65 };
66
67 &usb0 {
68 status = "okay";
69 };
70
71 &mdio0 {
72 status = "okay";
73
74 switch0@1f {
75 compatible = "qca,ar8327";
76 reg = <0x1f>;
77 qca,ar8327-initvals = <
78 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
79 0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
80 0x10 0x81000080 /* POWER_ON_STRAP */
81 0x7c 0x0000007e /* PORT0_STATUS */
82 0x94 0x0000007e /* PORT6 STATUS */
83 >;
84 };
85 };
86
87 &eth0 {
88 status = "okay";
89
90 pll-data = <0xa6000000 0x00000101 0x00001616>;
91 mtd-mac-address = <&art 0x0>;
92 fixed-link {
93 speed = <1000>;
94 full-duplex;
95 };
96 };
97
98 &eth1 {
99 status = "okay";
100
101 pll-data = <0x03000101 0x00000101 0x00001616>;
102 mtd-mac-address = <&art 0x6>;
103 fixed-link {
104 speed = <1000>;
105 full-duplex;
106 };
107 };
108
109 &wmac {
110 status = "okay";
111
112 mtd-cal-data = <&art 0x1000>;
113 mtd-mac-address = <&art 0x18>;
114 };
115
116 // This node is required for the Ethernet ports to work correctly.
117 &gpio {
118 status = "okay";
119 };