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