kernel: bump 6.6 to 6.6.28
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_engenius_ews511ap.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "qca953x.dtsi"
8
9 / {
10 compatible = "engenius,ews511ap", "qca,qca9531";
11 model = "EnGenius EWS511AP";
12
13 aliases {
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 };
19
20 keys {
21 compatible = "gpio-keys";
22
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins>;
25
26 reset {
27 label = "reset";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
30 };
31 };
32
33 leds {
34 compatible = "gpio-leds";
35
36 led_power: power {
37 label = "ews511ap:amber:power";
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
39 default-state = "on";
40 };
41
42 lan1 {
43 label = "ews511ap:blue:lan1";
44 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
45 };
46
47 lan2 {
48 label = "ews511ap:blue:lan2";
49 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
50 };
51
52 wlan2g {
53 label = "ews511ap:green:wlan2g";
54 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
56 };
57
58 wlan5g {
59 label = "ews511ap:green:wlan5g";
60 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy1tpt";
62 };
63 };
64
65 watchdog {
66 compatible = "linux,wdt-gpio";
67
68 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
69 hw_algo = "toggle";
70 /* hw_margin_ms is actually 300s but driver limits it to 60s */
71 hw_margin_ms = <60000>;
72 always-running;
73 };
74 };
75
76 &wdt {
77 status = "okay";
78 };
79
80 &rst {
81 status = "okay";
82 };
83
84 &pcie0 {
85 status = "okay";
86 };
87
88 &uart {
89 status = "okay";
90 };
91
92 &spi {
93 status = "okay";
94
95 num-cs = <0>;
96
97 flash@0 {
98 compatible = "jedec,spi-nor";
99 reg = <0>;
100 spi-max-frequency = <25000000>;
101
102 partitions {
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
105 #size-cells = <1>;
106
107 partition@0 {
108 label = "u-boot";
109 reg = <0x000000 0x040000>;
110 read-only;
111 };
112
113 ubootenv: partition@40000 {
114 label = "u-boot-env";
115 reg = <0x040000 0x010000>;
116 };
117
118 art: partition@50000 {
119 label = "art";
120 reg = <0x050000 0x010000>;
121 read-only;
122 };
123
124 partition@60000 {
125 compatible = "denx,uimage";
126 label = "firmware";
127 reg = <0x060000 0xfa0000>;
128 };
129 };
130 };
131 };
132
133 &eth0 {
134 status = "okay";
135
136 phy-handle = <&swphy4>;
137 };
138
139 &eth1 {
140 status = "okay";
141 };
142
143 &wmac {
144 status = "okay";
145
146 mtd-cal-data = <&art 0x1000>;
147 };