xref: /rk3399_rockchip-uboot/arch/arm/dts/imx6sx.dtsi (revision 43ade93bdb0c8bd57382be810a05b3793749ce85)
1*6301e657SPeng Fan/*
2*6301e657SPeng Fan * Copyright 2014 Freescale Semiconductor, Inc.
3*6301e657SPeng Fan *
4*6301e657SPeng Fan * This program is free software; you can redistribute it and/or modify
5*6301e657SPeng Fan * it under the terms of the GNU General Public License version 2 as
6*6301e657SPeng Fan * published by the Free Software Foundation.
7*6301e657SPeng Fan */
8*6301e657SPeng Fan
9*6301e657SPeng Fan#include <dt-bindings/clock/imx6sx-clock.h>
10*6301e657SPeng Fan#include <dt-bindings/gpio/gpio.h>
11*6301e657SPeng Fan#include <dt-bindings/input/input.h>
12*6301e657SPeng Fan#include <dt-bindings/interrupt-controller/arm-gic.h>
13*6301e657SPeng Fan#include "imx6sx-pinfunc.h"
14*6301e657SPeng Fan#include "skeleton.dtsi"
15*6301e657SPeng Fan
16*6301e657SPeng Fan/ {
17*6301e657SPeng Fan	aliases {
18*6301e657SPeng Fan		can0 = &flexcan1;
19*6301e657SPeng Fan		can1 = &flexcan2;
20*6301e657SPeng Fan		ethernet0 = &fec1;
21*6301e657SPeng Fan		ethernet1 = &fec2;
22*6301e657SPeng Fan		gpio0 = &gpio1;
23*6301e657SPeng Fan		gpio1 = &gpio2;
24*6301e657SPeng Fan		gpio2 = &gpio3;
25*6301e657SPeng Fan		gpio3 = &gpio4;
26*6301e657SPeng Fan		gpio4 = &gpio5;
27*6301e657SPeng Fan		gpio5 = &gpio6;
28*6301e657SPeng Fan		gpio6 = &gpio7;
29*6301e657SPeng Fan		i2c0 = &i2c1;
30*6301e657SPeng Fan		i2c1 = &i2c2;
31*6301e657SPeng Fan		i2c2 = &i2c3;
32*6301e657SPeng Fan		i2c3 = &i2c4;
33*6301e657SPeng Fan		mmc0 = &usdhc1;
34*6301e657SPeng Fan		mmc1 = &usdhc2;
35*6301e657SPeng Fan		mmc2 = &usdhc3;
36*6301e657SPeng Fan		mmc3 = &usdhc4;
37*6301e657SPeng Fan		serial0 = &uart1;
38*6301e657SPeng Fan		serial1 = &uart2;
39*6301e657SPeng Fan		serial2 = &uart3;
40*6301e657SPeng Fan		serial3 = &uart4;
41*6301e657SPeng Fan		serial4 = &uart5;
42*6301e657SPeng Fan		serial5 = &uart6;
43*6301e657SPeng Fan		spi0 = &ecspi1;
44*6301e657SPeng Fan		spi1 = &ecspi2;
45*6301e657SPeng Fan		spi2 = &ecspi3;
46*6301e657SPeng Fan		spi3 = &ecspi4;
47*6301e657SPeng Fan		spi4 = &ecspi5;
48*6301e657SPeng Fan		usbphy0 = &usbphy1;
49*6301e657SPeng Fan		usbphy1 = &usbphy2;
50*6301e657SPeng Fan	};
51*6301e657SPeng Fan
52*6301e657SPeng Fan	cpus {
53*6301e657SPeng Fan		#address-cells = <1>;
54*6301e657SPeng Fan		#size-cells = <0>;
55*6301e657SPeng Fan
56*6301e657SPeng Fan		cpu0: cpu@0 {
57*6301e657SPeng Fan			compatible = "arm,cortex-a9";
58*6301e657SPeng Fan			device_type = "cpu";
59*6301e657SPeng Fan			reg = <0>;
60*6301e657SPeng Fan			next-level-cache = <&L2>;
61*6301e657SPeng Fan			operating-points = <
62*6301e657SPeng Fan				/* kHz    uV */
63*6301e657SPeng Fan				996000  1250000
64*6301e657SPeng Fan				792000  1175000
65*6301e657SPeng Fan				396000  1075000
66*6301e657SPeng Fan				198000	975000
67*6301e657SPeng Fan			>;
68*6301e657SPeng Fan			fsl,soc-operating-points = <
69*6301e657SPeng Fan				/* ARM kHz  SOC uV */
70*6301e657SPeng Fan				996000      1175000
71*6301e657SPeng Fan				792000      1175000
72*6301e657SPeng Fan				396000      1175000
73*6301e657SPeng Fan				198000	    1175000
74*6301e657SPeng Fan			>;
75*6301e657SPeng Fan			clock-latency = <61036>; /* two CLK32 periods */
76*6301e657SPeng Fan			clocks = <&clks IMX6SX_CLK_ARM>,
77*6301e657SPeng Fan				 <&clks IMX6SX_CLK_PLL2_PFD2>,
78*6301e657SPeng Fan				 <&clks IMX6SX_CLK_STEP>,
79*6301e657SPeng Fan				 <&clks IMX6SX_CLK_PLL1_SW>,
80*6301e657SPeng Fan				 <&clks IMX6SX_CLK_PLL1_SYS>;
81*6301e657SPeng Fan			clock-names = "arm", "pll2_pfd2_396m", "step",
82*6301e657SPeng Fan				      "pll1_sw", "pll1_sys";
83*6301e657SPeng Fan			arm-supply = <&reg_arm>;
84*6301e657SPeng Fan			soc-supply = <&reg_soc>;
85*6301e657SPeng Fan		};
86*6301e657SPeng Fan	};
87*6301e657SPeng Fan
88*6301e657SPeng Fan	intc: interrupt-controller@00a01000 {
89*6301e657SPeng Fan		compatible = "arm,cortex-a9-gic";
90*6301e657SPeng Fan		#interrupt-cells = <3>;
91*6301e657SPeng Fan		interrupt-controller;
92*6301e657SPeng Fan		reg = <0x00a01000 0x1000>,
93*6301e657SPeng Fan		      <0x00a00100 0x100>;
94*6301e657SPeng Fan		interrupt-parent = <&intc>;
95*6301e657SPeng Fan	};
96*6301e657SPeng Fan
97*6301e657SPeng Fan	clocks {
98*6301e657SPeng Fan		#address-cells = <1>;
99*6301e657SPeng Fan		#size-cells = <0>;
100*6301e657SPeng Fan
101*6301e657SPeng Fan		ckil: clock@0 {
102*6301e657SPeng Fan			compatible = "fixed-clock";
103*6301e657SPeng Fan			reg = <0>;
104*6301e657SPeng Fan			#clock-cells = <0>;
105*6301e657SPeng Fan			clock-frequency = <32768>;
106*6301e657SPeng Fan			clock-output-names = "ckil";
107*6301e657SPeng Fan		};
108*6301e657SPeng Fan
109*6301e657SPeng Fan		osc: clock@1 {
110*6301e657SPeng Fan			compatible = "fixed-clock";
111*6301e657SPeng Fan			reg = <1>;
112*6301e657SPeng Fan			#clock-cells = <0>;
113*6301e657SPeng Fan			clock-frequency = <24000000>;
114*6301e657SPeng Fan			clock-output-names = "osc";
115*6301e657SPeng Fan		};
116*6301e657SPeng Fan
117*6301e657SPeng Fan		ipp_di0: clock@2 {
118*6301e657SPeng Fan			compatible = "fixed-clock";
119*6301e657SPeng Fan			reg = <2>;
120*6301e657SPeng Fan			#clock-cells = <0>;
121*6301e657SPeng Fan			clock-frequency = <0>;
122*6301e657SPeng Fan			clock-output-names = "ipp_di0";
123*6301e657SPeng Fan		};
124*6301e657SPeng Fan
125*6301e657SPeng Fan		ipp_di1: clock@3 {
126*6301e657SPeng Fan			compatible = "fixed-clock";
127*6301e657SPeng Fan			reg = <3>;
128*6301e657SPeng Fan			#clock-cells = <0>;
129*6301e657SPeng Fan			clock-frequency = <0>;
130*6301e657SPeng Fan			clock-output-names = "ipp_di1";
131*6301e657SPeng Fan		};
132*6301e657SPeng Fan	};
133*6301e657SPeng Fan
134*6301e657SPeng Fan	soc {
135*6301e657SPeng Fan		#address-cells = <1>;
136*6301e657SPeng Fan		#size-cells = <1>;
137*6301e657SPeng Fan		compatible = "simple-bus";
138*6301e657SPeng Fan		interrupt-parent = <&gpc>;
139*6301e657SPeng Fan		ranges;
140*6301e657SPeng Fan
141*6301e657SPeng Fan		pmu {
142*6301e657SPeng Fan			compatible = "arm,cortex-a9-pmu";
143*6301e657SPeng Fan			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
144*6301e657SPeng Fan		};
145*6301e657SPeng Fan
146*6301e657SPeng Fan		ocram: sram@00900000 {
147*6301e657SPeng Fan			compatible = "mmio-sram";
148*6301e657SPeng Fan			reg = <0x00900000 0x20000>;
149*6301e657SPeng Fan			clocks = <&clks IMX6SX_CLK_OCRAM>;
150*6301e657SPeng Fan		};
151*6301e657SPeng Fan
152*6301e657SPeng Fan		L2: l2-cache@00a02000 {
153*6301e657SPeng Fan			compatible = "arm,pl310-cache";
154*6301e657SPeng Fan			reg = <0x00a02000 0x1000>;
155*6301e657SPeng Fan			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
156*6301e657SPeng Fan			cache-unified;
157*6301e657SPeng Fan			cache-level = <2>;
158*6301e657SPeng Fan			arm,tag-latency = <4 2 3>;
159*6301e657SPeng Fan			arm,data-latency = <4 2 3>;
160*6301e657SPeng Fan		};
161*6301e657SPeng Fan
162*6301e657SPeng Fan		gpu: gpu@01800000 {
163*6301e657SPeng Fan			compatible = "vivante,gc";
164*6301e657SPeng Fan			reg = <0x01800000 0x4000>;
165*6301e657SPeng Fan			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
166*6301e657SPeng Fan			clocks = <&clks IMX6SX_CLK_GPU>,
167*6301e657SPeng Fan				 <&clks IMX6SX_CLK_GPU>,
168*6301e657SPeng Fan				 <&clks IMX6SX_CLK_GPU>;
169*6301e657SPeng Fan			clock-names = "bus", "core", "shader";
170*6301e657SPeng Fan		};
171*6301e657SPeng Fan
172*6301e657SPeng Fan		dma_apbh: dma-apbh@01804000 {
173*6301e657SPeng Fan			compatible = "fsl,imx6sx-dma-apbh", "fsl,imx28-dma-apbh";
174*6301e657SPeng Fan			reg = <0x01804000 0x2000>;
175*6301e657SPeng Fan			interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
176*6301e657SPeng Fan				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
177*6301e657SPeng Fan				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
178*6301e657SPeng Fan				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
179*6301e657SPeng Fan			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
180*6301e657SPeng Fan			#dma-cells = <1>;
181*6301e657SPeng Fan			dma-channels = <4>;
182*6301e657SPeng Fan			clocks = <&clks IMX6SX_CLK_APBH_DMA>;
183*6301e657SPeng Fan		};
184*6301e657SPeng Fan
185*6301e657SPeng Fan		gpmi: gpmi-nand@01806000{
186*6301e657SPeng Fan			compatible = "fsl,imx6sx-gpmi-nand";
187*6301e657SPeng Fan			#address-cells = <1>;
188*6301e657SPeng Fan			#size-cells = <1>;
189*6301e657SPeng Fan			reg = <0x01806000 0x2000>, <0x01808000 0x4000>;
190*6301e657SPeng Fan			reg-names = "gpmi-nand", "bch";
191*6301e657SPeng Fan			interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
192*6301e657SPeng Fan			interrupt-names = "bch";
193*6301e657SPeng Fan			clocks = <&clks IMX6SX_CLK_GPMI_IO>,
194*6301e657SPeng Fan				 <&clks IMX6SX_CLK_GPMI_APB>,
195*6301e657SPeng Fan				 <&clks IMX6SX_CLK_GPMI_BCH>,
196*6301e657SPeng Fan				 <&clks IMX6SX_CLK_GPMI_BCH_APB>,
197*6301e657SPeng Fan				 <&clks IMX6SX_CLK_PER1_BCH>;
198*6301e657SPeng Fan			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
199*6301e657SPeng Fan				      "gpmi_bch_apb", "per1_bch";
200*6301e657SPeng Fan			dmas = <&dma_apbh 0>;
201*6301e657SPeng Fan			dma-names = "rx-tx";
202*6301e657SPeng Fan			status = "disabled";
203*6301e657SPeng Fan		};
204*6301e657SPeng Fan
205*6301e657SPeng Fan		aips1: aips-bus@02000000 {
206*6301e657SPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
207*6301e657SPeng Fan			#address-cells = <1>;
208*6301e657SPeng Fan			#size-cells = <1>;
209*6301e657SPeng Fan			reg = <0x02000000 0x100000>;
210*6301e657SPeng Fan			ranges;
211*6301e657SPeng Fan
212*6301e657SPeng Fan			spba-bus@02000000 {
213*6301e657SPeng Fan				compatible = "fsl,spba-bus", "simple-bus";
214*6301e657SPeng Fan				#address-cells = <1>;
215*6301e657SPeng Fan				#size-cells = <1>;
216*6301e657SPeng Fan				reg = <0x02000000 0x40000>;
217*6301e657SPeng Fan				ranges;
218*6301e657SPeng Fan
219*6301e657SPeng Fan				spdif: spdif@02004000 {
220*6301e657SPeng Fan					compatible = "fsl,imx6sx-spdif", "fsl,imx35-spdif";
221*6301e657SPeng Fan					reg = <0x02004000 0x4000>;
222*6301e657SPeng Fan					interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
223*6301e657SPeng Fan					dmas = <&sdma 14 18 0>,
224*6301e657SPeng Fan					       <&sdma 15 18 0>;
225*6301e657SPeng Fan					dma-names = "rx", "tx";
226*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_SPDIF_GCLK>,
227*6301e657SPeng Fan						 <&clks IMX6SX_CLK_OSC>,
228*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SPDIF>,
229*6301e657SPeng Fan						 <&clks 0>, <&clks 0>, <&clks 0>,
230*6301e657SPeng Fan						 <&clks IMX6SX_CLK_IPG>,
231*6301e657SPeng Fan						 <&clks 0>, <&clks 0>,
232*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SPBA>;
233*6301e657SPeng Fan					clock-names = "core", "rxtx0",
234*6301e657SPeng Fan						      "rxtx1", "rxtx2",
235*6301e657SPeng Fan						      "rxtx3", "rxtx4",
236*6301e657SPeng Fan						      "rxtx5", "rxtx6",
237*6301e657SPeng Fan						      "rxtx7", "spba";
238*6301e657SPeng Fan					status = "disabled";
239*6301e657SPeng Fan				};
240*6301e657SPeng Fan
241*6301e657SPeng Fan				ecspi1: ecspi@02008000 {
242*6301e657SPeng Fan					#address-cells = <1>;
243*6301e657SPeng Fan					#size-cells = <0>;
244*6301e657SPeng Fan					compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
245*6301e657SPeng Fan					reg = <0x02008000 0x4000>;
246*6301e657SPeng Fan					interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
247*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_ECSPI1>,
248*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ECSPI1>;
249*6301e657SPeng Fan					clock-names = "ipg", "per";
250*6301e657SPeng Fan					status = "disabled";
251*6301e657SPeng Fan				};
252*6301e657SPeng Fan
253*6301e657SPeng Fan				ecspi2: ecspi@0200c000 {
254*6301e657SPeng Fan					#address-cells = <1>;
255*6301e657SPeng Fan					#size-cells = <0>;
256*6301e657SPeng Fan					compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
257*6301e657SPeng Fan					reg = <0x0200c000 0x4000>;
258*6301e657SPeng Fan					interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
259*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_ECSPI2>,
260*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ECSPI2>;
261*6301e657SPeng Fan					clock-names = "ipg", "per";
262*6301e657SPeng Fan					status = "disabled";
263*6301e657SPeng Fan				};
264*6301e657SPeng Fan
265*6301e657SPeng Fan				ecspi3: ecspi@02010000 {
266*6301e657SPeng Fan					#address-cells = <1>;
267*6301e657SPeng Fan					#size-cells = <0>;
268*6301e657SPeng Fan					compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
269*6301e657SPeng Fan					reg = <0x02010000 0x4000>;
270*6301e657SPeng Fan					interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
271*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_ECSPI3>,
272*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ECSPI3>;
273*6301e657SPeng Fan					clock-names = "ipg", "per";
274*6301e657SPeng Fan					status = "disabled";
275*6301e657SPeng Fan				};
276*6301e657SPeng Fan
277*6301e657SPeng Fan				ecspi4: ecspi@02014000 {
278*6301e657SPeng Fan					#address-cells = <1>;
279*6301e657SPeng Fan					#size-cells = <0>;
280*6301e657SPeng Fan					compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
281*6301e657SPeng Fan					reg = <0x02014000 0x4000>;
282*6301e657SPeng Fan					interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
283*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_ECSPI4>,
284*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ECSPI4>;
285*6301e657SPeng Fan					clock-names = "ipg", "per";
286*6301e657SPeng Fan					status = "disabled";
287*6301e657SPeng Fan				};
288*6301e657SPeng Fan
289*6301e657SPeng Fan				uart1: serial@02020000 {
290*6301e657SPeng Fan					compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
291*6301e657SPeng Fan					reg = <0x02020000 0x4000>;
292*6301e657SPeng Fan					interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
293*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_UART_IPG>,
294*6301e657SPeng Fan						 <&clks IMX6SX_CLK_UART_SERIAL>;
295*6301e657SPeng Fan					clock-names = "ipg", "per";
296*6301e657SPeng Fan					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
297*6301e657SPeng Fan					dma-names = "rx", "tx";
298*6301e657SPeng Fan					status = "disabled";
299*6301e657SPeng Fan				};
300*6301e657SPeng Fan
301*6301e657SPeng Fan				esai: esai@02024000 {
302*6301e657SPeng Fan					reg = <0x02024000 0x4000>;
303*6301e657SPeng Fan					interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
304*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_ESAI_IPG>,
305*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ESAI_MEM>,
306*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ESAI_EXTAL>,
307*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ESAI_IPG>,
308*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SPBA>;
309*6301e657SPeng Fan					clock-names = "core", "mem", "extal",
310*6301e657SPeng Fan						      "fsys", "spba";
311*6301e657SPeng Fan					status = "disabled";
312*6301e657SPeng Fan				};
313*6301e657SPeng Fan
314*6301e657SPeng Fan				ssi1: ssi@02028000 {
315*6301e657SPeng Fan					#sound-dai-cells = <0>;
316*6301e657SPeng Fan					compatible = "fsl,imx6sx-ssi", "fsl,imx51-ssi";
317*6301e657SPeng Fan					reg = <0x02028000 0x4000>;
318*6301e657SPeng Fan					interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
319*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_SSI1_IPG>,
320*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SSI1>;
321*6301e657SPeng Fan					clock-names = "ipg", "baud";
322*6301e657SPeng Fan					dmas = <&sdma 37 1 0>, <&sdma 38 1 0>;
323*6301e657SPeng Fan					dma-names = "rx", "tx";
324*6301e657SPeng Fan					fsl,fifo-depth = <15>;
325*6301e657SPeng Fan					status = "disabled";
326*6301e657SPeng Fan				};
327*6301e657SPeng Fan
328*6301e657SPeng Fan				ssi2: ssi@0202c000 {
329*6301e657SPeng Fan					#sound-dai-cells = <0>;
330*6301e657SPeng Fan					compatible = "fsl,imx6sx-ssi", "fsl,imx51-ssi";
331*6301e657SPeng Fan					reg = <0x0202c000 0x4000>;
332*6301e657SPeng Fan					interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
333*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_SSI2_IPG>,
334*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SSI2>;
335*6301e657SPeng Fan					clock-names = "ipg", "baud";
336*6301e657SPeng Fan					dmas = <&sdma 41 1 0>, <&sdma 42 1 0>;
337*6301e657SPeng Fan					dma-names = "rx", "tx";
338*6301e657SPeng Fan					fsl,fifo-depth = <15>;
339*6301e657SPeng Fan					status = "disabled";
340*6301e657SPeng Fan				};
341*6301e657SPeng Fan
342*6301e657SPeng Fan				ssi3: ssi@02030000 {
343*6301e657SPeng Fan					#sound-dai-cells = <0>;
344*6301e657SPeng Fan					compatible = "fsl,imx6sx-ssi", "fsl,imx51-ssi";
345*6301e657SPeng Fan					reg = <0x02030000 0x4000>;
346*6301e657SPeng Fan					interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
347*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_SSI3_IPG>,
348*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SSI3>;
349*6301e657SPeng Fan					clock-names = "ipg", "baud";
350*6301e657SPeng Fan					dmas = <&sdma 45 1 0>, <&sdma 46 1 0>;
351*6301e657SPeng Fan					dma-names = "rx", "tx";
352*6301e657SPeng Fan					fsl,fifo-depth = <15>;
353*6301e657SPeng Fan					status = "disabled";
354*6301e657SPeng Fan				};
355*6301e657SPeng Fan
356*6301e657SPeng Fan				asrc: asrc@02034000 {
357*6301e657SPeng Fan					reg = <0x02034000 0x4000>;
358*6301e657SPeng Fan					interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
359*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_ASRC_MEM>,
360*6301e657SPeng Fan						 <&clks IMX6SX_CLK_ASRC_IPG>,
361*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SPDIF>,
362*6301e657SPeng Fan						 <&clks IMX6SX_CLK_SPBA>;
363*6301e657SPeng Fan					clock-names = "mem", "ipg", "asrck", "spba";
364*6301e657SPeng Fan					dmas = <&sdma 17 20 1>, <&sdma 18 20 1>,
365*6301e657SPeng Fan					       <&sdma 19 20 1>, <&sdma 20 20 1>,
366*6301e657SPeng Fan					       <&sdma 21 20 1>, <&sdma 22 20 1>;
367*6301e657SPeng Fan					dma-names = "rxa", "rxb", "rxc",
368*6301e657SPeng Fan						    "txa", "txb", "txc";
369*6301e657SPeng Fan					status = "okay";
370*6301e657SPeng Fan				};
371*6301e657SPeng Fan			};
372*6301e657SPeng Fan
373*6301e657SPeng Fan			pwm1: pwm@02080000 {
374*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
375*6301e657SPeng Fan				reg = <0x02080000 0x4000>;
376*6301e657SPeng Fan				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
377*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM1>,
378*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM1>;
379*6301e657SPeng Fan				clock-names = "ipg", "per";
380*6301e657SPeng Fan				#pwm-cells = <2>;
381*6301e657SPeng Fan			};
382*6301e657SPeng Fan
383*6301e657SPeng Fan			pwm2: pwm@02084000 {
384*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
385*6301e657SPeng Fan				reg = <0x02084000 0x4000>;
386*6301e657SPeng Fan				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
387*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM2>,
388*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM2>;
389*6301e657SPeng Fan				clock-names = "ipg", "per";
390*6301e657SPeng Fan				#pwm-cells = <2>;
391*6301e657SPeng Fan			};
392*6301e657SPeng Fan
393*6301e657SPeng Fan			pwm3: pwm@02088000 {
394*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
395*6301e657SPeng Fan				reg = <0x02088000 0x4000>;
396*6301e657SPeng Fan				interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
397*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM3>,
398*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM3>;
399*6301e657SPeng Fan				clock-names = "ipg", "per";
400*6301e657SPeng Fan				#pwm-cells = <2>;
401*6301e657SPeng Fan			};
402*6301e657SPeng Fan
403*6301e657SPeng Fan			pwm4: pwm@0208c000 {
404*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
405*6301e657SPeng Fan				reg = <0x0208c000 0x4000>;
406*6301e657SPeng Fan				interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
407*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM4>,
408*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM4>;
409*6301e657SPeng Fan				clock-names = "ipg", "per";
410*6301e657SPeng Fan				#pwm-cells = <2>;
411*6301e657SPeng Fan			};
412*6301e657SPeng Fan
413*6301e657SPeng Fan			flexcan1: can@02090000 {
414*6301e657SPeng Fan				compatible = "fsl,imx6sx-flexcan", "fsl,imx6q-flexcan";
415*6301e657SPeng Fan				reg = <0x02090000 0x4000>;
416*6301e657SPeng Fan				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
417*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_CAN1_IPG>,
418*6301e657SPeng Fan					 <&clks IMX6SX_CLK_CAN1_SERIAL>;
419*6301e657SPeng Fan				clock-names = "ipg", "per";
420*6301e657SPeng Fan				status = "disabled";
421*6301e657SPeng Fan			};
422*6301e657SPeng Fan
423*6301e657SPeng Fan			flexcan2: can@02094000 {
424*6301e657SPeng Fan				compatible = "fsl,imx6sx-flexcan", "fsl,imx6q-flexcan";
425*6301e657SPeng Fan				reg = <0x02094000 0x4000>;
426*6301e657SPeng Fan				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
427*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_CAN2_IPG>,
428*6301e657SPeng Fan					 <&clks IMX6SX_CLK_CAN2_SERIAL>;
429*6301e657SPeng Fan				clock-names = "ipg", "per";
430*6301e657SPeng Fan				status = "disabled";
431*6301e657SPeng Fan			};
432*6301e657SPeng Fan
433*6301e657SPeng Fan			gpt: gpt@02098000 {
434*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpt", "fsl,imx31-gpt";
435*6301e657SPeng Fan				reg = <0x02098000 0x4000>;
436*6301e657SPeng Fan				interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
437*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_GPT_BUS>,
438*6301e657SPeng Fan					 <&clks IMX6SX_CLK_GPT_3M>;
439*6301e657SPeng Fan				clock-names = "ipg", "per";
440*6301e657SPeng Fan			};
441*6301e657SPeng Fan
442*6301e657SPeng Fan			gpio1: gpio@0209c000 {
443*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
444*6301e657SPeng Fan				reg = <0x0209c000 0x4000>;
445*6301e657SPeng Fan				interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
446*6301e657SPeng Fan					     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
447*6301e657SPeng Fan				gpio-controller;
448*6301e657SPeng Fan				#gpio-cells = <2>;
449*6301e657SPeng Fan				interrupt-controller;
450*6301e657SPeng Fan				#interrupt-cells = <2>;
451*6301e657SPeng Fan				gpio-ranges = <&iomuxc 0 5 26>;
452*6301e657SPeng Fan			};
453*6301e657SPeng Fan
454*6301e657SPeng Fan			gpio2: gpio@020a0000 {
455*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
456*6301e657SPeng Fan				reg = <0x020a0000 0x4000>;
457*6301e657SPeng Fan				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
458*6301e657SPeng Fan					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
459*6301e657SPeng Fan				gpio-controller;
460*6301e657SPeng Fan				#gpio-cells = <2>;
461*6301e657SPeng Fan				interrupt-controller;
462*6301e657SPeng Fan				#interrupt-cells = <2>;
463*6301e657SPeng Fan				gpio-ranges = <&iomuxc 0 31 20>;
464*6301e657SPeng Fan			};
465*6301e657SPeng Fan
466*6301e657SPeng Fan			gpio3: gpio@020a4000 {
467*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
468*6301e657SPeng Fan				reg = <0x020a4000 0x4000>;
469*6301e657SPeng Fan				interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
470*6301e657SPeng Fan					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
471*6301e657SPeng Fan				gpio-controller;
472*6301e657SPeng Fan				#gpio-cells = <2>;
473*6301e657SPeng Fan				interrupt-controller;
474*6301e657SPeng Fan				#interrupt-cells = <2>;
475*6301e657SPeng Fan				gpio-ranges = <&iomuxc 0 51 29>;
476*6301e657SPeng Fan			};
477*6301e657SPeng Fan
478*6301e657SPeng Fan			gpio4: gpio@020a8000 {
479*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
480*6301e657SPeng Fan				reg = <0x020a8000 0x4000>;
481*6301e657SPeng Fan				interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
482*6301e657SPeng Fan					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
483*6301e657SPeng Fan				gpio-controller;
484*6301e657SPeng Fan				#gpio-cells = <2>;
485*6301e657SPeng Fan				interrupt-controller;
486*6301e657SPeng Fan				#interrupt-cells = <2>;
487*6301e657SPeng Fan				gpio-ranges = <&iomuxc 0 80 32>;
488*6301e657SPeng Fan			};
489*6301e657SPeng Fan
490*6301e657SPeng Fan			gpio5: gpio@020ac000 {
491*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
492*6301e657SPeng Fan				reg = <0x020ac000 0x4000>;
493*6301e657SPeng Fan				interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
494*6301e657SPeng Fan					     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
495*6301e657SPeng Fan				gpio-controller;
496*6301e657SPeng Fan				#gpio-cells = <2>;
497*6301e657SPeng Fan				interrupt-controller;
498*6301e657SPeng Fan				#interrupt-cells = <2>;
499*6301e657SPeng Fan				gpio-ranges = <&iomuxc 0 112 24>;
500*6301e657SPeng Fan			};
501*6301e657SPeng Fan
502*6301e657SPeng Fan			gpio6: gpio@020b0000 {
503*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
504*6301e657SPeng Fan				reg = <0x020b0000 0x4000>;
505*6301e657SPeng Fan				interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
506*6301e657SPeng Fan					     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
507*6301e657SPeng Fan				gpio-controller;
508*6301e657SPeng Fan				#gpio-cells = <2>;
509*6301e657SPeng Fan				interrupt-controller;
510*6301e657SPeng Fan				#interrupt-cells = <2>;
511*6301e657SPeng Fan				gpio-ranges = <&iomuxc 0 136 12>, <&iomuxc 12 158 11>;
512*6301e657SPeng Fan			};
513*6301e657SPeng Fan
514*6301e657SPeng Fan			gpio7: gpio@020b4000 {
515*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
516*6301e657SPeng Fan				reg = <0x020b4000 0x4000>;
517*6301e657SPeng Fan				interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
518*6301e657SPeng Fan					     <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
519*6301e657SPeng Fan				gpio-controller;
520*6301e657SPeng Fan				#gpio-cells = <2>;
521*6301e657SPeng Fan				interrupt-controller;
522*6301e657SPeng Fan				#interrupt-cells = <2>;
523*6301e657SPeng Fan				gpio-ranges = <&iomuxc 0 148 10>, <&iomuxc 10 169 2>;
524*6301e657SPeng Fan			};
525*6301e657SPeng Fan
526*6301e657SPeng Fan			kpp: kpp@020b8000 {
527*6301e657SPeng Fan				compatible = "fsl,imx6sx-kpp", "fsl,imx21-kpp";
528*6301e657SPeng Fan				reg = <0x020b8000 0x4000>;
529*6301e657SPeng Fan				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
530*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_DUMMY>;
531*6301e657SPeng Fan				status = "disabled";
532*6301e657SPeng Fan			};
533*6301e657SPeng Fan
534*6301e657SPeng Fan			wdog1: wdog@020bc000 {
535*6301e657SPeng Fan				compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt";
536*6301e657SPeng Fan				reg = <0x020bc000 0x4000>;
537*6301e657SPeng Fan				interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
538*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_DUMMY>;
539*6301e657SPeng Fan			};
540*6301e657SPeng Fan
541*6301e657SPeng Fan			wdog2: wdog@020c0000 {
542*6301e657SPeng Fan				compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt";
543*6301e657SPeng Fan				reg = <0x020c0000 0x4000>;
544*6301e657SPeng Fan				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
545*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_DUMMY>;
546*6301e657SPeng Fan				status = "disabled";
547*6301e657SPeng Fan			};
548*6301e657SPeng Fan
549*6301e657SPeng Fan			clks: ccm@020c4000 {
550*6301e657SPeng Fan				compatible = "fsl,imx6sx-ccm";
551*6301e657SPeng Fan				reg = <0x020c4000 0x4000>;
552*6301e657SPeng Fan				interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
553*6301e657SPeng Fan					     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
554*6301e657SPeng Fan				#clock-cells = <1>;
555*6301e657SPeng Fan				clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
556*6301e657SPeng Fan				clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
557*6301e657SPeng Fan			};
558*6301e657SPeng Fan
559*6301e657SPeng Fan			anatop: anatop@020c8000 {
560*6301e657SPeng Fan				compatible = "fsl,imx6sx-anatop", "fsl,imx6q-anatop",
561*6301e657SPeng Fan					     "syscon", "simple-bus";
562*6301e657SPeng Fan				reg = <0x020c8000 0x1000>;
563*6301e657SPeng Fan				interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
564*6301e657SPeng Fan					     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
565*6301e657SPeng Fan					     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
566*6301e657SPeng Fan
567*6301e657SPeng Fan				regulator-1p1 {
568*6301e657SPeng Fan					compatible = "fsl,anatop-regulator";
569*6301e657SPeng Fan					regulator-name = "vdd1p1";
570*6301e657SPeng Fan					regulator-min-microvolt = <800000>;
571*6301e657SPeng Fan					regulator-max-microvolt = <1375000>;
572*6301e657SPeng Fan					regulator-always-on;
573*6301e657SPeng Fan					anatop-reg-offset = <0x110>;
574*6301e657SPeng Fan					anatop-vol-bit-shift = <8>;
575*6301e657SPeng Fan					anatop-vol-bit-width = <5>;
576*6301e657SPeng Fan					anatop-min-bit-val = <4>;
577*6301e657SPeng Fan					anatop-min-voltage = <800000>;
578*6301e657SPeng Fan					anatop-max-voltage = <1375000>;
579*6301e657SPeng Fan				};
580*6301e657SPeng Fan
581*6301e657SPeng Fan				regulator-3p0 {
582*6301e657SPeng Fan					compatible = "fsl,anatop-regulator";
583*6301e657SPeng Fan					regulator-name = "vdd3p0";
584*6301e657SPeng Fan					regulator-min-microvolt = <2800000>;
585*6301e657SPeng Fan					regulator-max-microvolt = <3150000>;
586*6301e657SPeng Fan					regulator-always-on;
587*6301e657SPeng Fan					anatop-reg-offset = <0x120>;
588*6301e657SPeng Fan					anatop-vol-bit-shift = <8>;
589*6301e657SPeng Fan					anatop-vol-bit-width = <5>;
590*6301e657SPeng Fan					anatop-min-bit-val = <0>;
591*6301e657SPeng Fan					anatop-min-voltage = <2625000>;
592*6301e657SPeng Fan					anatop-max-voltage = <3400000>;
593*6301e657SPeng Fan				};
594*6301e657SPeng Fan
595*6301e657SPeng Fan				regulator-2p5 {
596*6301e657SPeng Fan					compatible = "fsl,anatop-regulator";
597*6301e657SPeng Fan					regulator-name = "vdd2p5";
598*6301e657SPeng Fan					regulator-min-microvolt = <2100000>;
599*6301e657SPeng Fan					regulator-max-microvolt = <2875000>;
600*6301e657SPeng Fan					regulator-always-on;
601*6301e657SPeng Fan					anatop-reg-offset = <0x130>;
602*6301e657SPeng Fan					anatop-vol-bit-shift = <8>;
603*6301e657SPeng Fan					anatop-vol-bit-width = <5>;
604*6301e657SPeng Fan					anatop-min-bit-val = <0>;
605*6301e657SPeng Fan					anatop-min-voltage = <2100000>;
606*6301e657SPeng Fan					anatop-max-voltage = <2875000>;
607*6301e657SPeng Fan				};
608*6301e657SPeng Fan
609*6301e657SPeng Fan				reg_arm: regulator-vddcore {
610*6301e657SPeng Fan					compatible = "fsl,anatop-regulator";
611*6301e657SPeng Fan					regulator-name = "vddarm";
612*6301e657SPeng Fan					regulator-min-microvolt = <725000>;
613*6301e657SPeng Fan					regulator-max-microvolt = <1450000>;
614*6301e657SPeng Fan					regulator-always-on;
615*6301e657SPeng Fan					anatop-reg-offset = <0x140>;
616*6301e657SPeng Fan					anatop-vol-bit-shift = <0>;
617*6301e657SPeng Fan					anatop-vol-bit-width = <5>;
618*6301e657SPeng Fan					anatop-delay-reg-offset = <0x170>;
619*6301e657SPeng Fan					anatop-delay-bit-shift = <24>;
620*6301e657SPeng Fan					anatop-delay-bit-width = <2>;
621*6301e657SPeng Fan					anatop-min-bit-val = <1>;
622*6301e657SPeng Fan					anatop-min-voltage = <725000>;
623*6301e657SPeng Fan					anatop-max-voltage = <1450000>;
624*6301e657SPeng Fan				};
625*6301e657SPeng Fan
626*6301e657SPeng Fan				reg_pcie: regulator-vddpcie {
627*6301e657SPeng Fan					compatible = "fsl,anatop-regulator";
628*6301e657SPeng Fan					regulator-name = "vddpcie";
629*6301e657SPeng Fan					regulator-min-microvolt = <725000>;
630*6301e657SPeng Fan					regulator-max-microvolt = <1450000>;
631*6301e657SPeng Fan					anatop-reg-offset = <0x140>;
632*6301e657SPeng Fan					anatop-vol-bit-shift = <9>;
633*6301e657SPeng Fan					anatop-vol-bit-width = <5>;
634*6301e657SPeng Fan					anatop-delay-reg-offset = <0x170>;
635*6301e657SPeng Fan					anatop-delay-bit-shift = <26>;
636*6301e657SPeng Fan					anatop-delay-bit-width = <2>;
637*6301e657SPeng Fan					anatop-min-bit-val = <1>;
638*6301e657SPeng Fan					anatop-min-voltage = <725000>;
639*6301e657SPeng Fan					anatop-max-voltage = <1450000>;
640*6301e657SPeng Fan				};
641*6301e657SPeng Fan
642*6301e657SPeng Fan				reg_soc: regulator-vddsoc {
643*6301e657SPeng Fan					compatible = "fsl,anatop-regulator";
644*6301e657SPeng Fan					regulator-name = "vddsoc";
645*6301e657SPeng Fan					regulator-min-microvolt = <725000>;
646*6301e657SPeng Fan					regulator-max-microvolt = <1450000>;
647*6301e657SPeng Fan					regulator-always-on;
648*6301e657SPeng Fan					anatop-reg-offset = <0x140>;
649*6301e657SPeng Fan					anatop-vol-bit-shift = <18>;
650*6301e657SPeng Fan					anatop-vol-bit-width = <5>;
651*6301e657SPeng Fan					anatop-delay-reg-offset = <0x170>;
652*6301e657SPeng Fan					anatop-delay-bit-shift = <28>;
653*6301e657SPeng Fan					anatop-delay-bit-width = <2>;
654*6301e657SPeng Fan					anatop-min-bit-val = <1>;
655*6301e657SPeng Fan					anatop-min-voltage = <725000>;
656*6301e657SPeng Fan					anatop-max-voltage = <1450000>;
657*6301e657SPeng Fan				};
658*6301e657SPeng Fan			};
659*6301e657SPeng Fan
660*6301e657SPeng Fan			tempmon: tempmon {
661*6301e657SPeng Fan				compatible = "fsl,imx6sx-tempmon", "fsl,imx6q-tempmon";
662*6301e657SPeng Fan				interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
663*6301e657SPeng Fan				fsl,tempmon = <&anatop>;
664*6301e657SPeng Fan				fsl,tempmon-data = <&ocotp>;
665*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>;
666*6301e657SPeng Fan			};
667*6301e657SPeng Fan
668*6301e657SPeng Fan			usbphy1: usbphy@020c9000 {
669*6301e657SPeng Fan				compatible = "fsl,imx6sx-usbphy", "fsl,imx23-usbphy";
670*6301e657SPeng Fan				reg = <0x020c9000 0x1000>;
671*6301e657SPeng Fan				interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
672*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USBPHY1>;
673*6301e657SPeng Fan				fsl,anatop = <&anatop>;
674*6301e657SPeng Fan			};
675*6301e657SPeng Fan
676*6301e657SPeng Fan			usbphy2: usbphy@020ca000 {
677*6301e657SPeng Fan				compatible = "fsl,imx6sx-usbphy", "fsl,imx23-usbphy";
678*6301e657SPeng Fan				reg = <0x020ca000 0x1000>;
679*6301e657SPeng Fan				interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
680*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USBPHY2>;
681*6301e657SPeng Fan				fsl,anatop = <&anatop>;
682*6301e657SPeng Fan			};
683*6301e657SPeng Fan
684*6301e657SPeng Fan			snvs: snvs@020cc000 {
685*6301e657SPeng Fan				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
686*6301e657SPeng Fan				reg = <0x020cc000 0x4000>;
687*6301e657SPeng Fan
688*6301e657SPeng Fan				snvs_rtc: snvs-rtc-lp {
689*6301e657SPeng Fan					compatible = "fsl,sec-v4.0-mon-rtc-lp";
690*6301e657SPeng Fan					regmap = <&snvs>;
691*6301e657SPeng Fan					offset = <0x34>;
692*6301e657SPeng Fan					interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
693*6301e657SPeng Fan				};
694*6301e657SPeng Fan
695*6301e657SPeng Fan				snvs_poweroff: snvs-poweroff {
696*6301e657SPeng Fan					compatible = "syscon-poweroff";
697*6301e657SPeng Fan					regmap = <&snvs>;
698*6301e657SPeng Fan					offset = <0x38>;
699*6301e657SPeng Fan					mask = <0x60>;
700*6301e657SPeng Fan					status = "disabled";
701*6301e657SPeng Fan				};
702*6301e657SPeng Fan
703*6301e657SPeng Fan				snvs_pwrkey: snvs-powerkey {
704*6301e657SPeng Fan					compatible = "fsl,sec-v4.0-pwrkey";
705*6301e657SPeng Fan					regmap = <&snvs>;
706*6301e657SPeng Fan					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
707*6301e657SPeng Fan					linux,keycode = <KEY_POWER>;
708*6301e657SPeng Fan					wakeup-source;
709*6301e657SPeng Fan				};
710*6301e657SPeng Fan			};
711*6301e657SPeng Fan
712*6301e657SPeng Fan			epit1: epit@020d0000 {
713*6301e657SPeng Fan				reg = <0x020d0000 0x4000>;
714*6301e657SPeng Fan				interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
715*6301e657SPeng Fan			};
716*6301e657SPeng Fan
717*6301e657SPeng Fan			epit2: epit@020d4000 {
718*6301e657SPeng Fan				reg = <0x020d4000 0x4000>;
719*6301e657SPeng Fan				interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
720*6301e657SPeng Fan			};
721*6301e657SPeng Fan
722*6301e657SPeng Fan			src: src@020d8000 {
723*6301e657SPeng Fan				compatible = "fsl,imx6sx-src", "fsl,imx51-src";
724*6301e657SPeng Fan				reg = <0x020d8000 0x4000>;
725*6301e657SPeng Fan				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
726*6301e657SPeng Fan					     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
727*6301e657SPeng Fan				#reset-cells = <1>;
728*6301e657SPeng Fan			};
729*6301e657SPeng Fan
730*6301e657SPeng Fan			gpc: gpc@020dc000 {
731*6301e657SPeng Fan				compatible = "fsl,imx6sx-gpc", "fsl,imx6q-gpc";
732*6301e657SPeng Fan				reg = <0x020dc000 0x4000>;
733*6301e657SPeng Fan				interrupt-controller;
734*6301e657SPeng Fan				#interrupt-cells = <3>;
735*6301e657SPeng Fan				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
736*6301e657SPeng Fan				interrupt-parent = <&intc>;
737*6301e657SPeng Fan			};
738*6301e657SPeng Fan
739*6301e657SPeng Fan			iomuxc: iomuxc@020e0000 {
740*6301e657SPeng Fan				compatible = "fsl,imx6sx-iomuxc";
741*6301e657SPeng Fan				reg = <0x020e0000 0x4000>;
742*6301e657SPeng Fan			};
743*6301e657SPeng Fan
744*6301e657SPeng Fan			gpr: iomuxc-gpr@020e4000 {
745*6301e657SPeng Fan				compatible = "fsl,imx6sx-iomuxc-gpr",
746*6301e657SPeng Fan					     "fsl,imx6q-iomuxc-gpr", "syscon";
747*6301e657SPeng Fan				reg = <0x020e4000 0x4000>;
748*6301e657SPeng Fan			};
749*6301e657SPeng Fan
750*6301e657SPeng Fan			sdma: sdma@020ec000 {
751*6301e657SPeng Fan				compatible = "fsl,imx6sx-sdma", "fsl,imx6q-sdma";
752*6301e657SPeng Fan				reg = <0x020ec000 0x4000>;
753*6301e657SPeng Fan				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
754*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_SDMA>,
755*6301e657SPeng Fan					 <&clks IMX6SX_CLK_SDMA>;
756*6301e657SPeng Fan				clock-names = "ipg", "ahb";
757*6301e657SPeng Fan				#dma-cells = <3>;
758*6301e657SPeng Fan				/* imx6sx reuses imx6q sdma firmware */
759*6301e657SPeng Fan				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
760*6301e657SPeng Fan			};
761*6301e657SPeng Fan		};
762*6301e657SPeng Fan
763*6301e657SPeng Fan		aips2: aips-bus@02100000 {
764*6301e657SPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
765*6301e657SPeng Fan			#address-cells = <1>;
766*6301e657SPeng Fan			#size-cells = <1>;
767*6301e657SPeng Fan			reg = <0x02100000 0x100000>;
768*6301e657SPeng Fan			ranges;
769*6301e657SPeng Fan
770*6301e657SPeng Fan			crypto: caam@2100000 {
771*6301e657SPeng Fan				compatible = "fsl,sec-v4.0";
772*6301e657SPeng Fan				fsl,sec-era = <4>;
773*6301e657SPeng Fan				#address-cells = <1>;
774*6301e657SPeng Fan				#size-cells = <1>;
775*6301e657SPeng Fan				reg = <0x2100000 0x10000>;
776*6301e657SPeng Fan				ranges = <0 0x2100000 0x10000>;
777*6301e657SPeng Fan				interrupt-parent = <&intc>;
778*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_CAAM_MEM>,
779*6301e657SPeng Fan					 <&clks IMX6SX_CLK_CAAM_ACLK>,
780*6301e657SPeng Fan					 <&clks IMX6SX_CLK_CAAM_IPG>,
781*6301e657SPeng Fan					 <&clks IMX6SX_CLK_EIM_SLOW>;
782*6301e657SPeng Fan				clock-names = "mem", "aclk", "ipg", "emi_slow";
783*6301e657SPeng Fan
784*6301e657SPeng Fan				sec_jr0: jr0@1000 {
785*6301e657SPeng Fan					compatible = "fsl,sec-v4.0-job-ring";
786*6301e657SPeng Fan					reg = <0x1000 0x1000>;
787*6301e657SPeng Fan					interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
788*6301e657SPeng Fan				};
789*6301e657SPeng Fan
790*6301e657SPeng Fan				sec_jr1: jr1@2000 {
791*6301e657SPeng Fan					compatible = "fsl,sec-v4.0-job-ring";
792*6301e657SPeng Fan					reg = <0x2000 0x1000>;
793*6301e657SPeng Fan					interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
794*6301e657SPeng Fan				};
795*6301e657SPeng Fan			};
796*6301e657SPeng Fan
797*6301e657SPeng Fan			usbotg1: usb@02184000 {
798*6301e657SPeng Fan				compatible = "fsl,imx6sx-usb", "fsl,imx27-usb";
799*6301e657SPeng Fan				reg = <0x02184000 0x200>;
800*6301e657SPeng Fan				interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
801*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USBOH3>;
802*6301e657SPeng Fan				fsl,usbphy = <&usbphy1>;
803*6301e657SPeng Fan				fsl,usbmisc = <&usbmisc 0>;
804*6301e657SPeng Fan				fsl,anatop = <&anatop>;
805*6301e657SPeng Fan				ahb-burst-config = <0x0>;
806*6301e657SPeng Fan				tx-burst-size-dword = <0x10>;
807*6301e657SPeng Fan				rx-burst-size-dword = <0x10>;
808*6301e657SPeng Fan				status = "disabled";
809*6301e657SPeng Fan			};
810*6301e657SPeng Fan
811*6301e657SPeng Fan			usbotg2: usb@02184200 {
812*6301e657SPeng Fan				compatible = "fsl,imx6sx-usb", "fsl,imx27-usb";
813*6301e657SPeng Fan				reg = <0x02184200 0x200>;
814*6301e657SPeng Fan				interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
815*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USBOH3>;
816*6301e657SPeng Fan				fsl,usbphy = <&usbphy2>;
817*6301e657SPeng Fan				fsl,usbmisc = <&usbmisc 1>;
818*6301e657SPeng Fan				ahb-burst-config = <0x0>;
819*6301e657SPeng Fan				tx-burst-size-dword = <0x10>;
820*6301e657SPeng Fan				rx-burst-size-dword = <0x10>;
821*6301e657SPeng Fan				status = "disabled";
822*6301e657SPeng Fan			};
823*6301e657SPeng Fan
824*6301e657SPeng Fan			usbh: usb@02184400 {
825*6301e657SPeng Fan				compatible = "fsl,imx6sx-usb", "fsl,imx27-usb";
826*6301e657SPeng Fan				reg = <0x02184400 0x200>;
827*6301e657SPeng Fan				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
828*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USBOH3>;
829*6301e657SPeng Fan				fsl,usbmisc = <&usbmisc 2>;
830*6301e657SPeng Fan				phy_type = "hsic";
831*6301e657SPeng Fan				fsl,anatop = <&anatop>;
832*6301e657SPeng Fan				dr_mode = "host";
833*6301e657SPeng Fan				ahb-burst-config = <0x0>;
834*6301e657SPeng Fan				tx-burst-size-dword = <0x10>;
835*6301e657SPeng Fan				rx-burst-size-dword = <0x10>;
836*6301e657SPeng Fan				status = "disabled";
837*6301e657SPeng Fan			};
838*6301e657SPeng Fan
839*6301e657SPeng Fan			usbmisc: usbmisc@02184800 {
840*6301e657SPeng Fan				#index-cells = <1>;
841*6301e657SPeng Fan				compatible = "fsl,imx6sx-usbmisc", "fsl,imx6q-usbmisc";
842*6301e657SPeng Fan				reg = <0x02184800 0x200>;
843*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USBOH3>;
844*6301e657SPeng Fan			};
845*6301e657SPeng Fan
846*6301e657SPeng Fan			fec1: ethernet@02188000 {
847*6301e657SPeng Fan				compatible = "fsl,imx6sx-fec", "fsl,imx6q-fec";
848*6301e657SPeng Fan				reg = <0x02188000 0x4000>;
849*6301e657SPeng Fan				interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
850*6301e657SPeng Fan					     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
851*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_ENET>,
852*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET_AHB>,
853*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET_PTP>,
854*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET_REF>,
855*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET_PTP>;
856*6301e657SPeng Fan				clock-names = "ipg", "ahb", "ptp",
857*6301e657SPeng Fan					      "enet_clk_ref", "enet_out";
858*6301e657SPeng Fan				fsl,num-tx-queues=<3>;
859*6301e657SPeng Fan				fsl,num-rx-queues=<3>;
860*6301e657SPeng Fan				status = "disabled";
861*6301e657SPeng Fan                        };
862*6301e657SPeng Fan
863*6301e657SPeng Fan			mlb: mlb@0218c000 {
864*6301e657SPeng Fan				reg = <0x0218c000 0x4000>;
865*6301e657SPeng Fan				interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
866*6301e657SPeng Fan					     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
867*6301e657SPeng Fan					     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
868*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_MLB>;
869*6301e657SPeng Fan				status = "disabled";
870*6301e657SPeng Fan			};
871*6301e657SPeng Fan
872*6301e657SPeng Fan			usdhc1: usdhc@02190000 {
873*6301e657SPeng Fan				compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
874*6301e657SPeng Fan				reg = <0x02190000 0x4000>;
875*6301e657SPeng Fan				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
876*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USDHC1>,
877*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC1>,
878*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC1>;
879*6301e657SPeng Fan				clock-names = "ipg", "ahb", "per";
880*6301e657SPeng Fan				bus-width = <4>;
881*6301e657SPeng Fan				status = "disabled";
882*6301e657SPeng Fan			};
883*6301e657SPeng Fan
884*6301e657SPeng Fan			usdhc2: usdhc@02194000 {
885*6301e657SPeng Fan				compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
886*6301e657SPeng Fan				reg = <0x02194000 0x4000>;
887*6301e657SPeng Fan				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
888*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USDHC2>,
889*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC2>,
890*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC2>;
891*6301e657SPeng Fan				clock-names = "ipg", "ahb", "per";
892*6301e657SPeng Fan				bus-width = <4>;
893*6301e657SPeng Fan				status = "disabled";
894*6301e657SPeng Fan			};
895*6301e657SPeng Fan
896*6301e657SPeng Fan			usdhc3: usdhc@02198000 {
897*6301e657SPeng Fan				compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
898*6301e657SPeng Fan				reg = <0x02198000 0x4000>;
899*6301e657SPeng Fan				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
900*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USDHC3>,
901*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC3>,
902*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC3>;
903*6301e657SPeng Fan				clock-names = "ipg", "ahb", "per";
904*6301e657SPeng Fan				bus-width = <4>;
905*6301e657SPeng Fan				status = "disabled";
906*6301e657SPeng Fan			};
907*6301e657SPeng Fan
908*6301e657SPeng Fan			usdhc4: usdhc@0219c000 {
909*6301e657SPeng Fan				compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
910*6301e657SPeng Fan				reg = <0x0219c000 0x4000>;
911*6301e657SPeng Fan				interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
912*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_USDHC4>,
913*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC4>,
914*6301e657SPeng Fan					 <&clks IMX6SX_CLK_USDHC4>;
915*6301e657SPeng Fan				clock-names = "ipg", "ahb", "per";
916*6301e657SPeng Fan				bus-width = <4>;
917*6301e657SPeng Fan				status = "disabled";
918*6301e657SPeng Fan			};
919*6301e657SPeng Fan
920*6301e657SPeng Fan			i2c1: i2c@021a0000 {
921*6301e657SPeng Fan				#address-cells = <1>;
922*6301e657SPeng Fan				#size-cells = <0>;
923*6301e657SPeng Fan				compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
924*6301e657SPeng Fan				reg = <0x021a0000 0x4000>;
925*6301e657SPeng Fan				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
926*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_I2C1>;
927*6301e657SPeng Fan				status = "disabled";
928*6301e657SPeng Fan			};
929*6301e657SPeng Fan
930*6301e657SPeng Fan			i2c2: i2c@021a4000 {
931*6301e657SPeng Fan				#address-cells = <1>;
932*6301e657SPeng Fan				#size-cells = <0>;
933*6301e657SPeng Fan				compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
934*6301e657SPeng Fan				reg = <0x021a4000 0x4000>;
935*6301e657SPeng Fan				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
936*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_I2C2>;
937*6301e657SPeng Fan				status = "disabled";
938*6301e657SPeng Fan			};
939*6301e657SPeng Fan
940*6301e657SPeng Fan			i2c3: i2c@021a8000 {
941*6301e657SPeng Fan				#address-cells = <1>;
942*6301e657SPeng Fan				#size-cells = <0>;
943*6301e657SPeng Fan				compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
944*6301e657SPeng Fan				reg = <0x021a8000 0x4000>;
945*6301e657SPeng Fan				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
946*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_I2C3>;
947*6301e657SPeng Fan				status = "disabled";
948*6301e657SPeng Fan			};
949*6301e657SPeng Fan
950*6301e657SPeng Fan			mmdc: mmdc@021b0000 {
951*6301e657SPeng Fan				compatible = "fsl,imx6sx-mmdc", "fsl,imx6q-mmdc";
952*6301e657SPeng Fan				reg = <0x021b0000 0x4000>;
953*6301e657SPeng Fan			};
954*6301e657SPeng Fan
955*6301e657SPeng Fan			fec2: ethernet@021b4000 {
956*6301e657SPeng Fan				compatible = "fsl,imx6sx-fec", "fsl,imx6q-fec";
957*6301e657SPeng Fan				reg = <0x021b4000 0x4000>;
958*6301e657SPeng Fan				interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
959*6301e657SPeng Fan					     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
960*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_ENET>,
961*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET_AHB>,
962*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET_PTP>,
963*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET2_REF_125M>,
964*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ENET_PTP>;
965*6301e657SPeng Fan				clock-names = "ipg", "ahb", "ptp",
966*6301e657SPeng Fan					      "enet_clk_ref", "enet_out";
967*6301e657SPeng Fan				status = "disabled";
968*6301e657SPeng Fan			};
969*6301e657SPeng Fan
970*6301e657SPeng Fan			weim: weim@021b8000 {
971*6301e657SPeng Fan				compatible = "fsl,imx6sx-weim", "fsl,imx6q-weim";
972*6301e657SPeng Fan				reg = <0x021b8000 0x4000>;
973*6301e657SPeng Fan				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
974*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_EIM_SLOW>;
975*6301e657SPeng Fan			};
976*6301e657SPeng Fan
977*6301e657SPeng Fan			ocotp: ocotp@021bc000 {
978*6301e657SPeng Fan				compatible = "fsl,imx6sx-ocotp", "syscon";
979*6301e657SPeng Fan				reg = <0x021bc000 0x4000>;
980*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_OCOTP>;
981*6301e657SPeng Fan			};
982*6301e657SPeng Fan
983*6301e657SPeng Fan			sai1: sai@021d4000 {
984*6301e657SPeng Fan				compatible = "fsl,imx6sx-sai";
985*6301e657SPeng Fan				reg = <0x021d4000 0x4000>;
986*6301e657SPeng Fan				interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
987*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_SAI1_IPG>,
988*6301e657SPeng Fan					 <&clks IMX6SX_CLK_SAI1>,
989*6301e657SPeng Fan					 <&clks 0>, <&clks 0>;
990*6301e657SPeng Fan				clock-names = "bus", "mclk1", "mclk2", "mclk3";
991*6301e657SPeng Fan				dma-names = "rx", "tx";
992*6301e657SPeng Fan				dmas = <&sdma 31 24 0>, <&sdma 32 24 0>;
993*6301e657SPeng Fan				status = "disabled";
994*6301e657SPeng Fan			};
995*6301e657SPeng Fan
996*6301e657SPeng Fan			audmux: audmux@021d8000 {
997*6301e657SPeng Fan				compatible = "fsl,imx6sx-audmux", "fsl,imx31-audmux";
998*6301e657SPeng Fan				reg = <0x021d8000 0x4000>;
999*6301e657SPeng Fan				status = "disabled";
1000*6301e657SPeng Fan			};
1001*6301e657SPeng Fan
1002*6301e657SPeng Fan			sai2: sai@021dc000 {
1003*6301e657SPeng Fan				compatible = "fsl,imx6sx-sai";
1004*6301e657SPeng Fan				reg = <0x021dc000 0x4000>;
1005*6301e657SPeng Fan				interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
1006*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_SAI2_IPG>,
1007*6301e657SPeng Fan					 <&clks IMX6SX_CLK_SAI2>,
1008*6301e657SPeng Fan					 <&clks 0>, <&clks 0>;
1009*6301e657SPeng Fan				clock-names = "bus", "mclk1", "mclk2", "mclk3";
1010*6301e657SPeng Fan				dma-names = "rx", "tx";
1011*6301e657SPeng Fan				dmas = <&sdma 33 24 0>, <&sdma 34 24 0>;
1012*6301e657SPeng Fan				status = "disabled";
1013*6301e657SPeng Fan			};
1014*6301e657SPeng Fan
1015*6301e657SPeng Fan			qspi1: qspi@021e0000 {
1016*6301e657SPeng Fan				#address-cells = <1>;
1017*6301e657SPeng Fan				#size-cells = <0>;
1018*6301e657SPeng Fan				compatible = "fsl,imx6sx-qspi";
1019*6301e657SPeng Fan				reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
1020*6301e657SPeng Fan				reg-names = "QuadSPI", "QuadSPI-memory";
1021*6301e657SPeng Fan				interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1022*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_QSPI1>,
1023*6301e657SPeng Fan					 <&clks IMX6SX_CLK_QSPI1>;
1024*6301e657SPeng Fan				clock-names = "qspi_en", "qspi";
1025*6301e657SPeng Fan				status = "disabled";
1026*6301e657SPeng Fan			};
1027*6301e657SPeng Fan
1028*6301e657SPeng Fan			qspi2: qspi@021e4000 {
1029*6301e657SPeng Fan				#address-cells = <1>;
1030*6301e657SPeng Fan				#size-cells = <0>;
1031*6301e657SPeng Fan				compatible = "fsl,imx6sx-qspi";
1032*6301e657SPeng Fan				reg = <0x021e4000 0x4000>, <0x70000000 0x10000000>;
1033*6301e657SPeng Fan				reg-names = "QuadSPI", "QuadSPI-memory";
1034*6301e657SPeng Fan				interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
1035*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_QSPI2>,
1036*6301e657SPeng Fan					 <&clks IMX6SX_CLK_QSPI2>;
1037*6301e657SPeng Fan				clock-names = "qspi_en", "qspi";
1038*6301e657SPeng Fan				status = "disabled";
1039*6301e657SPeng Fan			};
1040*6301e657SPeng Fan
1041*6301e657SPeng Fan			uart2: serial@021e8000 {
1042*6301e657SPeng Fan				compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1043*6301e657SPeng Fan				reg = <0x021e8000 0x4000>;
1044*6301e657SPeng Fan				interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
1045*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_UART_IPG>,
1046*6301e657SPeng Fan					 <&clks IMX6SX_CLK_UART_SERIAL>;
1047*6301e657SPeng Fan				clock-names = "ipg", "per";
1048*6301e657SPeng Fan				dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
1049*6301e657SPeng Fan				dma-names = "rx", "tx";
1050*6301e657SPeng Fan				status = "disabled";
1051*6301e657SPeng Fan			};
1052*6301e657SPeng Fan
1053*6301e657SPeng Fan			uart3: serial@021ec000 {
1054*6301e657SPeng Fan				compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1055*6301e657SPeng Fan				reg = <0x021ec000 0x4000>;
1056*6301e657SPeng Fan				interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
1057*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_UART_IPG>,
1058*6301e657SPeng Fan					 <&clks IMX6SX_CLK_UART_SERIAL>;
1059*6301e657SPeng Fan				clock-names = "ipg", "per";
1060*6301e657SPeng Fan				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
1061*6301e657SPeng Fan				dma-names = "rx", "tx";
1062*6301e657SPeng Fan				status = "disabled";
1063*6301e657SPeng Fan			};
1064*6301e657SPeng Fan
1065*6301e657SPeng Fan			uart4: serial@021f0000 {
1066*6301e657SPeng Fan				compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1067*6301e657SPeng Fan				reg = <0x021f0000 0x4000>;
1068*6301e657SPeng Fan				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1069*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_UART_IPG>,
1070*6301e657SPeng Fan					 <&clks IMX6SX_CLK_UART_SERIAL>;
1071*6301e657SPeng Fan				clock-names = "ipg", "per";
1072*6301e657SPeng Fan				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
1073*6301e657SPeng Fan				dma-names = "rx", "tx";
1074*6301e657SPeng Fan				status = "disabled";
1075*6301e657SPeng Fan			};
1076*6301e657SPeng Fan
1077*6301e657SPeng Fan			uart5: serial@021f4000 {
1078*6301e657SPeng Fan				compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1079*6301e657SPeng Fan				reg = <0x021f4000 0x4000>;
1080*6301e657SPeng Fan				interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1081*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_UART_IPG>,
1082*6301e657SPeng Fan					 <&clks IMX6SX_CLK_UART_SERIAL>;
1083*6301e657SPeng Fan				clock-names = "ipg", "per";
1084*6301e657SPeng Fan				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
1085*6301e657SPeng Fan				dma-names = "rx", "tx";
1086*6301e657SPeng Fan				status = "disabled";
1087*6301e657SPeng Fan			};
1088*6301e657SPeng Fan
1089*6301e657SPeng Fan			i2c4: i2c@021f8000 {
1090*6301e657SPeng Fan				#address-cells = <1>;
1091*6301e657SPeng Fan				#size-cells = <0>;
1092*6301e657SPeng Fan				compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
1093*6301e657SPeng Fan				reg = <0x021f8000 0x4000>;
1094*6301e657SPeng Fan				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1095*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_I2C4>;
1096*6301e657SPeng Fan				status = "disabled";
1097*6301e657SPeng Fan			};
1098*6301e657SPeng Fan		};
1099*6301e657SPeng Fan
1100*6301e657SPeng Fan		aips3: aips-bus@02200000 {
1101*6301e657SPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
1102*6301e657SPeng Fan			#address-cells = <1>;
1103*6301e657SPeng Fan			#size-cells = <1>;
1104*6301e657SPeng Fan			reg = <0x02200000 0x100000>;
1105*6301e657SPeng Fan			ranges;
1106*6301e657SPeng Fan
1107*6301e657SPeng Fan			spba-bus@02200000 {
1108*6301e657SPeng Fan				compatible = "fsl,spba-bus", "simple-bus";
1109*6301e657SPeng Fan				#address-cells = <1>;
1110*6301e657SPeng Fan				#size-cells = <1>;
1111*6301e657SPeng Fan				reg = <0x02240000 0x40000>;
1112*6301e657SPeng Fan				ranges;
1113*6301e657SPeng Fan
1114*6301e657SPeng Fan				csi1: csi@02214000 {
1115*6301e657SPeng Fan					reg = <0x02214000 0x4000>;
1116*6301e657SPeng Fan					interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1117*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_DISPLAY_AXI>,
1118*6301e657SPeng Fan						 <&clks IMX6SX_CLK_CSI>,
1119*6301e657SPeng Fan						 <&clks IMX6SX_CLK_DCIC1>;
1120*6301e657SPeng Fan					clock-names = "disp-axi", "csi_mclk", "dcic";
1121*6301e657SPeng Fan					status = "disabled";
1122*6301e657SPeng Fan				};
1123*6301e657SPeng Fan
1124*6301e657SPeng Fan				pxp: pxp@02218000 {
1125*6301e657SPeng Fan					reg = <0x02218000 0x4000>;
1126*6301e657SPeng Fan					interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1127*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_PXP_AXI>,
1128*6301e657SPeng Fan						 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1129*6301e657SPeng Fan					clock-names = "pxp-axi", "disp-axi";
1130*6301e657SPeng Fan					status = "disabled";
1131*6301e657SPeng Fan				};
1132*6301e657SPeng Fan
1133*6301e657SPeng Fan				csi2: csi@0221c000 {
1134*6301e657SPeng Fan					reg = <0x0221c000 0x4000>;
1135*6301e657SPeng Fan					interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
1136*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_DISPLAY_AXI>,
1137*6301e657SPeng Fan						 <&clks IMX6SX_CLK_CSI>,
1138*6301e657SPeng Fan						 <&clks IMX6SX_CLK_DCIC2>;
1139*6301e657SPeng Fan					clock-names = "disp-axi", "csi_mclk", "dcic";
1140*6301e657SPeng Fan					status = "disabled";
1141*6301e657SPeng Fan				};
1142*6301e657SPeng Fan
1143*6301e657SPeng Fan				lcdif1: lcdif@02220000 {
1144*6301e657SPeng Fan					compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
1145*6301e657SPeng Fan					reg = <0x02220000 0x4000>;
1146*6301e657SPeng Fan					interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1147*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
1148*6301e657SPeng Fan						 <&clks IMX6SX_CLK_LCDIF_APB>,
1149*6301e657SPeng Fan						 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1150*6301e657SPeng Fan					clock-names = "pix", "axi", "disp_axi";
1151*6301e657SPeng Fan					status = "disabled";
1152*6301e657SPeng Fan				};
1153*6301e657SPeng Fan
1154*6301e657SPeng Fan				lcdif2: lcdif@02224000 {
1155*6301e657SPeng Fan					compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
1156*6301e657SPeng Fan					reg = <0x02224000 0x4000>;
1157*6301e657SPeng Fan					interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1158*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_LCDIF2_PIX>,
1159*6301e657SPeng Fan						 <&clks IMX6SX_CLK_LCDIF_APB>,
1160*6301e657SPeng Fan						 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1161*6301e657SPeng Fan					clock-names = "pix", "axi", "disp_axi";
1162*6301e657SPeng Fan					status = "disabled";
1163*6301e657SPeng Fan				};
1164*6301e657SPeng Fan
1165*6301e657SPeng Fan				vadc: vadc@02228000 {
1166*6301e657SPeng Fan					reg = <0x02228000 0x4000>, <0x0222c000 0x4000>;
1167*6301e657SPeng Fan					reg-names = "vadc-vafe", "vadc-vdec";
1168*6301e657SPeng Fan					clocks = <&clks IMX6SX_CLK_VADC>,
1169*6301e657SPeng Fan						 <&clks IMX6SX_CLK_CSI>;
1170*6301e657SPeng Fan					clock-names = "vadc", "csi";
1171*6301e657SPeng Fan					status = "disabled";
1172*6301e657SPeng Fan				};
1173*6301e657SPeng Fan			};
1174*6301e657SPeng Fan
1175*6301e657SPeng Fan			adc1: adc@02280000 {
1176*6301e657SPeng Fan				compatible = "fsl,imx6sx-adc", "fsl,vf610-adc";
1177*6301e657SPeng Fan				reg = <0x02280000 0x4000>;
1178*6301e657SPeng Fan				interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
1179*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_IPG>;
1180*6301e657SPeng Fan				clock-names = "adc";
1181*6301e657SPeng Fan				fsl,adck-max-frequency = <30000000>, <40000000>,
1182*6301e657SPeng Fan							 <20000000>;
1183*6301e657SPeng Fan				status = "disabled";
1184*6301e657SPeng Fan                        };
1185*6301e657SPeng Fan
1186*6301e657SPeng Fan			adc2: adc@02284000 {
1187*6301e657SPeng Fan				compatible = "fsl,imx6sx-adc", "fsl,vf610-adc";
1188*6301e657SPeng Fan				reg = <0x02284000 0x4000>;
1189*6301e657SPeng Fan				interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1190*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_IPG>;
1191*6301e657SPeng Fan				clock-names = "adc";
1192*6301e657SPeng Fan				fsl,adck-max-frequency = <30000000>, <40000000>,
1193*6301e657SPeng Fan							 <20000000>;
1194*6301e657SPeng Fan				status = "disabled";
1195*6301e657SPeng Fan                        };
1196*6301e657SPeng Fan
1197*6301e657SPeng Fan			wdog3: wdog@02288000 {
1198*6301e657SPeng Fan				compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt";
1199*6301e657SPeng Fan				reg = <0x02288000 0x4000>;
1200*6301e657SPeng Fan				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1201*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_DUMMY>;
1202*6301e657SPeng Fan				status = "disabled";
1203*6301e657SPeng Fan			};
1204*6301e657SPeng Fan
1205*6301e657SPeng Fan			ecspi5: ecspi@0228c000 {
1206*6301e657SPeng Fan				#address-cells = <1>;
1207*6301e657SPeng Fan				#size-cells = <0>;
1208*6301e657SPeng Fan				compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
1209*6301e657SPeng Fan				reg = <0x0228c000 0x4000>;
1210*6301e657SPeng Fan				interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
1211*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_ECSPI5>,
1212*6301e657SPeng Fan					 <&clks IMX6SX_CLK_ECSPI5>;
1213*6301e657SPeng Fan				clock-names = "ipg", "per";
1214*6301e657SPeng Fan				status = "disabled";
1215*6301e657SPeng Fan			};
1216*6301e657SPeng Fan
1217*6301e657SPeng Fan			uart6: serial@022a0000 {
1218*6301e657SPeng Fan				compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1219*6301e657SPeng Fan				reg = <0x022a0000 0x4000>;
1220*6301e657SPeng Fan				interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1221*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_UART_IPG>,
1222*6301e657SPeng Fan					 <&clks IMX6SX_CLK_UART_SERIAL>;
1223*6301e657SPeng Fan				clock-names = "ipg", "per";
1224*6301e657SPeng Fan				dmas = <&sdma 0 4 0>, <&sdma 47 4 0>;
1225*6301e657SPeng Fan				dma-names = "rx", "tx";
1226*6301e657SPeng Fan				status = "disabled";
1227*6301e657SPeng Fan			};
1228*6301e657SPeng Fan
1229*6301e657SPeng Fan			pwm5: pwm@022a4000 {
1230*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1231*6301e657SPeng Fan				reg = <0x022a4000 0x4000>;
1232*6301e657SPeng Fan				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1233*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM5>,
1234*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM5>;
1235*6301e657SPeng Fan				clock-names = "ipg", "per";
1236*6301e657SPeng Fan				#pwm-cells = <2>;
1237*6301e657SPeng Fan			};
1238*6301e657SPeng Fan
1239*6301e657SPeng Fan			pwm6: pwm@022a8000 {
1240*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1241*6301e657SPeng Fan				reg = <0x022a8000 0x4000>;
1242*6301e657SPeng Fan				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
1243*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM6>,
1244*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM6>;
1245*6301e657SPeng Fan				clock-names = "ipg", "per";
1246*6301e657SPeng Fan				#pwm-cells = <2>;
1247*6301e657SPeng Fan			};
1248*6301e657SPeng Fan
1249*6301e657SPeng Fan			pwm7: pwm@022ac000 {
1250*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1251*6301e657SPeng Fan				reg = <0x022ac000 0x4000>;
1252*6301e657SPeng Fan				interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
1253*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM7>,
1254*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM7>;
1255*6301e657SPeng Fan				clock-names = "ipg", "per";
1256*6301e657SPeng Fan				#pwm-cells = <2>;
1257*6301e657SPeng Fan			};
1258*6301e657SPeng Fan
1259*6301e657SPeng Fan			pwm8: pwm@0022b0000 {
1260*6301e657SPeng Fan				compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1261*6301e657SPeng Fan				reg = <0x0022b0000 0x4000>;
1262*6301e657SPeng Fan				interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1263*6301e657SPeng Fan				clocks = <&clks IMX6SX_CLK_PWM8>,
1264*6301e657SPeng Fan					 <&clks IMX6SX_CLK_PWM8>;
1265*6301e657SPeng Fan				clock-names = "ipg", "per";
1266*6301e657SPeng Fan				#pwm-cells = <2>;
1267*6301e657SPeng Fan			};
1268*6301e657SPeng Fan		};
1269*6301e657SPeng Fan
1270*6301e657SPeng Fan		pcie: pcie@0x08000000 {
1271*6301e657SPeng Fan			compatible = "fsl,imx6sx-pcie", "snps,dw-pcie";
1272*6301e657SPeng Fan			reg = <0x08ffc000 0x4000>; /* DBI */
1273*6301e657SPeng Fan			#address-cells = <3>;
1274*6301e657SPeng Fan			#size-cells = <2>;
1275*6301e657SPeng Fan			device_type = "pci";
1276*6301e657SPeng Fan				  /* configuration space */
1277*6301e657SPeng Fan			ranges = <0x00000800 0 0x08f00000 0x08f00000 0 0x00080000
1278*6301e657SPeng Fan				  /* downstream I/O */
1279*6301e657SPeng Fan				  0x81000000 0 0          0x08f80000 0 0x00010000
1280*6301e657SPeng Fan				  /* non-prefetchable memory */
1281*6301e657SPeng Fan				  0x82000000 0 0x08000000 0x08000000 0 0x00f00000>;
1282*6301e657SPeng Fan			num-lanes = <1>;
1283*6301e657SPeng Fan			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
1284*6301e657SPeng Fan			clocks = <&clks IMX6SX_CLK_PCIE_REF_125M>,
1285*6301e657SPeng Fan				 <&clks IMX6SX_CLK_PCIE_AXI>,
1286*6301e657SPeng Fan				 <&clks IMX6SX_CLK_LVDS1_OUT>,
1287*6301e657SPeng Fan				 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1288*6301e657SPeng Fan			clock-names = "pcie_ref_125m", "pcie_axi",
1289*6301e657SPeng Fan				      "lvds_gate", "display_axi";
1290*6301e657SPeng Fan			status = "disabled";
1291*6301e657SPeng Fan		};
1292*6301e657SPeng Fan	};
1293*6301e657SPeng Fan
1294*6301e657SPeng Fan	gpu-subsystem {
1295*6301e657SPeng Fan		compatible = "fsl,imx-gpu-subsystem";
1296*6301e657SPeng Fan		cores = <&gpu>;
1297*6301e657SPeng Fan	};
1298*6301e657SPeng Fan};
1299