ipq40xx: switch default to 6.6
[openwrt/staging/blocktrron.git] / target / linux / ipq40xx / files-6.1 / arch / arm / boot / dts / qcom-ipq4018-dap-2610.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
8
9 / {
10 model = "D-Link DAP 2610";
11 compatible = "dlink,dap-2610";
12
13 aliases {
14 led-boot = &led_red;
15 led-failsafe = &led_red;
16 led-running = &led_green;
17 led-upgrade = &led_red;
18 };
19
20 soc {
21 tcsr@1949000 {
22 compatible = "qcom,tcsr";
23 reg = <0x1949000 0x100>;
24 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
25 };
26
27 ess_tcsr@1953000 {
28 compatible = "qcom,tcsr";
29 reg = <0x1953000 0x1000>;
30 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
31 };
32
33 tcsr@1957000 {
34 compatible = "qcom,tcsr";
35 reg = <0x1957000 0x100>;
36 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
37 };
38
39 rng@22000 {
40 status = "okay";
41 };
42
43 crypto@8e3a000 {
44 status = "okay";
45 };
46
47 watchdog@b017000 {
48 status = "okay";
49 };
50 };
51
52 leds {
53 compatible = "gpio-leds";
54
55 led_red: red {
56 function = LED_FUNCTION_POWER;
57 color = <LED_COLOR_ID_RED>;
58 gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
59 };
60
61 led_green: green {
62 function = LED_FUNCTION_POWER;
63 color = <LED_COLOR_ID_GREEN>;
64 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
65 };
66 };
67
68 keys {
69 compatible = "gpio-keys";
70
71 reset {
72 label = "reset";
73 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_RESTART>;
75 };
76 };
77 };
78
79 &blsp1_spi1 {
80 pinctrl-0 = <&spi_0_pins>;
81 pinctrl-names = "default";
82 status = "okay";
83 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
84
85 flash@0 {
86 compatible = "jedec,spi-nor";
87 reg = <0>;
88 spi-max-frequency = <24000000>;
89
90 partitions {
91 #address-cells = <1>;
92 #size-cells = <1>;
93 compatible = "fixed-partitions";
94
95 partition@0 {
96 label = "SBL1";
97 reg = <0x0 0x40000>;
98 read-only;
99 };
100 partition@40000 {
101 label = "MIBIB";
102 reg = <0x40000 0x20000>;
103 read-only;
104 };
105 partition@60000 {
106 label = "QSEE";
107 reg = <0x60000 0x60000>;
108 read-only;
109 };
110 partition@c0000 {
111 label = "CDT";
112 reg = <0xc0000 0x10000>;
113 read-only;
114 };
115 partition@d0000 {
116 label = "DDRPARAMS";
117 reg = <0xd0000 0x10000>;
118 read-only;
119 };
120 partition@e0000 {
121 label = "APPSBLENV";
122 reg = <0xe0000 0x10000>;
123 read-only;
124 };
125 partition@f0000 {
126 label = "APPSBL";
127 reg = <0xf0000 0x80000>;
128 read-only;
129 };
130 partition@170000 {
131 label = "ART";
132 reg = <0x170000 0x10000>;
133 read-only;
134 };
135 partition@180000 {
136 compatible = "wrg";
137 label = "firmware";
138 reg = <0x180000 0xdc0000>;
139 };
140 partition@fb0000 {
141 label = "rgbd";
142 reg = <0xfb0000 0x10000>;
143 read-only;
144 };
145 partition@fc0000 {
146 label = "bdcfg";
147 reg = <0xfc0000 0x10000>;
148 read-only;
149 };
150 partition@fd0000 {
151 label = "langpack";
152 reg = <0xfd0000 0x20000>;
153 read-only;
154 };
155 partition@ff0000 {
156 label = "certificate";
157 reg = <0xff0000 0x10000>;
158 read-only;
159 };
160 partition@f40000 {
161 label = "captival";
162 reg = <0xf40000 0x70000>;
163 read-only;
164 };
165 };
166 };
167 };
168
169 &blsp_dma {
170 status = "okay";
171 };
172
173 &blsp1_uart1 {
174 pinctrl-0 = <&serial_pins>;
175 pinctrl-names = "default";
176 status = "okay";
177 };
178
179 &cryptobam {
180 status = "okay";
181 };
182
183 &mdio {
184 status = "okay";
185 };
186
187 &gmac {
188 status = "okay";
189 };
190
191 &switch {
192 status = "okay";
193 };
194
195 &swport5 {
196 status = "okay";
197
198 label = "lan";
199 };
200
201 &tlmm {
202 serial_pins: serial_pinmux {
203 mux {
204 pins = "gpio60", "gpio61";
205 function = "blsp_uart0";
206 bias-disable;
207 };
208 };
209
210 spi_0_pins: spi_0_pinmux {
211 mux {
212 function = "blsp_spi0";
213 pins = "gpio55", "gpio56", "gpio57";
214 drive-strength = <12>;
215 bias-disable;
216 };
217 mux_cs {
218 function = "gpio";
219 pins = "gpio54";
220 drive-strength = <2>;
221 bias-disable;
222 output-high;
223 };
224 };
225 };
226
227 &wifi0 {
228 status = "okay";
229 qcom,ath10k-calibration-variant = "dlink,dap-2610";
230 };
231
232 &wifi1 {
233 status = "okay";
234 qcom,ath10k-calibration-variant = "dlink,dap-2610";
235 };