GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / imx6sll.dtsi
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /*
3  * Copyright 2016 Freescale Semiconductor, Inc.
4  * Copyright 2017-2018 NXP.
5  *
6  */
7
8 #include <dt-bindings/clock/imx6sll-clock.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include "imx6sll-pinfunc.h"
12
13 / {
14         #address-cells = <1>;
15         #size-cells = <1>;
16
17         aliases {
18                 gpio0 = &gpio1;
19                 gpio1 = &gpio2;
20                 gpio2 = &gpio3;
21                 gpio3 = &gpio4;
22                 gpio4 = &gpio5;
23                 gpio5 = &gpio6;
24                 i2c0 = &i2c1;
25                 i2c1 = &i2c2;
26                 i2c2 = &i2c3;
27                 mmc0 = &usdhc1;
28                 mmc1 = &usdhc2;
29                 mmc2 = &usdhc3;
30                 serial0 = &uart1;
31                 serial1 = &uart2;
32                 serial2 = &uart3;
33                 serial3 = &uart4;
34                 serial4 = &uart5;
35                 spi0 = &ecspi1;
36                 spi1 = &ecspi2;
37                 spi3 = &ecspi3;
38                 spi4 = &ecspi4;
39                 usbphy0 = &usbphy1;
40                 usbphy1 = &usbphy2;
41         };
42
43         cpus {
44                 #address-cells = <1>;
45                 #size-cells = <0>;
46
47                 cpu0: cpu@0 {
48                         compatible = "arm,cortex-a9";
49                         device_type = "cpu";
50                         reg = <0>;
51                         next-level-cache = <&L2>;
52                         operating-points = <
53                                 /* kHz    uV */
54                                 996000  1275000
55                                 792000  1175000
56                                 396000  1075000
57                                 198000  975000
58                         >;
59                         fsl,soc-operating-points = <
60                                 /* ARM kHz      SOC-PU uV */
61                                 996000          1175000
62                                 792000          1175000
63                                 396000          1175000
64                                 198000          1175000
65                         >;
66                         clock-latency = <61036>; /* two CLK32 periods */
67                         clocks = <&clks IMX6SLL_CLK_ARM>,
68                                  <&clks IMX6SLL_CLK_PLL2_PFD2>,
69                                  <&clks IMX6SLL_CLK_STEP>,
70                                  <&clks IMX6SLL_CLK_PLL1_SW>,
71                                  <&clks IMX6SLL_CLK_PLL1_SYS>;
72                         clock-names = "arm", "pll2_pfd2_396m", "step",
73                                       "pll1_sw", "pll1_sys";
74                 };
75         };
76
77         intc: interrupt-controller@a01000 {
78                 compatible = "arm,cortex-a9-gic";
79                 #interrupt-cells = <3>;
80                 interrupt-controller;
81                 reg = <0x00a01000 0x1000>,
82                       <0x00a00100 0x100>;
83                 interrupt-parent = <&intc>;
84         };
85
86         ckil: clock-ckil {
87                 compatible = "fixed-clock";
88                 #clock-cells = <0>;
89                 clock-frequency = <32768>;
90                 clock-output-names = "ckil";
91         };
92
93         osc: clock-osc-24m {
94                 compatible = "fixed-clock";
95                 #clock-cells = <0>;
96                 clock-frequency = <24000000>;
97                 clock-output-names = "osc";
98         };
99
100         ipp_di0: clock-ipp-di0 {
101                 compatible = "fixed-clock";
102                 #clock-cells = <0>;
103                 clock-frequency = <0>;
104                 clock-output-names = "ipp_di0";
105         };
106
107         ipp_di1: clock-ipp-di1 {
108                 compatible = "fixed-clock";
109                 #clock-cells = <0>;
110                 clock-frequency = <0>;
111                 clock-output-names = "ipp_di1";
112         };
113
114         tempmon: temperature-sensor {
115                 compatible = "fsl,imx6sll-tempmon", "fsl,imx6sx-tempmon";
116                 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
117                 interrupt-parent = <&gpc>;
118                 fsl,tempmon = <&anatop>;
119                 nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
120                 nvmem-cell-names = "calib", "temp_grade";
121                 clocks = <&clks IMX6SLL_CLK_PLL3_USB_OTG>;
122         };
123
124         soc {
125                 #address-cells = <1>;
126                 #size-cells = <1>;
127                 compatible = "simple-bus";
128                 interrupt-parent = <&gpc>;
129                 ranges;
130
131                 ocram: sram@900000 {
132                         compatible = "mmio-sram";
133                         reg = <0x00900000 0x20000>;
134                         ranges = <0 0x00900000 0x20000>;
135                         #address-cells = <1>;
136                         #size-cells = <1>;
137                 };
138
139                 L2: l2-cache@a02000 {
140                         compatible = "arm,pl310-cache";
141                         reg = <0x00a02000 0x1000>;
142                         interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
143                         cache-unified;
144                         cache-level = <2>;
145                         arm,tag-latency = <4 2 3>;
146                         arm,data-latency = <4 2 3>;
147                 };
148
149                 aips1: aips-bus@2000000 {
150                         compatible = "fsl,aips-bus", "simple-bus";
151                         #address-cells = <1>;
152                         #size-cells = <1>;
153                         reg = <0x02000000 0x100000>;
154                         ranges;
155
156                         spba: spba-bus@2000000 {
157                                 compatible = "fsl,spba-bus", "simple-bus";
158                                 #address-cells = <1>;
159                                 #size-cells = <1>;
160                                 reg = <0x02000000 0x40000>;
161                                 ranges;
162
163                                 spdif: spdif@2004000 {
164                                         compatible = "fsl,imx6sl-spdif", "fsl,imx35-spdif";
165                                         reg = <0x02004000 0x4000>;
166                                         interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
167                                         dmas = <&sdma 14 18 0>, <&sdma 15 18 0>;
168                                         dma-names = "rx", "tx";
169                                         clocks = <&clks IMX6SLL_CLK_SPDIF_GCLK>,
170                                                  <&clks IMX6SLL_CLK_OSC>,
171                                                  <&clks IMX6SLL_CLK_SPDIF>,
172                                                  <&clks IMX6SLL_CLK_DUMMY>,
173                                                  <&clks IMX6SLL_CLK_DUMMY>,
174                                                  <&clks IMX6SLL_CLK_DUMMY>,
175                                                  <&clks IMX6SLL_CLK_IPG>,
176                                                  <&clks IMX6SLL_CLK_DUMMY>,
177                                                  <&clks IMX6SLL_CLK_DUMMY>,
178                                                  <&clks IMX6SLL_CLK_SPBA>;
179                                         clock-names = "core", "rxtx0",
180                                                       "rxtx1", "rxtx2",
181                                                       "rxtx3", "rxtx4",
182                                                       "rxtx5", "rxtx6",
183                                                       "rxtx7", "dma";
184                                         status = "disabled";
185                                 };
186
187                                 ecspi1: spi@2008000 {
188                                         compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
189                                         reg = <0x02008000 0x4000>;
190                                         interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
191                                         dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
192                                         dma-names = "rx", "tx";
193                                         clocks = <&clks IMX6SLL_CLK_ECSPI1>,
194                                                  <&clks IMX6SLL_CLK_ECSPI1>;
195                                         clock-names = "ipg", "per";
196                                         status = "disabled";
197                                 };
198
199                                 ecspi2: spi@200c000 {
200                                         compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
201                                         reg = <0x0200c000 0x4000>;
202                                         interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
203                                         dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
204                                         dma-names = "rx", "tx";
205                                         clocks = <&clks IMX6SLL_CLK_ECSPI2>,
206                                                  <&clks IMX6SLL_CLK_ECSPI2>;
207                                         clock-names = "ipg", "per";
208                                         status = "disabled";
209                                 };
210
211                                 ecspi3: spi@2010000 {
212                                         compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
213                                         reg = <0x02010000 0x4000>;
214                                         interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
215                                         dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
216                                         dma-names = "rx", "tx";
217                                         clocks = <&clks IMX6SLL_CLK_ECSPI3>,
218                                                  <&clks IMX6SLL_CLK_ECSPI3>;
219                                         clock-names = "ipg", "per";
220                                         status = "disabled";
221                                 };
222
223                                 ecspi4: spi@2014000 {
224                                         compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi";
225                                         reg = <0x02014000 0x4000>;
226                                         interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
227                                         dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
228                                         dma-names = "rx", "tx";
229                                         clocks = <&clks IMX6SLL_CLK_ECSPI4>,
230                                                  <&clks IMX6SLL_CLK_ECSPI4>;
231                                         clock-names = "ipg", "per";
232                                         status = "disabled";
233                                 };
234
235                                 uart4: serial@2018000 {
236                                         compatible = "fsl,imx6sl-uart", "fsl,imx6q-uart",
237                                                      "fsl,imx21-uart";
238                                         reg = <0x02018000 0x4000>;
239                                         interrupts =<GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
240                                         dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
241                                         dma-names = "rx", "tx";
242                                         clocks = <&clks IMX6SLL_CLK_UART4_IPG>,
243                                                  <&clks IMX6SLL_CLK_UART4_SERIAL>;
244                                         clock-names = "ipg", "per";
245                                         status = "disabled";
246                                 };
247
248                                 uart1: serial@2020000 {
249                                         compatible = "fsl,imx6sl-uart", "fsl,imx6q-uart",
250                                                      "fsl,imx21-uart";
251                                         reg = <0x02020000 0x4000>;
252                                         interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
253                                         dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
254                                         dma-names = "rx", "tx";
255                                         clocks = <&clks IMX6SLL_CLK_UART1_IPG>,
256                                                  <&clks IMX6SLL_CLK_UART1_SERIAL>;
257                                         clock-names = "ipg", "per";
258                                         status = "disabled";
259                                 };
260
261                                 uart2: serial@2024000 {
262                                         compatible = "fsl,imx6sl-uart", "fsl,imx6q-uart",
263                                                      "fsl,imx21-uart";
264                                         reg = <0x02024000 0x4000>;
265                                         interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
266                                         dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
267                                         dma-names = "rx", "tx";
268                                         clocks = <&clks IMX6SLL_CLK_UART2_IPG>,
269                                                  <&clks IMX6SLL_CLK_UART2_SERIAL>;
270                                         clock-names = "ipg", "per";
271                                         status = "disabled";
272                                 };
273
274                                 ssi1: ssi-controller@2028000 {
275                                         compatible = "fsl,imx6sl-ssi", "fsl,imx51-ssi";
276                                         reg = <0x02028000 0x4000>;
277                                         interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
278                                         dmas = <&sdma 37 22 0>, <&sdma 38 22 0>;
279                                         dma-names = "rx", "tx";
280                                         fsl,fifo-depth = <15>;
281                                         clocks = <&clks IMX6SLL_CLK_SSI1_IPG>,
282                                                  <&clks IMX6SLL_CLK_SSI1>;
283                                         clock-names = "ipg", "baud";
284                                         status = "disabled";
285                                 };
286
287                                 ssi2: ssi-controller@202c000 {
288                                         compatible = "fsl,imx6sl-ssi", "fsl,imx51-ssi";
289                                         reg = <0x0202c000 0x4000>;
290                                         interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
291                                         dmas = <&sdma 41 22 0>, <&sdma 42 22 0>;
292                                         dma-names = "rx", "tx";
293                                         fsl,fifo-depth = <15>;
294                                         clocks = <&clks IMX6SLL_CLK_SSI2_IPG>,
295                                                  <&clks IMX6SLL_CLK_SSI2>;
296                                         clock-names = "ipg", "baud";
297                                         status = "disabled";
298                                 };
299
300                                 ssi3: ssi-controller@2030000 {
301                                         compatible = "fsl,imx6sl-ssi", "fsl,imx51-ssi";
302                                         reg = <0x02030000 0x4000>;
303                                         interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
304                                         dmas = <&sdma 45 22 0>, <&sdma 46 22 0>;
305                                         dma-names = "rx", "tx";
306                                         fsl,fifo-depth = <15>;
307                                         clocks = <&clks IMX6SLL_CLK_SSI3_IPG>,
308                                                  <&clks IMX6SLL_CLK_SSI3>;
309                                         clock-names = "ipg", "baud";
310                                         status = "disabled";
311                                 };
312
313                                 uart3: serial@2034000 {
314                                         compatible = "fsl,imx6sl-uart", "fsl,imx6q-uart",
315                                                      "fsl,imx21-uart";
316                                         reg = <0x02034000 0x4000>;
317                                         interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
318                                         dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
319                                         dma-name = "rx", "tx";
320                                         clocks = <&clks IMX6SLL_CLK_UART3_IPG>,
321                                                  <&clks IMX6SLL_CLK_UART3_SERIAL>;
322                                         clock-names = "ipg", "per";
323                                         status = "disabled";
324                                 };
325                         };
326
327                         pwm1: pwm@2080000 {
328                                 compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm";
329                                 reg = <0x02080000 0x4000>;
330                                 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
331                                 clocks = <&clks IMX6SLL_CLK_PWM1>,
332                                          <&clks IMX6SLL_CLK_PWM1>;
333                                 clock-names = "ipg", "per";
334                                 #pwm-cells = <2>;
335                         };
336
337                         pwm2: pwm@2084000 {
338                                 compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm";
339                                 reg = <0x02084000 0x4000>;
340                                 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
341                                 clocks = <&clks IMX6SLL_CLK_PWM2>,
342                                          <&clks IMX6SLL_CLK_PWM2>;
343                                 clock-names = "ipg", "per";
344                                 #pwm-cells = <2>;
345                         };
346
347                         pwm3: pwm@2088000 {
348                                 compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm";
349                                 reg = <0x02088000 0x4000>;
350                                 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
351                                 clocks = <&clks IMX6SLL_CLK_PWM3>,
352                                          <&clks IMX6SLL_CLK_PWM3>;
353                                 clock-names = "ipg", "per";
354                                 #pwm-cells = <2>;
355                         };
356
357                         pwm4: pwm@208c000 {
358                                 compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm";
359                                 reg = <0x0208c000 0x4000>;
360                                 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
361                                 clocks = <&clks IMX6SLL_CLK_PWM4>,
362                                          <&clks IMX6SLL_CLK_PWM4>;
363                                 clock-names = "ipg", "per";
364                                 #pwm-cells = <2>;
365                         };
366
367                         gpt1: timer@2098000 {
368                                 compatible = "fsl,imx6sl-gpt";
369                                 reg = <0x02098000 0x4000>;
370                                 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
371                                 clocks = <&clks IMX6SLL_CLK_GPT_BUS>,
372                                          <&clks IMX6SLL_CLK_GPT_SERIAL>;
373                                 clock-names = "ipg", "per";
374                         };
375
376                         gpio1: gpio@209c000 {
377                                 compatible = "fsl,imx6sll-gpio", "fsl,imx35-gpio";
378                                 reg = <0x0209c000 0x4000>;
379                                 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
380                                              <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
381                                 gpio-controller;
382                                 #gpio-cells = <2>;
383                                 interrupt-controller;
384                                 #interrupt-cells = <2>;
385                         };
386
387                         gpio2: gpio@20a0000 {
388                                 compatible = "fsl,imx6sll-gpio", "fsl,imx35-gpio";
389                                 reg = <0x020a0000 0x4000>;
390                                 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
391                                              <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
392                                 gpio-controller;
393                                 #gpio-cells = <2>;
394                                 interrupt-controller;
395                                 #interrupt-cells = <2>;
396                         };
397
398                         gpio3: gpio@20a4000 {
399                                 compatible = "fsl,imx6sll-gpio", "fsl,imx35-gpio";
400                                 reg = <0x020a4000 0x4000>;
401                                 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
402                                              <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
403                                 gpio-controller;
404                                 #gpio-cells = <2>;
405                                 interrupt-controller;
406                                 #interrupt-cells = <2>;
407                         };
408
409                         gpio4: gpio@20a8000 {
410                                 compatible = "fsl,imx6sll-gpio", "fsl,imx35-gpio";
411                                 reg = <0x020a8000 0x4000>;
412                                 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
413                                              <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
414                                 gpio-controller;
415                                 #gpio-cells = <2>;
416                                 interrupt-controller;
417                                 #interrupt-cells = <2>;
418                         };
419
420                         gpio5: gpio@20ac000 {
421                                 compatible = "fsl,imx6sll-gpio", "fsl,imx35-gpio";
422                                 reg = <0x020ac000 0x4000>;
423                                 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
424                                              <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
425                                 gpio-controller;
426                                 #gpio-cells = <2>;
427                                 interrupt-controller;
428                                 #interrupt-cells = <2>;
429                         };
430
431                         gpio6: gpio@20b0000 {
432                                 compatible = "fsl,imx6sll-gpio", "fsl,imx35-gpio";
433                                 reg = <0x020b0000 0x4000>;
434                                 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
435                                              <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
436                                 gpio-controller;
437                                 #gpio-cells = <2>;
438                                 interrupt-controller;
439                                 #interrupt-cells = <2>;
440                         };
441
442                         kpp: keypad@20b8000 {
443                                 compatible = "fsl,imx6sll-kpp", "fsl,imx21-kpp";
444                                 reg = <0x020b8000 0x4000>;
445                                 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
446                                 clocks = <&clks IMX6SLL_CLK_KPP>;
447                                 status = "disabled";
448                         };
449
450                         wdog1: watchdog@20bc000 {
451                                 compatible = "fsl,imx6sll-wdt", "fsl,imx21-wdt";
452                                 reg = <0x020bc000 0x4000>;
453                                 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
454                                 clocks = <&clks IMX6SLL_CLK_WDOG1>;
455                         };
456
457                         wdog2: watchdog@20c0000 {
458                                 compatible = "fsl,imx6sll-wdt", "fsl,imx21-wdt";
459                                 reg = <0x020c0000 0x4000>;
460                                 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
461                                 clocks = <&clks IMX6SLL_CLK_WDOG2>;
462                                 status = "disabled";
463                         };
464
465                         clks: clock-controller@20c4000 {
466                                 compatible = "fsl,imx6sll-ccm";
467                                 reg = <0x020c4000 0x4000>;
468                                 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
469                                              <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
470                                 #clock-cells = <1>;
471                                 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
472                                 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
473
474                                 assigned-clocks = <&clks IMX6SLL_CLK_PERCLK_SEL>;
475                                 assigned-clock-parents = <&clks IMX6SLL_CLK_OSC>;
476                         };
477
478                         anatop: anatop@20c8000 {
479                                 compatible = "fsl,imx6sll-anatop",
480                                              "fsl,imx6q-anatop",
481                                              "syscon", "simple-bus";
482                                 reg = <0x020c8000 0x4000>;
483                                 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
484                                              <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
485                                              <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
486                                 #address-cells = <1>;
487                                 #size-cells = <0>;
488
489                                 reg_3p0: regulator-3p0@20c8120 {
490                                         compatible = "fsl,anatop-regulator";
491                                         reg = <0x20c8120>;
492                                         regulator-name = "vdd3p0";
493                                         regulator-min-microvolt = <2625000>;
494                                         regulator-max-microvolt = <3400000>;
495                                         anatop-reg-offset = <0x120>;
496                                         anatop-vol-bit-shift = <8>;
497                                         anatop-vol-bit-width = <5>;
498                                         anatop-min-bit-val = <0>;
499                                         anatop-min-voltage = <2625000>;
500                                         anatop-max-voltage = <3400000>;
501                                         anatop-enable-bit = <0>;
502                                 };
503                         };
504
505                         usbphy1: usb-phy@20c9000 {
506                                 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy",
507                                                 "fsl,imx23-usbphy";
508                                 reg = <0x020c9000 0x1000>;
509                                 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
510                                 clocks = <&clks IMX6SLL_CLK_USBPHY1>;
511                                 phy-3p0-supply = <&reg_3p0>;
512                                 fsl,anatop = <&anatop>;
513                         };
514
515                         usbphy2: usb-phy@20ca000 {
516                                 compatible = "fsl,imx6sll-usbphy", "fsl,imx6ul-usbphy",
517                                                 "fsl,imx23-usbphy";
518                                 reg = <0x020ca000 0x1000>;
519                                 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
520                                 clocks = <&clks IMX6SLL_CLK_USBPHY2>;
521                                 phy-reg_3p0-supply = <&reg_3p0>;
522                                 fsl,anatop = <&anatop>;
523                         };
524
525                         snvs: snvs@20cc000 {
526                                 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
527                                 reg = <0x020cc000 0x4000>;
528
529                                 snvs_rtc: snvs-rtc-lp {
530                                         compatible = "fsl,sec-v4.0-mon-rtc-lp";
531                                         regmap = <&snvs>;
532                                         offset = <0x34>;
533                                         interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
534                                                      <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
535                                 };
536
537                                 snvs_poweroff: snvs-poweroff {
538                                         compatible = "syscon-poweroff";
539                                         regmap = <&snvs>;
540                                         offset = <0x38>;
541                                         mask = <0x61>;
542                                 };
543
544                                 snvs_pwrkey: snvs-powerkey {
545                                         compatible = "fsl,sec-v4.0-pwrkey";
546                                         regmap = <&snvs>;
547                                         interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
548                                         linux,keycode = <KEY_POWER>;
549                                         wakeup-source;
550                                 };
551                         };
552
553                         src: reset-controller@20d8000 {
554                                 compatible = "fsl,imx6sll-src", "fsl,imx51-src";
555                                 reg = <0x020d8000 0x4000>;
556                                 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
557                                              <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
558                                 #reset-cells = <1>;
559                         };
560
561                         gpc: interrupt-controller@20dc000 {
562                                 compatible = "fsl,imx6sll-gpc", "fsl,imx6q-gpc";
563                                 reg = <0x020dc000 0x4000>;
564                                 interrupt-controller;
565                                 #interrupt-cells = <3>;
566                                 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
567                                 interrupt-parent = <&intc>;
568                                 fsl,mf-mix-wakeup-irq = <0x7c00000 0x7d00 0x0 0x1400640>;
569                         };
570
571                         iomuxc: pinctrl@20e0000 {
572                                 compatible = "fsl,imx6sll-iomuxc";
573                                 reg = <0x020e0000 0x4000>;
574                         };
575
576                         gpr: iomuxc-gpr@20e4000 {
577                                 compatible = "fsl,imx6sll-iomuxc-gpr",
578                                              "fsl,imx6q-iomuxc-gpr", "syscon";
579                                 reg = <0x020e4000 0x4000>;
580                         };
581
582                         csi: csi@20e8000 {
583                                 compatible = "fsl,imx6sll-csi", "fsl,imx6s-csi";
584                                 reg = <0x020e8000 0x4000>;
585                                 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
586                                 clocks = <&clks IMX6SLL_CLK_DUMMY>,
587                                          <&clks IMX6SLL_CLK_CSI>,
588                                          <&clks IMX6SLL_CLK_DUMMY>;
589                                 clock-names = "disp-axi", "csi_mclk", "disp_dcic";
590                                 status = "disabled";
591                         };
592
593                         sdma: dma-controller@20ec000 {
594                                 compatible = "fsl,imx6sll-sdma", "fsl,imx35-sdma";
595                                 reg = <0x020ec000 0x4000>;
596                                 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
597                                 clocks = <&clks IMX6SLL_CLK_IPG>,
598                                          <&clks IMX6SLL_CLK_SDMA>;
599                                 clock-names = "ipg", "ahb";
600                                 #dma-cells = <3>;
601                                 iram = <&ocram>;
602                                 fsl,sdma-ram-script-name = "/*(DEBLOBBED)*/";
603                         };
604
605                         lcdif: lcd-controller@20f8000 {
606                                 compatible = "fsl,imx6sll-lcdif", "fsl,imx28-lcdif";
607                                 reg = <0x020f8000 0x4000>;
608                                 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
609                                 clocks = <&clks IMX6SLL_CLK_LCDIF_PIX>,
610                                          <&clks IMX6SLL_CLK_LCDIF_APB>,
611                                          <&clks IMX6SLL_CLK_DUMMY>;
612                                 clock-names = "pix", "axi", "disp_axi";
613                                 status = "disabled";
614                         };
615
616                         dcp: dcp@20fc000 {
617                                 compatible = "fsl,imx28-dcp";
618                                 reg = <0x020fc000 0x4000>;
619                                 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
620                                              <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
621                                              <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
622                                 clocks = <&clks IMX6SLL_CLK_DCP>;
623                                 clock-names = "dcp";
624                         };
625                 };
626
627                 aips2: aips-bus@2100000 {
628                         compatible = "fsl,aips-bus", "simple-bus";
629                         #address-cells = <1>;
630                         #size-cells = <1>;
631                         reg = <0x02100000 0x100000>;
632                         ranges;
633
634                         usbotg1: usb@2184000 {
635                                 compatible = "fsl,imx6sll-usb", "fsl,imx6ul-usb",
636                                                 "fsl,imx27-usb";
637                                 reg = <0x02184000 0x200>;
638                                 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
639                                 clocks = <&clks IMX6SLL_CLK_USBOH3>;
640                                 fsl,usbphy = <&usbphy1>;
641                                 fsl,usbmisc = <&usbmisc 0>;
642                                 fsl,anatop = <&anatop>;
643                                 ahb-burst-config = <0x0>;
644                                 tx-burst-size-dword = <0x10>;
645                                 rx-burst-size-dword = <0x10>;
646                                 status = "disabled";
647                         };
648
649                         usbotg2: usb@2184200 {
650                                 compatible = "fsl,imx6sll-usb", "fsl,imx6ul-usb",
651                                                 "fsl,imx27-usb";
652                                 reg = <0x02184200 0x200>;
653                                 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
654                                 clocks = <&clks IMX6SLL_CLK_USBOH3>;
655                                 fsl,usbphy = <&usbphy2>;
656                                 fsl,usbmisc = <&usbmisc 1>;
657                                 ahb-burst-config = <0x0>;
658                                 tx-burst-size-dword = <0x10>;
659                                 rx-burst-size-dword = <0x10>;
660                                 status = "disabled";
661                         };
662
663                         usbmisc: usbmisc@2184800 {
664                                 #index-cells = <1>;
665                                 compatible = "fsl,imx6sll-usbmisc", "fsl,imx6ul-usbmisc",
666                                                 "fsl,imx6q-usbmisc";
667                                 reg = <0x02184800 0x200>;
668                         };
669
670                         usdhc1: mmc@2190000 {
671                                 compatible = "fsl,imx6sll-usdhc", "fsl,imx6sx-usdhc";
672                                 reg = <0x02190000 0x4000>;
673                                 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
674                                 clocks = <&clks IMX6SLL_CLK_USDHC1>,
675                                          <&clks IMX6SLL_CLK_USDHC1>,
676                                          <&clks IMX6SLL_CLK_USDHC1>;
677                                 clock-names = "ipg", "ahb", "per";
678                                 bus-width = <4>;
679                                 fsl,tuning-step = <2>;
680                                 fsl,tuning-start-tap = <20>;
681                                 status = "disabled";
682                         };
683
684                         usdhc2: mmc@2194000 {
685                                 compatible = "fsl,imx6sll-usdhc", "fsl,imx6sx-usdhc";
686                                 reg = <0x02194000 0x4000>;
687                                 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
688                                 clocks = <&clks IMX6SLL_CLK_USDHC2>,
689                                          <&clks IMX6SLL_CLK_USDHC2>,
690                                          <&clks IMX6SLL_CLK_USDHC2>;
691                                 clock-names = "ipg", "ahb", "per";
692                                 bus-width = <4>;
693                                 fsl,tuning-step = <2>;
694                                 fsl,tuning-start-tap = <20>;
695                                 status = "disabled";
696                         };
697
698                         usdhc3: mmc@2198000 {
699                                 compatible = "fsl,imx6sll-usdhc", "fsl,imx6sx-usdhc";
700                                 reg = <0x02198000 0x4000>;
701                                 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
702                                 clocks = <&clks IMX6SLL_CLK_USDHC3>,
703                                          <&clks IMX6SLL_CLK_USDHC3>,
704                                          <&clks IMX6SLL_CLK_USDHC3>;
705                                 clock-names = "ipg", "ahb", "per";
706                                 bus-width = <4>;
707                                 fsl,tuning-step = <2>;
708                                 fsl,tuning-start-tap = <20>;
709                                 status = "disabled";
710                         };
711
712                         i2c1: i2c@21a0000 {
713                                 #address-cells = <1>;
714                                 #size-cells = <0>;
715                                 compatible = "fsl,imx6sll-i2c", "fsl,imx21-i2c";
716                                 reg = <0x021a0000 0x4000>;
717                                 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
718                                 clocks = <&clks IMX6SLL_CLK_I2C1>;
719                                 status = "disabled";
720                         };
721
722                         i2c2: i2c@21a4000 {
723                                 #address-cells = <1>;
724                                 #size-cells = <0>;
725                                 compatible = "fsl,imx6sll-i2c", "fsl,imx21-i2c";
726                                 reg = <0x021a4000 0x4000>;
727                                 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
728                                 clocks = <&clks IMX6SLL_CLK_I2C2>;
729                                 status = "disabled";
730                         };
731
732                         i2c3: i2c@21a8000 {
733                                 #address-cells = <1>;
734                                 #size-cells = <0>;
735                                 compatible = "fsl,imx6sll-i2c", "fsl,imx21-i2c";
736                                 reg = <0x021a8000 0x4000>;
737                                 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
738                                 clocks = <&clks IMX6SLL_CLK_I2C3>;
739                                 status = "disabled";
740                         };
741
742                         mmdc: memory-controller@21b0000 {
743                                 compatible = "fsl,imx6sll-mmdc", "fsl,imx6q-mmdc";
744                                 reg = <0x021b0000 0x4000>;
745                         };
746
747                         ocotp: ocotp-ctrl@21bc000 {
748                                 #address-cells = <1>;
749                                 #size-cells = <1>;
750                                 compatible = "fsl,imx6sll-ocotp", "syscon";
751                                 reg = <0x021bc000 0x4000>;
752                                 clocks = <&clks IMX6SLL_CLK_OCOTP>;
753
754                                 tempmon_calib: calib@38 {
755                                         reg = <0x38 4>;
756                                 };
757
758                                 tempmon_temp_grade: temp-grade@20 {
759                                         reg = <0x20 4>;
760                                 };
761                         };
762
763                         audmux: audmux@21d8000 {
764                                 compatible = "fsl,imx6sll-audmux", "fsl,imx31-audmux";
765                                 reg = <0x021d8000 0x4000>;
766                                 status = "disabled";
767                         };
768
769                         uart5: serial@21f4000 {
770                                 compatible = "fsl,imx6sll-uart", "fsl,imx6q-uart",
771                                              "fsl,imx21-uart";
772                                 reg = <0x021f4000 0x4000>;
773                                 interrupts =<GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
774                                 dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
775                                 dma-names = "rx", "tx";
776                                 clocks = <&clks IMX6SLL_CLK_UART5_IPG>,
777                                          <&clks IMX6SLL_CLK_UART5_SERIAL>;
778                                 clock-names = "ipg", "per";
779                                 status = "disabled";
780                         };
781                 };
782         };
783 };