xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/fsl-ls1043a.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * Device Tree Include file for Freescale Layerscape-1043A family SoC.
3*4882a593Smuzhiyun *
4*4882a593Smuzhiyun * Copyright (C) 2014-2015, Freescale Semiconductor
5*4882a593Smuzhiyun *
6*4882a593Smuzhiyun * Mingkai Hu <Mingkai.hu@freescale.com>
7*4882a593Smuzhiyun *
8*4882a593Smuzhiyun * This file is licensed under the terms of the GNU General Public
9*4882a593Smuzhiyun * License version 2.  This program is licensed "as is" without any
10*4882a593Smuzhiyun * warranty of any kind, whether express or implied.
11*4882a593Smuzhiyun */
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun/include/ "skeleton64.dtsi"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun/ {
16*4882a593Smuzhiyun	compatible = "fsl,ls1043a";
17*4882a593Smuzhiyun	interrupt-parent = <&gic>;
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	sysclk: sysclk {
20*4882a593Smuzhiyun		compatible = "fixed-clock";
21*4882a593Smuzhiyun		#clock-cells = <0>;
22*4882a593Smuzhiyun		clock-frequency = <100000000>;
23*4882a593Smuzhiyun		clock-output-names = "sysclk";
24*4882a593Smuzhiyun	};
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	gic: interrupt-controller@1400000 {
27*4882a593Smuzhiyun		compatible = "arm,gic-400";
28*4882a593Smuzhiyun		#interrupt-cells = <3>;
29*4882a593Smuzhiyun		interrupt-controller;
30*4882a593Smuzhiyun		reg = <0x0 0x1401000 0 0x1000>, /* GICD */
31*4882a593Smuzhiyun		      <0x0 0x1402000 0 0x2000>, /* GICC */
32*4882a593Smuzhiyun		      <0x0 0x1404000 0 0x2000>, /* GICH */
33*4882a593Smuzhiyun		      <0x0 0x1406000 0 0x2000>; /* GICV */
34*4882a593Smuzhiyun		interrupts = <1 9 0xf08>;
35*4882a593Smuzhiyun	};
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun	soc {
38*4882a593Smuzhiyun		compatible = "simple-bus";
39*4882a593Smuzhiyun		#address-cells = <2>;
40*4882a593Smuzhiyun		#size-cells = <2>;
41*4882a593Smuzhiyun		ranges;
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun		clockgen: clocking@1ee1000 {
44*4882a593Smuzhiyun			compatible = "fsl,ls1043a-clockgen";
45*4882a593Smuzhiyun			reg = <0x0 0x1ee1000 0x0 0x1000>;
46*4882a593Smuzhiyun			#clock-cells = <2>;
47*4882a593Smuzhiyun			clocks = <&sysclk>;
48*4882a593Smuzhiyun		};
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun		dspi0: dspi@2100000 {
51*4882a593Smuzhiyun			compatible = "fsl,vf610-dspi";
52*4882a593Smuzhiyun			#address-cells = <1>;
53*4882a593Smuzhiyun			#size-cells = <0>;
54*4882a593Smuzhiyun			reg = <0x0 0x2100000 0x0 0x10000>;
55*4882a593Smuzhiyun			interrupts = <0 64 0x4>;
56*4882a593Smuzhiyun			clock-names = "dspi";
57*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
58*4882a593Smuzhiyun			num-cs = <6>;
59*4882a593Smuzhiyun			big-endian;
60*4882a593Smuzhiyun			status = "disabled";
61*4882a593Smuzhiyun		};
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun		dspi1: dspi@2110000 {
64*4882a593Smuzhiyun			compatible = "fsl,vf610-dspi";
65*4882a593Smuzhiyun			#address-cells = <1>;
66*4882a593Smuzhiyun			#size-cells = <0>;
67*4882a593Smuzhiyun			reg = <0x0 0x2110000 0x0 0x10000>;
68*4882a593Smuzhiyun			interrupts = <0 65 0x4>;
69*4882a593Smuzhiyun			clock-names = "dspi";
70*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
71*4882a593Smuzhiyun			num-cs = <6>;
72*4882a593Smuzhiyun			big-endian;
73*4882a593Smuzhiyun			status = "disabled";
74*4882a593Smuzhiyun		};
75*4882a593Smuzhiyun
76*4882a593Smuzhiyun		ifc: ifc@1530000 {
77*4882a593Smuzhiyun			compatible = "fsl,ifc", "simple-bus";
78*4882a593Smuzhiyun			reg = <0x0 0x1530000 0x0 0x10000>;
79*4882a593Smuzhiyun			interrupts = <0 43 0x4>;
80*4882a593Smuzhiyun		};
81*4882a593Smuzhiyun
82*4882a593Smuzhiyun		i2c0: i2c@2180000 {
83*4882a593Smuzhiyun			compatible = "fsl,vf610-i2c";
84*4882a593Smuzhiyun			#address-cells = <1>;
85*4882a593Smuzhiyun			#size-cells = <0>;
86*4882a593Smuzhiyun			reg = <0x0 0x2180000 0x0 0x10000>;
87*4882a593Smuzhiyun			interrupts = <0 56 0x4>;
88*4882a593Smuzhiyun			clock-names = "i2c";
89*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
90*4882a593Smuzhiyun			status = "disabled";
91*4882a593Smuzhiyun		};
92*4882a593Smuzhiyun
93*4882a593Smuzhiyun		i2c1: i2c@2190000 {
94*4882a593Smuzhiyun			compatible = "fsl,vf610-i2c";
95*4882a593Smuzhiyun			#address-cells = <1>;
96*4882a593Smuzhiyun			#size-cells = <0>;
97*4882a593Smuzhiyun			reg = <0x0 0x2190000 0x0 0x10000>;
98*4882a593Smuzhiyun			interrupts = <0 57 0x4>;
99*4882a593Smuzhiyun			clock-names = "i2c";
100*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
101*4882a593Smuzhiyun			status = "disabled";
102*4882a593Smuzhiyun		};
103*4882a593Smuzhiyun
104*4882a593Smuzhiyun		i2c2: i2c@21a0000 {
105*4882a593Smuzhiyun			compatible = "fsl,vf610-i2c";
106*4882a593Smuzhiyun			#address-cells = <1>;
107*4882a593Smuzhiyun			#size-cells = <0>;
108*4882a593Smuzhiyun			reg = <0x0 0x21a0000 0x0 0x10000>;
109*4882a593Smuzhiyun			interrupts = <0 58 0x4>;
110*4882a593Smuzhiyun			clock-names = "i2c";
111*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
112*4882a593Smuzhiyun			status = "disabled";
113*4882a593Smuzhiyun		};
114*4882a593Smuzhiyun
115*4882a593Smuzhiyun		i2c3: i2c@21b0000 {
116*4882a593Smuzhiyun			compatible = "fsl,vf610-i2c";
117*4882a593Smuzhiyun			#address-cells = <1>;
118*4882a593Smuzhiyun			#size-cells = <0>;
119*4882a593Smuzhiyun			reg = <0x0 0x21b0000 0x0 0x10000>;
120*4882a593Smuzhiyun			interrupts = <0 59 0x4>;
121*4882a593Smuzhiyun			clock-names = "i2c";
122*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
123*4882a593Smuzhiyun			status = "disabled";
124*4882a593Smuzhiyun		};
125*4882a593Smuzhiyun
126*4882a593Smuzhiyun		duart0: serial@21c0500 {
127*4882a593Smuzhiyun			compatible = "fsl,ns16550", "ns16550a";
128*4882a593Smuzhiyun			reg = <0x00 0x21c0500 0x0 0x100>;
129*4882a593Smuzhiyun			interrupts = <0 54 0x4>;
130*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
131*4882a593Smuzhiyun		};
132*4882a593Smuzhiyun
133*4882a593Smuzhiyun		duart1: serial@21c0600 {
134*4882a593Smuzhiyun			compatible = "fsl,ns16550", "ns16550a";
135*4882a593Smuzhiyun			reg = <0x00 0x21c0600 0x0 0x100>;
136*4882a593Smuzhiyun			interrupts = <0 54 0x4>;
137*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
138*4882a593Smuzhiyun		};
139*4882a593Smuzhiyun
140*4882a593Smuzhiyun		duart2: serial@21d0500 {
141*4882a593Smuzhiyun			compatible = "fsl,ns16550", "ns16550a";
142*4882a593Smuzhiyun			reg = <0x0 0x21d0500 0x0 0x100>;
143*4882a593Smuzhiyun			interrupts = <0 55 0x4>;
144*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
145*4882a593Smuzhiyun		};
146*4882a593Smuzhiyun
147*4882a593Smuzhiyun		duart3: serial@21d0600 {
148*4882a593Smuzhiyun			compatible = "fsl,ns16550", "ns16550a";
149*4882a593Smuzhiyun			reg = <0x0 0x21d0600 0x0 0x100>;
150*4882a593Smuzhiyun			interrupts = <0 55 0x4>;
151*4882a593Smuzhiyun			clocks = <&clockgen 4 0>;
152*4882a593Smuzhiyun		};
153*4882a593Smuzhiyun
154*4882a593Smuzhiyun		lpuart0: serial@2950000 {
155*4882a593Smuzhiyun			compatible = "fsl,ls1021a-lpuart";
156*4882a593Smuzhiyun			reg = <0x0 0x2950000 0x0 0x1000>;
157*4882a593Smuzhiyun			interrupts = <0 48 0x4>;
158*4882a593Smuzhiyun			clocks = <&sysclk>;
159*4882a593Smuzhiyun			clock-names = "ipg";
160*4882a593Smuzhiyun			status = "disabled";
161*4882a593Smuzhiyun		};
162*4882a593Smuzhiyun
163*4882a593Smuzhiyun		lpuart1: serial@2960000 {
164*4882a593Smuzhiyun			compatible = "fsl,ls1021a-lpuart";
165*4882a593Smuzhiyun			reg = <0x0 0x2960000 0x0 0x1000>;
166*4882a593Smuzhiyun			interrupts = <0 49 0x4>;
167*4882a593Smuzhiyun			clocks = <&sysclk>;
168*4882a593Smuzhiyun			clock-names = "ipg";
169*4882a593Smuzhiyun			status = "disabled";
170*4882a593Smuzhiyun		};
171*4882a593Smuzhiyun
172*4882a593Smuzhiyun		lpuart2: serial@2970000 {
173*4882a593Smuzhiyun			compatible = "fsl,ls1021a-lpuart";
174*4882a593Smuzhiyun			reg = <0x0 0x2970000 0x0 0x1000>;
175*4882a593Smuzhiyun			interrupts = <0 50 0x4>;
176*4882a593Smuzhiyun			clock-names = "ipg";
177*4882a593Smuzhiyun			clocks = <&sysclk>;
178*4882a593Smuzhiyun			status = "disabled";
179*4882a593Smuzhiyun		};
180*4882a593Smuzhiyun
181*4882a593Smuzhiyun		lpuart3: serial@2980000 {
182*4882a593Smuzhiyun			compatible = "fsl,ls1021a-lpuart";
183*4882a593Smuzhiyun			reg = <0x0 0x2980000 0x0 0x1000>;
184*4882a593Smuzhiyun			interrupts = <0 51 0x4>;
185*4882a593Smuzhiyun			clocks = <&sysclk>;
186*4882a593Smuzhiyun			clock-names = "ipg";
187*4882a593Smuzhiyun			status = "disabled";
188*4882a593Smuzhiyun		};
189*4882a593Smuzhiyun
190*4882a593Smuzhiyun		lpuart4: serial@2990000 {
191*4882a593Smuzhiyun			compatible = "fsl,ls1021a-lpuart";
192*4882a593Smuzhiyun			reg = <0x0 0x2990000 0x0 0x1000>;
193*4882a593Smuzhiyun			interrupts = <0 52 0x4>;
194*4882a593Smuzhiyun			clocks = <&sysclk>;
195*4882a593Smuzhiyun			clock-names = "ipg";
196*4882a593Smuzhiyun			status = "disabled";
197*4882a593Smuzhiyun		};
198*4882a593Smuzhiyun
199*4882a593Smuzhiyun		lpuart5: serial@29a0000 {
200*4882a593Smuzhiyun			compatible = "fsl,ls1021a-lpuart";
201*4882a593Smuzhiyun			reg = <0x0 0x29a0000 0x0 0x1000>;
202*4882a593Smuzhiyun			interrupts = <0 53 0x4>;
203*4882a593Smuzhiyun			clocks = <&sysclk>;
204*4882a593Smuzhiyun			clock-names = "ipg";
205*4882a593Smuzhiyun			status = "disabled";
206*4882a593Smuzhiyun		};
207*4882a593Smuzhiyun		qspi: quadspi@1550000 {
208*4882a593Smuzhiyun			compatible = "fsl,vf610-qspi";
209*4882a593Smuzhiyun			#address-cells = <1>;
210*4882a593Smuzhiyun			#size-cells = <0>;
211*4882a593Smuzhiyun			reg = <0x0 0x1550000 0x0 0x10000>,
212*4882a593Smuzhiyun				<0x0 0x40000000 0x0 0x4000000>;
213*4882a593Smuzhiyun			reg-names = "QuadSPI", "QuadSPI-memory";
214*4882a593Smuzhiyun			num-cs = <2>;
215*4882a593Smuzhiyun			big-endian;
216*4882a593Smuzhiyun			status = "disabled";
217*4882a593Smuzhiyun		};
218*4882a593Smuzhiyun
219*4882a593Smuzhiyun		usb0: usb3@2f00000 {
220*4882a593Smuzhiyun			compatible = "fsl,layerscape-dwc3";
221*4882a593Smuzhiyun			reg = <0x0 0x2f00000 0x0 0x10000>;
222*4882a593Smuzhiyun			interrupts = <0 60 0x4>;
223*4882a593Smuzhiyun			dr_mode = "host";
224*4882a593Smuzhiyun		};
225*4882a593Smuzhiyun
226*4882a593Smuzhiyun		usb1: usb3@3000000 {
227*4882a593Smuzhiyun			compatible = "fsl,layerscape-dwc3";
228*4882a593Smuzhiyun			reg = <0x0 0x3000000 0x0 0x10000>;
229*4882a593Smuzhiyun			interrupts = <0 61 0x4>;
230*4882a593Smuzhiyun			dr_mode = "host";
231*4882a593Smuzhiyun		};
232*4882a593Smuzhiyun
233*4882a593Smuzhiyun		usb2: usb3@3100000 {
234*4882a593Smuzhiyun			compatible = "fsl,layerscape-dwc3";
235*4882a593Smuzhiyun			reg = <0x0 0x3100000 0x0 0x10000>;
236*4882a593Smuzhiyun			interrupts = <0 63 0x4>;
237*4882a593Smuzhiyun			dr_mode = "host";
238*4882a593Smuzhiyun		};
239*4882a593Smuzhiyun
240*4882a593Smuzhiyun		pcie@3400000 {
241*4882a593Smuzhiyun			compatible = "fsl,ls-pcie", "snps,dw-pcie";
242*4882a593Smuzhiyun			reg = <0x00 0x03400000 0x0 0x10000   /* dbi registers */
243*4882a593Smuzhiyun			       0x00 0x03410000 0x0 0x10000   /* lut registers */
244*4882a593Smuzhiyun			       0x40 0x00000000 0x0 0x20000>; /* configuration space */
245*4882a593Smuzhiyun			reg-names = "dbi", "lut", "config";
246*4882a593Smuzhiyun			big-endian;
247*4882a593Smuzhiyun			#address-cells = <3>;
248*4882a593Smuzhiyun			#size-cells = <2>;
249*4882a593Smuzhiyun			device_type = "pci";
250*4882a593Smuzhiyun			bus-range = <0x0 0xff>;
251*4882a593Smuzhiyun			ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000   /* downstream I/O */
252*4882a593Smuzhiyun				  0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
253*4882a593Smuzhiyun		};
254*4882a593Smuzhiyun
255*4882a593Smuzhiyun		pcie@3500000 {
256*4882a593Smuzhiyun			compatible = "fsl,ls-pcie", "snps,dw-pcie";
257*4882a593Smuzhiyun			reg = <0x00 0x03500000 0x0 0x10000   /* dbi registers */
258*4882a593Smuzhiyun			       0x00 0x03510000 0x0 0x10000   /* lut registers */
259*4882a593Smuzhiyun			       0x48 0x00000000 0x0 0x20000>; /* configuration space */
260*4882a593Smuzhiyun			reg-names = "dbi", "lut", "config";
261*4882a593Smuzhiyun			big-endian;
262*4882a593Smuzhiyun			#address-cells = <3>;
263*4882a593Smuzhiyun			#size-cells = <2>;
264*4882a593Smuzhiyun			device_type = "pci";
265*4882a593Smuzhiyun			num-lanes = <2>;
266*4882a593Smuzhiyun			bus-range = <0x0 0xff>;
267*4882a593Smuzhiyun			ranges = <0x81000000 0x0 0x00000000 0x48 0x00020000 0x0 0x00010000   /* downstream I/O */
268*4882a593Smuzhiyun				  0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
269*4882a593Smuzhiyun		};
270*4882a593Smuzhiyun
271*4882a593Smuzhiyun		pcie@3600000 {
272*4882a593Smuzhiyun			compatible = "fsl,ls-pcie", "snps,dw-pcie";
273*4882a593Smuzhiyun			reg = <0x00 0x03600000 0x0 0x10000   /* dbi registers */
274*4882a593Smuzhiyun			       0x00 0x03610000 0x0 0x10000   /* lut registers */
275*4882a593Smuzhiyun			       0x50 0x00000000 0x0 0x20000>; /* configuration space */
276*4882a593Smuzhiyun			reg-names = "dbi", "lut", "config";
277*4882a593Smuzhiyun			big-endian;
278*4882a593Smuzhiyun			#address-cells = <3>;
279*4882a593Smuzhiyun			#size-cells = <2>;
280*4882a593Smuzhiyun			device_type = "pci";
281*4882a593Smuzhiyun			bus-range = <0x0 0xff>;
282*4882a593Smuzhiyun			ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000   /* downstream I/O */
283*4882a593Smuzhiyun				  0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
284*4882a593Smuzhiyun		};
285*4882a593Smuzhiyun	};
286*4882a593Smuzhiyun};
287