blob: 941a2f185056d92f11e6d274d9633b0a3739c4b9 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: GPL-2.0
2//
3// Copyright 2013 Freescale Semiconductor, Inc.
4
5#include <dt-bindings/interrupt-controller/irq.h>
6#include "imx6sl-pinfunc.h"
7#include <dt-bindings/clock/imx6sl-clock.h>
8
9/ {
10 #address-cells = <1>;
11 #size-cells = <1>;
12 /*
13 * The decompressor and also some bootloaders rely on a
14 * pre-existing /chosen node to be available to insert the
15 * command line and merge other ATAGS info.
16 */
17 chosen {};
18
19 aliases {
20 ethernet0 = &fec;
21 gpio0 = &gpio1;
22 gpio1 = &gpio2;
23 gpio2 = &gpio3;
24 gpio3 = &gpio4;
25 gpio4 = &gpio5;
26 i2c0 = &i2c1;
27 i2c1 = &i2c2;
28 i2c2 = &i2c3;
29 mmc0 = &usdhc1;
30 mmc1 = &usdhc2;
31 mmc2 = &usdhc3;
32 mmc3 = &usdhc4;
33 serial0 = &uart1;
34 serial1 = &uart2;
35 serial2 = &uart3;
36 serial3 = &uart4;
37 serial4 = &uart5;
38 spi0 = &ecspi1;
39 spi1 = &ecspi2;
40 spi2 = &ecspi3;
41 spi3 = &ecspi4;
42 usb0 = &usbotg1;
43 usb1 = &usbotg2;
44 usb2 = &usbh;
45 usbphy0 = &usbphy1;
46 usbphy1 = &usbphy2;
47 };
48
49 cpus {
50 #address-cells = <1>;
51 #size-cells = <0>;
52
53 cpu0: cpu@0 {
54 compatible = "arm,cortex-a9";
55 device_type = "cpu";
56 reg = <0x0>;
57 next-level-cache = <&L2>;
58 operating-points =
59 /* kHz uV */
60 <996000 1275000>,
61 <792000 1175000>,
62 <396000 975000>;
63 fsl,soc-operating-points =
64 /* ARM kHz SOC-PU uV */
65 <996000 1225000>,
66 <792000 1175000>,
67 <396000 1175000>;
68 clock-latency = <61036>; /* two CLK32 periods */
69 #cooling-cells = <2>;
70 clocks = <&clks IMX6SL_CLK_ARM>, <&clks IMX6SL_CLK_PLL2_PFD2>,
71 <&clks IMX6SL_CLK_STEP>, <&clks IMX6SL_CLK_PLL1_SW>,
72 <&clks IMX6SL_CLK_PLL1_SYS>;
73 clock-names = "arm", "pll2_pfd2_396m", "step",
74 "pll1_sw", "pll1_sys";
75 arm-supply = <&reg_arm>;
76 pu-supply = <&reg_pu>;
77 soc-supply = <&reg_soc>;
78 nvmem-cells = <&cpu_speed_grade>;
79 nvmem-cell-names = "speed_grade";
80 };
81 };
82
83 clocks {
84 ckil {
85 compatible = "fixed-clock";
86 #clock-cells = <0>;
87 clock-frequency = <32768>;
88 };
89
90 osc {
91 compatible = "fixed-clock";
92 #clock-cells = <0>;
93 clock-frequency = <24000000>;
94 };
95 };
96
97 pmu {
98 compatible = "arm,cortex-a9-pmu";
99 interrupt-parent = <&gpc>;
100 interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
101 };
102
103 usbphynop1: usbphynop1 {
104 compatible = "usb-nop-xceiv";
105 #phy-cells = <0>;
106 };
107
108 soc {
109 #address-cells = <1>;
110 #size-cells = <1>;
111 compatible = "simple-bus";
112 interrupt-parent = <&gpc>;
113 ranges;
114
115 ocram: sram@900000 {
116 compatible = "mmio-sram";
117 reg = <0x00900000 0x20000>;
118 ranges = <0 0x00900000 0x20000>;
119 #address-cells = <1>;
120 #size-cells = <1>;
121 clocks = <&clks IMX6SL_CLK_OCRAM>;
122 };
123
124 intc: interrupt-controller@a01000 {
125 compatible = "arm,cortex-a9-gic";
126 #interrupt-cells = <3>;
127 interrupt-controller;
128 reg = <0x00a01000 0x1000>,
129 <0x00a00100 0x100>;
130 interrupt-parent = <&intc>;
131 };
132
133 L2: cache-controller@a02000 {
134 compatible = "arm,pl310-cache";
135 reg = <0x00a02000 0x1000>;
136 interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
137 cache-unified;
138 cache-level = <2>;
139 arm,tag-latency = <4 2 3>;
140 arm,data-latency = <4 2 3>;
141 };
142
143 aips1: bus@2000000 {
144 compatible = "fsl,aips-bus", "simple-bus";
145 #address-cells = <1>;
146 #size-cells = <1>;
147 reg = <0x02000000 0x100000>;
148 ranges;
149
150 spba: spba-bus@2000000 {
151 compatible = "fsl,spba-bus", "simple-bus";
152 #address-cells = <1>;
153 #size-cells = <1>;
154 reg = <0x02000000 0x40000>;
155 ranges;
156
157 spdif: spdif@2004000 {
158 compatible = "fsl,imx6sl-spdif",
159 "fsl,imx35-spdif";
160 reg = <0x02004000 0x4000>;
161 interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
162 dmas = <&sdma 14 18 0>,
163 <&sdma 15 18 0>;
164 dma-names = "rx", "tx";
165 clocks = <&clks IMX6SL_CLK_SPDIF_GCLK>, <&clks IMX6SL_CLK_OSC>,
166 <&clks IMX6SL_CLK_SPDIF>, <&clks IMX6SL_CLK_DUMMY>,
167 <&clks IMX6SL_CLK_DUMMY>, <&clks IMX6SL_CLK_DUMMY>,
168 <&clks IMX6SL_CLK_IPG>, <&clks IMX6SL_CLK_DUMMY>,
169 <&clks IMX6SL_CLK_DUMMY>, <&clks IMX6SL_CLK_SPBA>;
170 clock-names = "core", "rxtx0",
171 "rxtx1", "rxtx2",
172 "rxtx3", "rxtx4",
173 "rxtx5", "rxtx6",
174 "rxtx7", "spba";
175 status = "disabled";
176 };
177
178 ecspi1: spi@2008000 {
179 #address-cells = <1>;
180 #size-cells = <0>;
181 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
182 reg = <0x02008000 0x4000>;
183 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
184 clocks = <&clks IMX6SL_CLK_ECSPI1>,
185 <&clks IMX6SL_CLK_ECSPI1>;
186 clock-names = "ipg", "per";
187 status = "disabled";
188 };
189
190 ecspi2: spi@200c000 {
191 #address-cells = <1>;
192 #size-cells = <0>;
193 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
194 reg = <0x0200c000 0x4000>;
195 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
196 clocks = <&clks IMX6SL_CLK_ECSPI2>,
197 <&clks IMX6SL_CLK_ECSPI2>;
198 clock-names = "ipg", "per";
199 status = "disabled";
200 };
201
202 ecspi3: spi@2010000 {
203 #address-cells = <1>;
204 #size-cells = <0>;
205 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
206 reg = <0x02010000 0x4000>;
207 interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
208 clocks = <&clks IMX6SL_CLK_ECSPI3>,
209 <&clks IMX6SL_CLK_ECSPI3>;
210 clock-names = "ipg", "per";
211 status = "disabled";
212 };
213
214 ecspi4: spi@2014000 {
215 #address-cells = <1>;
216 #size-cells = <0>;
217 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
218 reg = <0x02014000 0x4000>;
219 interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
220 clocks = <&clks IMX6SL_CLK_ECSPI4>,
221 <&clks IMX6SL_CLK_ECSPI4>;
222 clock-names = "ipg", "per";
223 status = "disabled";
224 };
225
226 uart5: serial@2018000 {
227 compatible = "fsl,imx6sl-uart",
228 "fsl,imx6q-uart", "fsl,imx21-uart";
229 reg = <0x02018000 0x4000>;
230 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
231 clocks = <&clks IMX6SL_CLK_UART>,
232 <&clks IMX6SL_CLK_UART_SERIAL>;
233 clock-names = "ipg", "per";
234 dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
235 dma-names = "rx", "tx";
236 status = "disabled";
237 };
238
239 uart1: serial@2020000 {
240 compatible = "fsl,imx6sl-uart",
241 "fsl,imx6q-uart", "fsl,imx21-uart";
242 reg = <0x02020000 0x4000>;
243 interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
244 clocks = <&clks IMX6SL_CLK_UART>,
245 <&clks IMX6SL_CLK_UART_SERIAL>;
246 clock-names = "ipg", "per";
247 dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
248 dma-names = "rx", "tx";
249 status = "disabled";
250 };
251
252 uart2: serial@2024000 {
253 compatible = "fsl,imx6sl-uart",
254 "fsl,imx6q-uart", "fsl,imx21-uart";
255 reg = <0x02024000 0x4000>;
256 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
257 clocks = <&clks IMX6SL_CLK_UART>,
258 <&clks IMX6SL_CLK_UART_SERIAL>;
259 clock-names = "ipg", "per";
260 dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
261 dma-names = "rx", "tx";
262 status = "disabled";
263 };
264
265 ssi1: ssi@2028000 {
266 #sound-dai-cells = <0>;
267 compatible = "fsl,imx6sl-ssi",
268 "fsl,imx51-ssi";
269 reg = <0x02028000 0x4000>;
270 interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
271 clocks = <&clks IMX6SL_CLK_SSI1_IPG>,
272 <&clks IMX6SL_CLK_SSI1>;
273 clock-names = "ipg", "baud";
274 dmas = <&sdma 37 1 0>,
275 <&sdma 38 1 0>;
276 dma-names = "rx", "tx";
277 fsl,fifo-depth = <15>;
278 status = "disabled";
279 };
280
281 ssi2: ssi@202c000 {
282 #sound-dai-cells = <0>;
283 compatible = "fsl,imx6sl-ssi",
284 "fsl,imx51-ssi";
285 reg = <0x0202c000 0x4000>;
286 interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
287 clocks = <&clks IMX6SL_CLK_SSI2_IPG>,
288 <&clks IMX6SL_CLK_SSI2>;
289 clock-names = "ipg", "baud";
290 dmas = <&sdma 41 1 0>,
291 <&sdma 42 1 0>;
292 dma-names = "rx", "tx";
293 fsl,fifo-depth = <15>;
294 status = "disabled";
295 };
296
297 ssi3: ssi@2030000 {
298 #sound-dai-cells = <0>;
299 compatible = "fsl,imx6sl-ssi",
300 "fsl,imx51-ssi";
301 reg = <0x02030000 0x4000>;
302 interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
303 clocks = <&clks IMX6SL_CLK_SSI3_IPG>,
304 <&clks IMX6SL_CLK_SSI3>;
305 clock-names = "ipg", "baud";
306 dmas = <&sdma 45 1 0>,
307 <&sdma 46 1 0>;
308 dma-names = "rx", "tx";
309 fsl,fifo-depth = <15>;
310 status = "disabled";
311 };
312
313 uart3: serial@2034000 {
314 compatible = "fsl,imx6sl-uart",
315 "fsl,imx6q-uart", "fsl,imx21-uart";
316 reg = <0x02034000 0x4000>;
317 interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
318 clocks = <&clks IMX6SL_CLK_UART>,
319 <&clks IMX6SL_CLK_UART_SERIAL>;
320 clock-names = "ipg", "per";
321 dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
322 dma-names = "rx", "tx";
323 status = "disabled";
324 };
325
326 uart4: serial@2038000 {
327 compatible = "fsl,imx6sl-uart",
328 "fsl,imx6q-uart", "fsl,imx21-uart";
329 reg = <0x02038000 0x4000>;
330 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
331 clocks = <&clks IMX6SL_CLK_UART>,
332 <&clks IMX6SL_CLK_UART_SERIAL>;
333 clock-names = "ipg", "per";
334 dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
335 dma-names = "rx", "tx";
336 status = "disabled";
337 };
338 };
339
340 pwm1: pwm@2080000 {
341 #pwm-cells = <3>;
342 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
343 reg = <0x02080000 0x4000>;
344 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
345 clocks = <&clks IMX6SL_CLK_PERCLK>,
346 <&clks IMX6SL_CLK_PWM1>;
347 clock-names = "ipg", "per";
348 };
349
350 pwm2: pwm@2084000 {
351 #pwm-cells = <3>;
352 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
353 reg = <0x02084000 0x4000>;
354 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&clks IMX6SL_CLK_PERCLK>,
356 <&clks IMX6SL_CLK_PWM2>;
357 clock-names = "ipg", "per";
358 };
359
360 pwm3: pwm@2088000 {
361 #pwm-cells = <3>;
362 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
363 reg = <0x02088000 0x4000>;
364 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
365 clocks = <&clks IMX6SL_CLK_PERCLK>,
366 <&clks IMX6SL_CLK_PWM3>;
367 clock-names = "ipg", "per";
368 };
369
370 pwm4: pwm@208c000 {
371 #pwm-cells = <3>;
372 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
373 reg = <0x0208c000 0x4000>;
374 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
375 clocks = <&clks IMX6SL_CLK_PERCLK>,
376 <&clks IMX6SL_CLK_PWM4>;
377 clock-names = "ipg", "per";
378 };
379
380 gpt: timer@2098000 {
Tom Rini844493d2025-01-26 16:17:47 -0600381 compatible = "fsl,imx6sl-gpt", "fsl,imx6dl-gpt";
Tom Rini53633a82024-02-29 12:33:36 -0500382 reg = <0x02098000 0x4000>;
383 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
384 clocks = <&clks IMX6SL_CLK_GPT>,
385 <&clks IMX6SL_CLK_GPT_SERIAL>;
386 clock-names = "ipg", "per";
387 };
388
389 gpio1: gpio@209c000 {
390 compatible = "fsl,imx6sl-gpio", "fsl,imx35-gpio";
391 reg = <0x0209c000 0x4000>;
392 interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
393 <0 67 IRQ_TYPE_LEVEL_HIGH>;
394 gpio-controller;
395 #gpio-cells = <2>;
396 interrupt-controller;
397 #interrupt-cells = <2>;
398 gpio-ranges = <&iomuxc 0 22 1>, <&iomuxc 1 20 2>,
399 <&iomuxc 3 23 1>, <&iomuxc 4 25 1>,
400 <&iomuxc 5 24 1>, <&iomuxc 6 19 1>,
401 <&iomuxc 7 36 2>, <&iomuxc 9 44 8>,
402 <&iomuxc 17 38 6>, <&iomuxc 23 68 4>,
403 <&iomuxc 27 64 4>, <&iomuxc 31 52 1>;
404 };
405
406 gpio2: gpio@20a0000 {
407 compatible = "fsl,imx6sl-gpio", "fsl,imx35-gpio";
408 reg = <0x020a0000 0x4000>;
409 interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
410 <0 69 IRQ_TYPE_LEVEL_HIGH>;
411 gpio-controller;
412 #gpio-cells = <2>;
413 interrupt-controller;
414 #interrupt-cells = <2>;
415 gpio-ranges = <&iomuxc 0 53 3>, <&iomuxc 3 72 2>,
416 <&iomuxc 5 34 2>, <&iomuxc 7 57 4>,
417 <&iomuxc 11 56 1>, <&iomuxc 12 61 3>,
418 <&iomuxc 15 107 1>, <&iomuxc 16 132 2>,
419 <&iomuxc 18 135 1>, <&iomuxc 19 134 1>,
420 <&iomuxc 20 108 2>, <&iomuxc 22 120 1>,
421 <&iomuxc 23 125 7>, <&iomuxc 30 110 2>;
422 };
423
424 gpio3: gpio@20a4000 {
425 compatible = "fsl,imx6sl-gpio", "fsl,imx35-gpio";
426 reg = <0x020a4000 0x4000>;
427 interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
428 <0 71 IRQ_TYPE_LEVEL_HIGH>;
429 gpio-controller;
430 #gpio-cells = <2>;
431 interrupt-controller;
432 #interrupt-cells = <2>;
433 gpio-ranges = <&iomuxc 0 112 8>, <&iomuxc 8 121 4>,
434 <&iomuxc 12 97 4>, <&iomuxc 16 166 3>,
435 <&iomuxc 19 85 2>, <&iomuxc 21 137 2>,
436 <&iomuxc 23 136 1>, <&iomuxc 24 91 1>,
437 <&iomuxc 25 99 1>, <&iomuxc 26 92 1>,
438 <&iomuxc 27 100 1>, <&iomuxc 28 93 1>,
439 <&iomuxc 29 101 1>, <&iomuxc 30 94 1>,
440 <&iomuxc 31 102 1>;
441 };
442
443 gpio4: gpio@20a8000 {
444 compatible = "fsl,imx6sl-gpio", "fsl,imx35-gpio";
445 reg = <0x020a8000 0x4000>;
446 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
447 <0 73 IRQ_TYPE_LEVEL_HIGH>;
448 gpio-controller;
449 #gpio-cells = <2>;
450 interrupt-controller;
451 #interrupt-cells = <2>;
452 gpio-ranges = <&iomuxc 0 95 1>, <&iomuxc 1 103 1>,
453 <&iomuxc 2 96 1>, <&iomuxc 3 104 1>,
454 <&iomuxc 4 97 1>, <&iomuxc 5 105 1>,
455 <&iomuxc 6 98 1>, <&iomuxc 7 106 1>,
456 <&iomuxc 8 28 1>, <&iomuxc 9 27 1>,
457 <&iomuxc 10 26 1>, <&iomuxc 11 29 1>,
458 <&iomuxc 12 32 1>, <&iomuxc 13 31 1>,
459 <&iomuxc 14 30 1>, <&iomuxc 15 33 1>,
460 <&iomuxc 16 84 1>, <&iomuxc 17 79 2>,
461 <&iomuxc 19 78 1>, <&iomuxc 20 76 1>,
462 <&iomuxc 21 81 2>, <&iomuxc 23 75 1>,
463 <&iomuxc 24 83 1>, <&iomuxc 25 74 1>,
464 <&iomuxc 26 77 1>, <&iomuxc 27 159 1>,
465 <&iomuxc 28 154 1>, <&iomuxc 29 157 1>,
466 <&iomuxc 30 152 1>, <&iomuxc 31 156 1>;
467 };
468
469 gpio5: gpio@20ac000 {
470 compatible = "fsl,imx6sl-gpio", "fsl,imx35-gpio";
471 reg = <0x020ac000 0x4000>;
472 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
473 <0 75 IRQ_TYPE_LEVEL_HIGH>;
474 gpio-controller;
475 #gpio-cells = <2>;
476 interrupt-controller;
477 #interrupt-cells = <2>;
478 gpio-ranges = <&iomuxc 0 158 1>, <&iomuxc 1 151 1>,
479 <&iomuxc 2 155 1>, <&iomuxc 3 153 1>,
480 <&iomuxc 4 150 1>, <&iomuxc 5 149 1>,
481 <&iomuxc 6 144 1>, <&iomuxc 7 147 1>,
482 <&iomuxc 8 142 1>, <&iomuxc 9 146 1>,
483 <&iomuxc 10 148 1>, <&iomuxc 11 141 1>,
484 <&iomuxc 12 145 1>, <&iomuxc 13 143 1>,
485 <&iomuxc 14 140 1>, <&iomuxc 15 139 1>,
486 <&iomuxc 16 164 2>, <&iomuxc 18 160 1>,
487 <&iomuxc 19 162 1>, <&iomuxc 20 163 1>,
488 <&iomuxc 21 161 1>;
489 };
490
491 kpp: keypad@20b8000 {
492 compatible = "fsl,imx6sl-kpp", "fsl,imx21-kpp";
493 reg = <0x020b8000 0x4000>;
494 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
495 clocks = <&clks IMX6SL_CLK_IPG>;
496 status = "disabled";
497 };
498
499 wdog1: watchdog@20bc000 {
500 compatible = "fsl,imx6sl-wdt", "fsl,imx21-wdt";
501 reg = <0x020bc000 0x4000>;
502 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
503 clocks = <&clks IMX6SL_CLK_IPG>;
504 };
505
506 wdog2: watchdog@20c0000 {
507 compatible = "fsl,imx6sl-wdt", "fsl,imx21-wdt";
508 reg = <0x020c0000 0x4000>;
509 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
510 clocks = <&clks IMX6SL_CLK_IPG>;
511 status = "disabled";
512 };
513
514 clks: clock-controller@20c4000 {
515 compatible = "fsl,imx6sl-ccm";
516 reg = <0x020c4000 0x4000>;
517 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
518 <0 88 IRQ_TYPE_LEVEL_HIGH>;
519 #clock-cells = <1>;
520 };
521
522 anatop: anatop@20c8000 {
523 compatible = "fsl,imx6sl-anatop",
524 "fsl,imx6q-anatop",
525 "syscon", "simple-mfd";
526 reg = <0x020c8000 0x1000>;
527 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
528 <0 54 IRQ_TYPE_LEVEL_HIGH>,
529 <0 127 IRQ_TYPE_LEVEL_HIGH>;
530
531 reg_vdd1p1: regulator-1p1 {
532 compatible = "fsl,anatop-regulator";
533 regulator-name = "vdd1p1";
534 regulator-min-microvolt = <1000000>;
535 regulator-max-microvolt = <1200000>;
536 regulator-always-on;
537 anatop-reg-offset = <0x110>;
538 anatop-vol-bit-shift = <8>;
539 anatop-vol-bit-width = <5>;
540 anatop-min-bit-val = <4>;
541 anatop-min-voltage = <800000>;
542 anatop-max-voltage = <1375000>;
543 anatop-enable-bit = <0>;
544 };
545
546 reg_vdd3p0: regulator-3p0 {
547 compatible = "fsl,anatop-regulator";
548 regulator-name = "vdd3p0";
549 regulator-min-microvolt = <2800000>;
550 regulator-max-microvolt = <3150000>;
551 regulator-always-on;
552 anatop-reg-offset = <0x120>;
553 anatop-vol-bit-shift = <8>;
554 anatop-vol-bit-width = <5>;
555 anatop-min-bit-val = <0>;
556 anatop-min-voltage = <2625000>;
557 anatop-max-voltage = <3400000>;
558 anatop-enable-bit = <0>;
559 };
560
561 reg_vdd2p5: regulator-2p5 {
562 compatible = "fsl,anatop-regulator";
563 regulator-name = "vdd2p5";
564 regulator-min-microvolt = <2250000>;
565 regulator-max-microvolt = <2750000>;
566 regulator-always-on;
567 anatop-reg-offset = <0x130>;
568 anatop-vol-bit-shift = <8>;
569 anatop-vol-bit-width = <5>;
570 anatop-min-bit-val = <0>;
571 anatop-min-voltage = <2100000>;
572 anatop-max-voltage = <2850000>;
573 anatop-enable-bit = <0>;
574 };
575
576 reg_arm: regulator-vddcore {
577 compatible = "fsl,anatop-regulator";
578 regulator-name = "vddarm";
579 regulator-min-microvolt = <725000>;
580 regulator-max-microvolt = <1450000>;
581 regulator-always-on;
582 anatop-reg-offset = <0x140>;
583 anatop-vol-bit-shift = <0>;
584 anatop-vol-bit-width = <5>;
585 anatop-delay-reg-offset = <0x170>;
586 anatop-delay-bit-shift = <24>;
587 anatop-delay-bit-width = <2>;
588 anatop-min-bit-val = <1>;
589 anatop-min-voltage = <725000>;
590 anatop-max-voltage = <1450000>;
591 };
592
593 reg_pu: regulator-vddpu {
594 compatible = "fsl,anatop-regulator";
595 regulator-name = "vddpu";
596 regulator-min-microvolt = <725000>;
597 regulator-max-microvolt = <1450000>;
598 anatop-reg-offset = <0x140>;
599 anatop-vol-bit-shift = <9>;
600 anatop-vol-bit-width = <5>;
601 anatop-delay-reg-offset = <0x170>;
602 anatop-delay-bit-shift = <26>;
603 anatop-delay-bit-width = <2>;
604 anatop-min-bit-val = <1>;
605 anatop-min-voltage = <725000>;
606 anatop-max-voltage = <1450000>;
607 };
608
609 reg_soc: regulator-vddsoc {
610 compatible = "fsl,anatop-regulator";
611 regulator-name = "vddsoc";
612 regulator-min-microvolt = <725000>;
613 regulator-max-microvolt = <1450000>;
614 regulator-always-on;
615 anatop-reg-offset = <0x140>;
616 anatop-vol-bit-shift = <18>;
617 anatop-vol-bit-width = <5>;
618 anatop-delay-reg-offset = <0x170>;
619 anatop-delay-bit-shift = <28>;
620 anatop-delay-bit-width = <2>;
621 anatop-min-bit-val = <1>;
622 anatop-min-voltage = <725000>;
623 anatop-max-voltage = <1450000>;
624 };
625
626 tempmon: tempmon {
627 compatible = "fsl,imx6q-tempmon";
628 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
629 interrupt-parent = <&gpc>;
630 fsl,tempmon = <&anatop>;
631 nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
632 nvmem-cell-names = "calib", "temp_grade";
633 clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>;
Tom Rini844493d2025-01-26 16:17:47 -0600634 #thermal-sensor-cells = <0>;
Tom Rini53633a82024-02-29 12:33:36 -0500635 };
636 };
637
638 usbphy1: usbphy@20c9000 {
639 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
640 reg = <0x020c9000 0x1000>;
641 interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
642 clocks = <&clks IMX6SL_CLK_USBPHY1>;
643 fsl,anatop = <&anatop>;
644 };
645
646 usbphy2: usbphy@20ca000 {
647 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
648 reg = <0x020ca000 0x1000>;
649 interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
650 clocks = <&clks IMX6SL_CLK_USBPHY2>;
651 fsl,anatop = <&anatop>;
652 };
653
654 snvs: snvs@20cc000 {
655 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
656 reg = <0x020cc000 0x4000>;
657
658 snvs_rtc: snvs-rtc-lp {
659 compatible = "fsl,sec-v4.0-mon-rtc-lp";
660 regmap = <&snvs>;
661 offset = <0x34>;
662 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
663 <0 20 IRQ_TYPE_LEVEL_HIGH>;
664 };
665
666 snvs_poweroff: snvs-poweroff {
667 compatible = "syscon-poweroff";
668 regmap = <&snvs>;
669 offset = <0x38>;
670 value = <0x60>;
671 mask = <0x60>;
672 status = "disabled";
673 };
674 };
675
676 epit1: epit@20d0000 {
677 reg = <0x020d0000 0x4000>;
678 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
679 };
680
681 epit2: epit@20d4000 {
682 reg = <0x020d4000 0x4000>;
683 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
684 };
685
686 src: reset-controller@20d8000 {
687 compatible = "fsl,imx6sl-src", "fsl,imx51-src";
688 reg = <0x020d8000 0x4000>;
689 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
690 <0 96 IRQ_TYPE_LEVEL_HIGH>;
691 #reset-cells = <1>;
692 };
693
694 gpc: gpc@20dc000 {
695 compatible = "fsl,imx6sl-gpc", "fsl,imx6q-gpc";
696 reg = <0x020dc000 0x4000>;
697 interrupt-controller;
698 #interrupt-cells = <3>;
699 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
700 interrupt-parent = <&intc>;
701 clocks = <&clks IMX6SL_CLK_IPG>;
702 clock-names = "ipg";
703
704 pgc {
705 #address-cells = <1>;
706 #size-cells = <0>;
707
708 power-domain@0 {
709 reg = <0>;
710 #power-domain-cells = <0>;
711 };
712
713 pd_pu: power-domain@1 {
714 reg = <1>;
715 #power-domain-cells = <0>;
716 power-supply = <&reg_pu>;
717 clocks = <&clks IMX6SL_CLK_GPU2D_OVG>,
718 <&clks IMX6SL_CLK_GPU2D_PODF>;
719 };
720
721 pd_disp: power-domain@2 {
722 reg = <2>;
723 #power-domain-cells = <0>;
724 clocks = <&clks IMX6SL_CLK_LCDIF_AXI>,
725 <&clks IMX6SL_CLK_LCDIF_PIX>,
726 <&clks IMX6SL_CLK_EPDC_AXI>,
727 <&clks IMX6SL_CLK_EPDC_PIX>,
728 <&clks IMX6SL_CLK_PXP_AXI>;
729 };
730 };
731 };
732
733 gpr: iomuxc-gpr@20e0000 {
734 compatible = "fsl,imx6sl-iomuxc-gpr",
735 "fsl,imx6q-iomuxc-gpr", "syscon";
736 reg = <0x020e0000 0x38>;
737 };
738
739 iomuxc: pinctrl@20e0000 {
740 compatible = "fsl,imx6sl-iomuxc";
741 reg = <0x020e0000 0x4000>;
742 };
743
744 csi: csi@20e4000 {
745 reg = <0x020e4000 0x4000>;
746 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
747 };
748
749 spdc: spdc@20e8000 {
750 reg = <0x020e8000 0x4000>;
751 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
752 };
753
754 sdma: dma-controller@20ec000 {
755 compatible = "fsl,imx6sl-sdma", "fsl,imx6q-sdma";
756 reg = <0x020ec000 0x4000>;
757 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
758 clocks = <&clks IMX6SL_CLK_SDMA>,
759 <&clks IMX6SL_CLK_AHB>;
760 clock-names = "ipg", "ahb";
761 #dma-cells = <3>;
762 /* imx6sl reuses imx6q sdma firmware */
763 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
764 };
765
766 pxp: pxp@20f0000 {
767 reg = <0x020f0000 0x4000>;
768 interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
769 };
770
771 epdc: epdc@20f4000 {
772 reg = <0x020f4000 0x4000>;
773 interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>;
774 };
775
776 lcdif: lcdif@20f8000 {
777 compatible = "fsl,imx6sl-lcdif", "fsl,imx28-lcdif";
778 reg = <0x020f8000 0x4000>;
779 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
780 clocks = <&clks IMX6SL_CLK_LCDIF_PIX>,
781 <&clks IMX6SL_CLK_LCDIF_AXI>,
782 <&clks IMX6SL_CLK_DUMMY>;
783 clock-names = "pix", "axi", "disp_axi";
784 status = "disabled";
785 power-domains = <&pd_disp>;
786 };
787
788 dcp: crypto@20fc000 {
789 compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp";
790 reg = <0x020fc000 0x4000>;
791 interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>,
792 <0 100 IRQ_TYPE_LEVEL_HIGH>,
793 <0 101 IRQ_TYPE_LEVEL_HIGH>;
794 };
795 };
796
797 aips2: bus@2100000 {
798 compatible = "fsl,aips-bus", "simple-bus";
799 #address-cells = <1>;
800 #size-cells = <1>;
801 reg = <0x02100000 0x100000>;
802 ranges;
803
804 usbotg1: usb@2184000 {
805 compatible = "fsl,imx6sl-usb", "fsl,imx27-usb";
806 reg = <0x02184000 0x200>;
807 interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
808 clocks = <&clks IMX6SL_CLK_USBOH3>;
809 fsl,usbphy = <&usbphy1>;
810 fsl,usbmisc = <&usbmisc 0>;
811 ahb-burst-config = <0x0>;
812 tx-burst-size-dword = <0x10>;
813 rx-burst-size-dword = <0x10>;
814 status = "disabled";
815 };
816
817 usbotg2: usb@2184200 {
818 compatible = "fsl,imx6sl-usb", "fsl,imx27-usb";
819 reg = <0x02184200 0x200>;
820 interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
821 clocks = <&clks IMX6SL_CLK_USBOH3>;
822 fsl,usbphy = <&usbphy2>;
823 fsl,usbmisc = <&usbmisc 1>;
824 ahb-burst-config = <0x0>;
825 tx-burst-size-dword = <0x10>;
826 rx-burst-size-dword = <0x10>;
827 status = "disabled";
828 };
829
830 usbh: usb@2184400 {
831 compatible = "fsl,imx6sl-usb", "fsl,imx27-usb";
832 reg = <0x02184400 0x200>;
833 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
834 clocks = <&clks IMX6SL_CLK_USBOH3>;
835 fsl,usbphy = <&usbphynop1>;
836 phy_type = "hsic";
837 fsl,usbmisc = <&usbmisc 2>;
838 dr_mode = "host";
839 ahb-burst-config = <0x0>;
840 tx-burst-size-dword = <0x10>;
841 rx-burst-size-dword = <0x10>;
842 status = "disabled";
843 };
844
845 usbmisc: usbmisc@2184800 {
846 #index-cells = <1>;
847 compatible = "fsl,imx6sl-usbmisc", "fsl,imx6q-usbmisc";
848 reg = <0x02184800 0x200>;
849 clocks = <&clks IMX6SL_CLK_USBOH3>;
850 };
851
852 fec: ethernet@2188000 {
853 compatible = "fsl,imx6sl-fec", "fsl,imx25-fec";
854 reg = <0x02188000 0x4000>;
855 interrupts = <0 114 IRQ_TYPE_LEVEL_HIGH>;
856 clocks = <&clks IMX6SL_CLK_ENET>,
857 <&clks IMX6SL_CLK_ENET_REF>;
858 clock-names = "ipg", "ahb";
859 status = "disabled";
860 };
861
862 usdhc1: mmc@2190000 {
Tom Rini844493d2025-01-26 16:17:47 -0600863 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500864 reg = <0x02190000 0x4000>;
865 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
866 clocks = <&clks IMX6SL_CLK_USDHC1>,
867 <&clks IMX6SL_CLK_USDHC1>,
868 <&clks IMX6SL_CLK_USDHC1>;
869 clock-names = "ipg", "ahb", "per";
870 bus-width = <4>;
871 status = "disabled";
872 };
873
874 usdhc2: mmc@2194000 {
Tom Rini844493d2025-01-26 16:17:47 -0600875 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500876 reg = <0x02194000 0x4000>;
877 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
878 clocks = <&clks IMX6SL_CLK_USDHC2>,
879 <&clks IMX6SL_CLK_USDHC2>,
880 <&clks IMX6SL_CLK_USDHC2>;
881 clock-names = "ipg", "ahb", "per";
882 bus-width = <4>;
883 status = "disabled";
884 };
885
886 usdhc3: mmc@2198000 {
Tom Rini844493d2025-01-26 16:17:47 -0600887 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500888 reg = <0x02198000 0x4000>;
889 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
890 clocks = <&clks IMX6SL_CLK_USDHC3>,
891 <&clks IMX6SL_CLK_USDHC3>,
892 <&clks IMX6SL_CLK_USDHC3>;
893 clock-names = "ipg", "ahb", "per";
894 bus-width = <4>;
895 status = "disabled";
896 };
897
898 usdhc4: mmc@219c000 {
Tom Rini844493d2025-01-26 16:17:47 -0600899 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500900 reg = <0x0219c000 0x4000>;
901 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
902 clocks = <&clks IMX6SL_CLK_USDHC4>,
903 <&clks IMX6SL_CLK_USDHC4>,
904 <&clks IMX6SL_CLK_USDHC4>;
905 clock-names = "ipg", "ahb", "per";
906 bus-width = <4>;
907 status = "disabled";
908 };
909
910 i2c1: i2c@21a0000 {
911 #address-cells = <1>;
912 #size-cells = <0>;
913 compatible = "fsl,imx6sl-i2c", "fsl,imx21-i2c";
914 reg = <0x021a0000 0x4000>;
915 interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
916 clocks = <&clks IMX6SL_CLK_I2C1>;
917 status = "disabled";
918 };
919
920 i2c2: i2c@21a4000 {
921 #address-cells = <1>;
922 #size-cells = <0>;
923 compatible = "fsl,imx6sl-i2c", "fsl,imx21-i2c";
924 reg = <0x021a4000 0x4000>;
925 interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
926 clocks = <&clks IMX6SL_CLK_I2C2>;
927 status = "disabled";
928 };
929
930 i2c3: i2c@21a8000 {
931 #address-cells = <1>;
932 #size-cells = <0>;
933 compatible = "fsl,imx6sl-i2c", "fsl,imx21-i2c";
934 reg = <0x021a8000 0x4000>;
935 interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
936 clocks = <&clks IMX6SL_CLK_I2C3>;
937 status = "disabled";
938 };
939
940 memory-controller@21b0000 {
941 compatible = "fsl,imx6sl-mmdc", "fsl,imx6q-mmdc";
942 reg = <0x021b0000 0x4000>;
943 clocks = <&clks IMX6SL_CLK_MMDC_P0_IPG>;
944 };
945
946 rngb: rngb@21b4000 {
947 compatible = "fsl,imx6sl-rngb", "fsl,imx25-rngb";
948 reg = <0x021b4000 0x4000>;
949 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
950 clocks = <&clks IMX6SL_CLK_DUMMY>;
951 };
952
Tom Rini6bb92fc2024-05-20 09:54:58 -0600953 weim: memory-controller@21b8000 {
Tom Rini53633a82024-02-29 12:33:36 -0500954 #address-cells = <2>;
955 #size-cells = <1>;
956 reg = <0x021b8000 0x4000>;
957 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
958 fsl,weim-cs-gpr = <&gpr>;
959 status = "disabled";
960 };
961
962 ocotp: efuse@21bc000 {
963 compatible = "fsl,imx6sl-ocotp", "syscon";
964 reg = <0x021bc000 0x4000>;
965 clocks = <&clks IMX6SL_CLK_OCOTP>;
966 #address-cells = <1>;
967 #size-cells = <1>;
968
969 cpu_speed_grade: speed-grade@10 {
970 reg = <0x10 4>;
971 };
972
973 tempmon_calib: calib@38 {
974 reg = <0x38 4>;
975 };
976
977 tempmon_temp_grade: temp-grade@20 {
978 reg = <0x20 4>;
979 };
980 };
981
982 audmux: audmux@21d8000 {
983 compatible = "fsl,imx6sl-audmux", "fsl,imx31-audmux";
984 reg = <0x021d8000 0x4000>;
985 status = "disabled";
986 };
987 };
988
989 gpu_2d: gpu@2200000 {
990 compatible = "vivante,gc";
991 reg = <0x02200000 0x4000>;
992 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
993 clocks = <&clks IMX6SL_CLK_MMDC_ROOT>,
994 <&clks IMX6SL_CLK_GPU2D_OVG>;
995 clock-names = "bus", "core";
996 power-domains = <&pd_pu>;
997 };
998
999 gpu_vg: gpu@2204000 {
1000 compatible = "vivante,gc";
1001 reg = <0x02204000 0x4000>;
1002 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
1003 clocks = <&clks IMX6SL_CLK_MMDC_ROOT>,
1004 <&clks IMX6SL_CLK_GPU2D_OVG>;
1005 clock-names = "bus", "core";
1006 power-domains = <&pd_pu>;
1007 };
1008 };
1009};