blob: 7381fb7f89126e29db05491e751a0d6e519f22f2 [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";
Tom Riniab06a532025-04-02 08:31:19 -0600549 regulator-min-microvolt = <2625000>;
550 regulator-max-microvolt = <3400000>;
Tom Rini53633a82024-02-29 12:33:36 -0500551 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>;
Tom Riniab06a532025-04-02 08:31:19 -0600643 phy-3p0-supply = <&reg_vdd3p0>;
Tom Rini53633a82024-02-29 12:33:36 -0500644 fsl,anatop = <&anatop>;
645 };
646
647 usbphy2: usbphy@20ca000 {
648 compatible = "fsl,imx6sl-usbphy", "fsl,imx23-usbphy";
649 reg = <0x020ca000 0x1000>;
650 interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
651 clocks = <&clks IMX6SL_CLK_USBPHY2>;
Tom Riniab06a532025-04-02 08:31:19 -0600652 phy-3p0-supply = <&reg_vdd3p0>;
Tom Rini53633a82024-02-29 12:33:36 -0500653 fsl,anatop = <&anatop>;
654 };
655
656 snvs: snvs@20cc000 {
657 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
658 reg = <0x020cc000 0x4000>;
659
660 snvs_rtc: snvs-rtc-lp {
661 compatible = "fsl,sec-v4.0-mon-rtc-lp";
662 regmap = <&snvs>;
663 offset = <0x34>;
664 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
665 <0 20 IRQ_TYPE_LEVEL_HIGH>;
666 };
667
668 snvs_poweroff: snvs-poweroff {
669 compatible = "syscon-poweroff";
670 regmap = <&snvs>;
671 offset = <0x38>;
672 value = <0x60>;
673 mask = <0x60>;
674 status = "disabled";
675 };
676 };
677
678 epit1: epit@20d0000 {
679 reg = <0x020d0000 0x4000>;
680 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
681 };
682
683 epit2: epit@20d4000 {
684 reg = <0x020d4000 0x4000>;
685 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
686 };
687
688 src: reset-controller@20d8000 {
689 compatible = "fsl,imx6sl-src", "fsl,imx51-src";
690 reg = <0x020d8000 0x4000>;
691 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
692 <0 96 IRQ_TYPE_LEVEL_HIGH>;
693 #reset-cells = <1>;
694 };
695
696 gpc: gpc@20dc000 {
697 compatible = "fsl,imx6sl-gpc", "fsl,imx6q-gpc";
698 reg = <0x020dc000 0x4000>;
699 interrupt-controller;
700 #interrupt-cells = <3>;
701 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
702 interrupt-parent = <&intc>;
703 clocks = <&clks IMX6SL_CLK_IPG>;
704 clock-names = "ipg";
705
706 pgc {
707 #address-cells = <1>;
708 #size-cells = <0>;
709
710 power-domain@0 {
711 reg = <0>;
712 #power-domain-cells = <0>;
713 };
714
715 pd_pu: power-domain@1 {
716 reg = <1>;
717 #power-domain-cells = <0>;
718 power-supply = <&reg_pu>;
719 clocks = <&clks IMX6SL_CLK_GPU2D_OVG>,
720 <&clks IMX6SL_CLK_GPU2D_PODF>;
721 };
722
723 pd_disp: power-domain@2 {
724 reg = <2>;
725 #power-domain-cells = <0>;
726 clocks = <&clks IMX6SL_CLK_LCDIF_AXI>,
727 <&clks IMX6SL_CLK_LCDIF_PIX>,
728 <&clks IMX6SL_CLK_EPDC_AXI>,
729 <&clks IMX6SL_CLK_EPDC_PIX>,
730 <&clks IMX6SL_CLK_PXP_AXI>;
731 };
732 };
733 };
734
735 gpr: iomuxc-gpr@20e0000 {
736 compatible = "fsl,imx6sl-iomuxc-gpr",
737 "fsl,imx6q-iomuxc-gpr", "syscon";
738 reg = <0x020e0000 0x38>;
739 };
740
741 iomuxc: pinctrl@20e0000 {
742 compatible = "fsl,imx6sl-iomuxc";
743 reg = <0x020e0000 0x4000>;
744 };
745
746 csi: csi@20e4000 {
747 reg = <0x020e4000 0x4000>;
748 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
749 };
750
751 spdc: spdc@20e8000 {
752 reg = <0x020e8000 0x4000>;
753 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
754 };
755
756 sdma: dma-controller@20ec000 {
757 compatible = "fsl,imx6sl-sdma", "fsl,imx6q-sdma";
758 reg = <0x020ec000 0x4000>;
759 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
760 clocks = <&clks IMX6SL_CLK_SDMA>,
761 <&clks IMX6SL_CLK_AHB>;
762 clock-names = "ipg", "ahb";
763 #dma-cells = <3>;
764 /* imx6sl reuses imx6q sdma firmware */
765 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
766 };
767
768 pxp: pxp@20f0000 {
769 reg = <0x020f0000 0x4000>;
770 interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
771 };
772
773 epdc: epdc@20f4000 {
774 reg = <0x020f4000 0x4000>;
775 interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>;
776 };
777
778 lcdif: lcdif@20f8000 {
779 compatible = "fsl,imx6sl-lcdif", "fsl,imx28-lcdif";
780 reg = <0x020f8000 0x4000>;
781 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
782 clocks = <&clks IMX6SL_CLK_LCDIF_PIX>,
783 <&clks IMX6SL_CLK_LCDIF_AXI>,
784 <&clks IMX6SL_CLK_DUMMY>;
785 clock-names = "pix", "axi", "disp_axi";
786 status = "disabled";
787 power-domains = <&pd_disp>;
788 };
789
790 dcp: crypto@20fc000 {
791 compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp";
792 reg = <0x020fc000 0x4000>;
793 interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>,
794 <0 100 IRQ_TYPE_LEVEL_HIGH>,
795 <0 101 IRQ_TYPE_LEVEL_HIGH>;
796 };
797 };
798
799 aips2: bus@2100000 {
800 compatible = "fsl,aips-bus", "simple-bus";
801 #address-cells = <1>;
802 #size-cells = <1>;
803 reg = <0x02100000 0x100000>;
804 ranges;
805
806 usbotg1: usb@2184000 {
807 compatible = "fsl,imx6sl-usb", "fsl,imx27-usb";
808 reg = <0x02184000 0x200>;
809 interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
810 clocks = <&clks IMX6SL_CLK_USBOH3>;
811 fsl,usbphy = <&usbphy1>;
812 fsl,usbmisc = <&usbmisc 0>;
813 ahb-burst-config = <0x0>;
814 tx-burst-size-dword = <0x10>;
815 rx-burst-size-dword = <0x10>;
816 status = "disabled";
817 };
818
819 usbotg2: usb@2184200 {
820 compatible = "fsl,imx6sl-usb", "fsl,imx27-usb";
821 reg = <0x02184200 0x200>;
822 interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
823 clocks = <&clks IMX6SL_CLK_USBOH3>;
824 fsl,usbphy = <&usbphy2>;
825 fsl,usbmisc = <&usbmisc 1>;
826 ahb-burst-config = <0x0>;
827 tx-burst-size-dword = <0x10>;
828 rx-burst-size-dword = <0x10>;
829 status = "disabled";
830 };
831
832 usbh: usb@2184400 {
833 compatible = "fsl,imx6sl-usb", "fsl,imx27-usb";
834 reg = <0x02184400 0x200>;
835 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
836 clocks = <&clks IMX6SL_CLK_USBOH3>;
837 fsl,usbphy = <&usbphynop1>;
838 phy_type = "hsic";
839 fsl,usbmisc = <&usbmisc 2>;
840 dr_mode = "host";
841 ahb-burst-config = <0x0>;
842 tx-burst-size-dword = <0x10>;
843 rx-burst-size-dword = <0x10>;
844 status = "disabled";
845 };
846
847 usbmisc: usbmisc@2184800 {
848 #index-cells = <1>;
849 compatible = "fsl,imx6sl-usbmisc", "fsl,imx6q-usbmisc";
850 reg = <0x02184800 0x200>;
851 clocks = <&clks IMX6SL_CLK_USBOH3>;
852 };
853
854 fec: ethernet@2188000 {
855 compatible = "fsl,imx6sl-fec", "fsl,imx25-fec";
856 reg = <0x02188000 0x4000>;
857 interrupts = <0 114 IRQ_TYPE_LEVEL_HIGH>;
858 clocks = <&clks IMX6SL_CLK_ENET>,
859 <&clks IMX6SL_CLK_ENET_REF>;
860 clock-names = "ipg", "ahb";
861 status = "disabled";
862 };
863
864 usdhc1: mmc@2190000 {
Tom Rini844493d2025-01-26 16:17:47 -0600865 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500866 reg = <0x02190000 0x4000>;
867 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
868 clocks = <&clks IMX6SL_CLK_USDHC1>,
869 <&clks IMX6SL_CLK_USDHC1>,
870 <&clks IMX6SL_CLK_USDHC1>;
871 clock-names = "ipg", "ahb", "per";
872 bus-width = <4>;
873 status = "disabled";
874 };
875
876 usdhc2: mmc@2194000 {
Tom Rini844493d2025-01-26 16:17:47 -0600877 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500878 reg = <0x02194000 0x4000>;
879 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
880 clocks = <&clks IMX6SL_CLK_USDHC2>,
881 <&clks IMX6SL_CLK_USDHC2>,
882 <&clks IMX6SL_CLK_USDHC2>;
883 clock-names = "ipg", "ahb", "per";
884 bus-width = <4>;
885 status = "disabled";
886 };
887
888 usdhc3: mmc@2198000 {
Tom Rini844493d2025-01-26 16:17:47 -0600889 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500890 reg = <0x02198000 0x4000>;
891 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
892 clocks = <&clks IMX6SL_CLK_USDHC3>,
893 <&clks IMX6SL_CLK_USDHC3>,
894 <&clks IMX6SL_CLK_USDHC3>;
895 clock-names = "ipg", "ahb", "per";
896 bus-width = <4>;
897 status = "disabled";
898 };
899
900 usdhc4: mmc@219c000 {
Tom Rini844493d2025-01-26 16:17:47 -0600901 compatible = "fsl,imx6sl-usdhc";
Tom Rini53633a82024-02-29 12:33:36 -0500902 reg = <0x0219c000 0x4000>;
903 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
904 clocks = <&clks IMX6SL_CLK_USDHC4>,
905 <&clks IMX6SL_CLK_USDHC4>,
906 <&clks IMX6SL_CLK_USDHC4>;
907 clock-names = "ipg", "ahb", "per";
908 bus-width = <4>;
909 status = "disabled";
910 };
911
912 i2c1: i2c@21a0000 {
913 #address-cells = <1>;
914 #size-cells = <0>;
915 compatible = "fsl,imx6sl-i2c", "fsl,imx21-i2c";
916 reg = <0x021a0000 0x4000>;
917 interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
918 clocks = <&clks IMX6SL_CLK_I2C1>;
919 status = "disabled";
920 };
921
922 i2c2: i2c@21a4000 {
923 #address-cells = <1>;
924 #size-cells = <0>;
925 compatible = "fsl,imx6sl-i2c", "fsl,imx21-i2c";
926 reg = <0x021a4000 0x4000>;
927 interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
928 clocks = <&clks IMX6SL_CLK_I2C2>;
929 status = "disabled";
930 };
931
932 i2c3: i2c@21a8000 {
933 #address-cells = <1>;
934 #size-cells = <0>;
935 compatible = "fsl,imx6sl-i2c", "fsl,imx21-i2c";
936 reg = <0x021a8000 0x4000>;
937 interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
938 clocks = <&clks IMX6SL_CLK_I2C3>;
939 status = "disabled";
940 };
941
942 memory-controller@21b0000 {
943 compatible = "fsl,imx6sl-mmdc", "fsl,imx6q-mmdc";
944 reg = <0x021b0000 0x4000>;
945 clocks = <&clks IMX6SL_CLK_MMDC_P0_IPG>;
946 };
947
948 rngb: rngb@21b4000 {
949 compatible = "fsl,imx6sl-rngb", "fsl,imx25-rngb";
950 reg = <0x021b4000 0x4000>;
951 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
952 clocks = <&clks IMX6SL_CLK_DUMMY>;
953 };
954
Tom Rini6bb92fc2024-05-20 09:54:58 -0600955 weim: memory-controller@21b8000 {
Tom Rini53633a82024-02-29 12:33:36 -0500956 #address-cells = <2>;
957 #size-cells = <1>;
958 reg = <0x021b8000 0x4000>;
959 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
960 fsl,weim-cs-gpr = <&gpr>;
961 status = "disabled";
962 };
963
964 ocotp: efuse@21bc000 {
965 compatible = "fsl,imx6sl-ocotp", "syscon";
966 reg = <0x021bc000 0x4000>;
967 clocks = <&clks IMX6SL_CLK_OCOTP>;
968 #address-cells = <1>;
969 #size-cells = <1>;
970
971 cpu_speed_grade: speed-grade@10 {
972 reg = <0x10 4>;
973 };
974
975 tempmon_calib: calib@38 {
976 reg = <0x38 4>;
977 };
978
979 tempmon_temp_grade: temp-grade@20 {
980 reg = <0x20 4>;
981 };
982 };
983
984 audmux: audmux@21d8000 {
985 compatible = "fsl,imx6sl-audmux", "fsl,imx31-audmux";
986 reg = <0x021d8000 0x4000>;
987 status = "disabled";
988 };
989 };
990
991 gpu_2d: gpu@2200000 {
992 compatible = "vivante,gc";
993 reg = <0x02200000 0x4000>;
994 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
995 clocks = <&clks IMX6SL_CLK_MMDC_ROOT>,
996 <&clks IMX6SL_CLK_GPU2D_OVG>;
997 clock-names = "bus", "core";
998 power-domains = <&pd_pu>;
999 };
1000
1001 gpu_vg: gpu@2204000 {
1002 compatible = "vivante,gc";
1003 reg = <0x02204000 0x4000>;
1004 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
1005 clocks = <&clks IMX6SL_CLK_MMDC_ROOT>,
1006 <&clks IMX6SL_CLK_GPU2D_OVG>;
1007 clock-names = "bus", "core";
1008 power-domains = <&pd_pu>;
1009 };
1010 };
1011};