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