1965fcb4dSShaveta Leekha/*
2965fcb4dSShaveta Leekha * B4420 Silicon/SoC Device Tree Source (post include)
3965fcb4dSShaveta Leekha *
4965fcb4dSShaveta Leekha * Copyright 2012 Freescale Semiconductor, Inc.
5965fcb4dSShaveta Leekha *
6965fcb4dSShaveta Leekha * Redistribution and use in source and binary forms, with or without
7965fcb4dSShaveta Leekha * modification, are permitted provided that the following conditions are met:
8965fcb4dSShaveta Leekha *     * Redistributions of source code must retain the above copyright
9965fcb4dSShaveta Leekha *       notice, this list of conditions and the following disclaimer.
10965fcb4dSShaveta Leekha *     * Redistributions in binary form must reproduce the above copyright
11965fcb4dSShaveta Leekha *       notice, this list of conditions and the following disclaimer in the
12965fcb4dSShaveta Leekha *       documentation and/or other materials provided with the distribution.
13965fcb4dSShaveta Leekha *     * Neither the name of Freescale Semiconductor nor the
14965fcb4dSShaveta Leekha *       names of its contributors may be used to endorse or promote products
15965fcb4dSShaveta Leekha *       derived from this software without specific prior written permission.
16965fcb4dSShaveta Leekha *
17965fcb4dSShaveta Leekha *
18965fcb4dSShaveta Leekha * ALTERNATIVELY, this software may be distributed under the terms of the
19965fcb4dSShaveta Leekha * GNU General Public License ("GPL") as published by the Free Software
20965fcb4dSShaveta Leekha * Foundation, either version 2 of that License or (at your option) any
21965fcb4dSShaveta Leekha * later version.
22965fcb4dSShaveta Leekha *
23965fcb4dSShaveta Leekha * This software is provided by Freescale Semiconductor "as is" and any
24965fcb4dSShaveta Leekha * express or implied warranties, including, but not limited to, the implied
25965fcb4dSShaveta Leekha * warranties of merchantability and fitness for a particular purpose are
26965fcb4dSShaveta Leekha * disclaimed. In no event shall Freescale Semiconductor be liable for any
27965fcb4dSShaveta Leekha * direct, indirect, incidental, special, exemplary, or consequential damages
28965fcb4dSShaveta Leekha * (including, but not limited to, procurement of substitute goods or services;
29965fcb4dSShaveta Leekha * loss of use, data, or profits; or business interruption) however caused and
30965fcb4dSShaveta Leekha * on any theory of liability, whether in contract, strict liability, or tort
31965fcb4dSShaveta Leekha * (including negligence or otherwise) arising in any way out of the use of
32965fcb4dSShaveta Leekha * this software, even if advised of the possibility of such damage.
33965fcb4dSShaveta Leekha */
34965fcb4dSShaveta Leekha
35965fcb4dSShaveta Leekha&ifc {
36965fcb4dSShaveta Leekha	#address-cells = <2>;
37965fcb4dSShaveta Leekha	#size-cells = <1>;
38965fcb4dSShaveta Leekha	compatible = "fsl,ifc", "simple-bus";
39965fcb4dSShaveta Leekha	interrupts = <25 2 0 0>;
40965fcb4dSShaveta Leekha};
41965fcb4dSShaveta Leekha
42965fcb4dSShaveta Leekha/* controller at 0x200000 */
43965fcb4dSShaveta Leekha&pci0 {
44965fcb4dSShaveta Leekha	compatible = "fsl,b4-pcie", "fsl,qoriq-pcie-v2.4";
45965fcb4dSShaveta Leekha	device_type = "pci";
46965fcb4dSShaveta Leekha	#size-cells = <2>;
47965fcb4dSShaveta Leekha	#address-cells = <3>;
48965fcb4dSShaveta Leekha	bus-range = <0x0 0xff>;
49965fcb4dSShaveta Leekha	interrupts = <20 2 0 0>;
50965fcb4dSShaveta Leekha	fsl,iommu-parent = <&pamu0>;
51965fcb4dSShaveta Leekha	pcie@0 {
52965fcb4dSShaveta Leekha		#interrupt-cells = <1>;
53965fcb4dSShaveta Leekha		#size-cells = <2>;
54965fcb4dSShaveta Leekha		#address-cells = <3>;
55965fcb4dSShaveta Leekha		device_type = "pci";
56965fcb4dSShaveta Leekha		interrupts = <20 2 0 0>;
57965fcb4dSShaveta Leekha		interrupt-map-mask = <0xf800 0 0 7>;
58965fcb4dSShaveta Leekha		interrupt-map = <
59965fcb4dSShaveta Leekha			/* IDSEL 0x0 */
60965fcb4dSShaveta Leekha			0000 0 0 1 &mpic 40 1 0 0
61965fcb4dSShaveta Leekha			0000 0 0 2 &mpic 1 1 0 0
62965fcb4dSShaveta Leekha			0000 0 0 3 &mpic 2 1 0 0
63965fcb4dSShaveta Leekha			0000 0 0 4 &mpic 3 1 0 0
64965fcb4dSShaveta Leekha			>;
65965fcb4dSShaveta Leekha	};
66965fcb4dSShaveta Leekha};
67965fcb4dSShaveta Leekha
68965fcb4dSShaveta Leekha&dcsr {
69965fcb4dSShaveta Leekha	#address-cells = <1>;
70965fcb4dSShaveta Leekha	#size-cells = <1>;
71965fcb4dSShaveta Leekha	compatible = "fsl,dcsr", "simple-bus";
72965fcb4dSShaveta Leekha
73965fcb4dSShaveta Leekha	dcsr-epu@0 {
74965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-epu", "fsl,dcsr-epu";
75965fcb4dSShaveta Leekha		interrupts = <52 2 0 0
76965fcb4dSShaveta Leekha			      84 2 0 0
77965fcb4dSShaveta Leekha			      85 2 0 0
78965fcb4dSShaveta Leekha			      94 2 0 0
79965fcb4dSShaveta Leekha			      95 2 0 0>;
80965fcb4dSShaveta Leekha		reg = <0x0 0x1000>;
81965fcb4dSShaveta Leekha	};
82965fcb4dSShaveta Leekha	dcsr-npc {
83965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-cnpc", "fsl,dcsr-cnpc";
84965fcb4dSShaveta Leekha		reg = <0x1000 0x1000 0x1002000 0x10000>;
85965fcb4dSShaveta Leekha	};
86965fcb4dSShaveta Leekha	dcsr-nxc@2000 {
87965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-nxc";
88965fcb4dSShaveta Leekha		reg = <0x2000 0x1000>;
89965fcb4dSShaveta Leekha	};
90965fcb4dSShaveta Leekha	dcsr-corenet {
91965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-corenet";
92965fcb4dSShaveta Leekha		reg = <0x8000 0x1000 0x1A000 0x1000>;
93965fcb4dSShaveta Leekha	};
94965fcb4dSShaveta Leekha	dcsr-dpaa@9000 {
95965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-dpaa", "fsl,dcsr-dpaa";
96965fcb4dSShaveta Leekha		reg = <0x9000 0x1000>;
97965fcb4dSShaveta Leekha	};
98965fcb4dSShaveta Leekha	dcsr-ocn@11000 {
99965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-ocn", "fsl,dcsr-ocn";
100965fcb4dSShaveta Leekha		reg = <0x11000 0x1000>;
101965fcb4dSShaveta Leekha	};
102965fcb4dSShaveta Leekha	dcsr-ddr@12000 {
103965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-ddr";
104965fcb4dSShaveta Leekha		dev-handle = <&ddr1>;
105965fcb4dSShaveta Leekha		reg = <0x12000 0x1000>;
106965fcb4dSShaveta Leekha	};
107965fcb4dSShaveta Leekha	dcsr-nal@18000 {
108965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-nal", "fsl,dcsr-nal";
109965fcb4dSShaveta Leekha		reg = <0x18000 0x1000>;
110965fcb4dSShaveta Leekha	};
111965fcb4dSShaveta Leekha	dcsr-rcpm@22000 {
112965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-rcpm", "fsl,dcsr-rcpm";
113965fcb4dSShaveta Leekha		reg = <0x22000 0x1000>;
114965fcb4dSShaveta Leekha	};
115965fcb4dSShaveta Leekha	dcsr-snpc@30000 {
116965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-snpc", "fsl,dcsr-snpc";
117965fcb4dSShaveta Leekha		reg = <0x30000 0x1000 0x1022000 0x10000>;
118965fcb4dSShaveta Leekha	};
119965fcb4dSShaveta Leekha	dcsr-snpc@31000 {
120965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-snpc", "fsl,dcsr-snpc";
121965fcb4dSShaveta Leekha		reg = <0x31000 0x1000 0x1042000 0x10000>;
122965fcb4dSShaveta Leekha	};
123965fcb4dSShaveta Leekha	dcsr-cpu-sb-proxy@100000 {
124965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
125965fcb4dSShaveta Leekha		cpu-handle = <&cpu0>;
126965fcb4dSShaveta Leekha		reg = <0x100000 0x1000 0x101000 0x1000>;
127965fcb4dSShaveta Leekha	};
128965fcb4dSShaveta Leekha};
129965fcb4dSShaveta Leekha
130965fcb4dSShaveta Leekha&soc {
131965fcb4dSShaveta Leekha	#address-cells = <1>;
132965fcb4dSShaveta Leekha	#size-cells = <1>;
133965fcb4dSShaveta Leekha	device_type = "soc";
134965fcb4dSShaveta Leekha	compatible = "simple-bus";
135965fcb4dSShaveta Leekha
136965fcb4dSShaveta Leekha	soc-sram-error {
137965fcb4dSShaveta Leekha		compatible = "fsl,soc-sram-error";
138965fcb4dSShaveta Leekha		interrupts = <16 2 1 2>;
139965fcb4dSShaveta Leekha	};
140965fcb4dSShaveta Leekha
141965fcb4dSShaveta Leekha	corenet-law@0 {
142965fcb4dSShaveta Leekha		compatible = "fsl,corenet-law";
143965fcb4dSShaveta Leekha		reg = <0x0 0x1000>;
144965fcb4dSShaveta Leekha		fsl,num-laws = <32>;
145965fcb4dSShaveta Leekha	};
146965fcb4dSShaveta Leekha
147965fcb4dSShaveta Leekha	ddr1: memory-controller@8000 {
148965fcb4dSShaveta Leekha		compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
149965fcb4dSShaveta Leekha		reg = <0x8000 0x1000>;
150965fcb4dSShaveta Leekha		interrupts = <16 2 1 8>;
151965fcb4dSShaveta Leekha	};
152965fcb4dSShaveta Leekha
153965fcb4dSShaveta Leekha	cpc: l3-cache-controller@10000 {
154965fcb4dSShaveta Leekha		compatible = "fsl,b4-l3-cache-controller", "cache";
155965fcb4dSShaveta Leekha		reg = <0x10000 0x1000>;
156965fcb4dSShaveta Leekha		interrupts = <16 2 1 4>;
157965fcb4dSShaveta Leekha	};
158965fcb4dSShaveta Leekha
159965fcb4dSShaveta Leekha	corenet-cf@18000 {
160965fcb4dSShaveta Leekha		compatible = "fsl,b4-corenet-cf";
161965fcb4dSShaveta Leekha		reg = <0x18000 0x1000>;
162965fcb4dSShaveta Leekha		interrupts = <16 2 1 0>;
163965fcb4dSShaveta Leekha		fsl,ccf-num-csdids = <32>;
164965fcb4dSShaveta Leekha		fsl,ccf-num-snoopids = <32>;
165965fcb4dSShaveta Leekha	};
166965fcb4dSShaveta Leekha
167965fcb4dSShaveta Leekha	iommu@20000 {
168965fcb4dSShaveta Leekha		compatible =  "fsl,pamu-v1.0", "fsl,pamu";
169965fcb4dSShaveta Leekha		reg = <0x20000 0x4000>;
170965fcb4dSShaveta Leekha		#address-cells = <1>;
171965fcb4dSShaveta Leekha		#size-cells = <1>;
172965fcb4dSShaveta Leekha		interrupts = <
173965fcb4dSShaveta Leekha			24 2 0 0
174965fcb4dSShaveta Leekha			16 2 1 1>;
175965fcb4dSShaveta Leekha
176965fcb4dSShaveta Leekha
177965fcb4dSShaveta Leekha		/* PCIe, DMA, SRIO */
178965fcb4dSShaveta Leekha		pamu0: pamu@0 {
179965fcb4dSShaveta Leekha			reg = <0 0x1000>;
180965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <8 1>;
181965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
182965fcb4dSShaveta Leekha		};
183965fcb4dSShaveta Leekha
184965fcb4dSShaveta Leekha		/* AXI2, Maple */
185965fcb4dSShaveta Leekha		pamu1: pamu@1000 {
186965fcb4dSShaveta Leekha			reg = <0x1000 0x1000>;
187965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <32 1>;
188965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
189965fcb4dSShaveta Leekha		};
190965fcb4dSShaveta Leekha
191965fcb4dSShaveta Leekha		/* Q/BMan */
192965fcb4dSShaveta Leekha		pamu2: pamu@2000 {
193965fcb4dSShaveta Leekha			reg = <0x2000 0x1000>;
194965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <32 1>;
195965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
196965fcb4dSShaveta Leekha		};
197965fcb4dSShaveta Leekha
198965fcb4dSShaveta Leekha		/* AXI1, FMAN */
199965fcb4dSShaveta Leekha		pamu3: pamu@3000 {
200965fcb4dSShaveta Leekha			reg = <0x3000 0x1000>;
201965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <32 1>;
202965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
203965fcb4dSShaveta Leekha		};
204965fcb4dSShaveta Leekha	};
205965fcb4dSShaveta Leekha
206965fcb4dSShaveta Leekha/include/ "qoriq-mpic.dtsi"
207965fcb4dSShaveta Leekha
208965fcb4dSShaveta Leekha	guts: global-utilities@e0000 {
209965fcb4dSShaveta Leekha		compatible = "fsl,b4-device-config";
210965fcb4dSShaveta Leekha		reg = <0xe0000 0xe00>;
211965fcb4dSShaveta Leekha		fsl,has-rstcr;
212965fcb4dSShaveta Leekha		fsl,liodn-bits = <12>;
213965fcb4dSShaveta Leekha	};
214965fcb4dSShaveta Leekha
215965fcb4dSShaveta Leekha	clockgen: global-utilities@e1000 {
216965fcb4dSShaveta Leekha		compatible = "fsl,b4-clockgen", "fsl,qoriq-clockgen-2.0";
217965fcb4dSShaveta Leekha		reg = <0xe1000 0x1000>;
218965fcb4dSShaveta Leekha	};
219965fcb4dSShaveta Leekha
220965fcb4dSShaveta Leekha	rcpm: global-utilities@e2000 {
221965fcb4dSShaveta Leekha		compatible = "fsl,b4-rcpm", "fsl,qoriq-rcpm-2.0";
222965fcb4dSShaveta Leekha		reg = <0xe2000 0x1000>;
223965fcb4dSShaveta Leekha	};
224965fcb4dSShaveta Leekha
225965fcb4dSShaveta Leekha/include/ "qoriq-dma-0.dtsi"
226965fcb4dSShaveta Leekha	dma@100300 {
227965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu0>;
228965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
229965fcb4dSShaveta Leekha	};
230965fcb4dSShaveta Leekha
231965fcb4dSShaveta Leekha/include/ "qoriq-dma-1.dtsi"
232965fcb4dSShaveta Leekha	dma@101300 {
233965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu0>;
234965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
235965fcb4dSShaveta Leekha	};
236965fcb4dSShaveta Leekha
237965fcb4dSShaveta Leekha/include/ "qonverge-usb2-dr-0.dtsi"
238965fcb4dSShaveta Leekha	usb0: usb@210000 {
239965fcb4dSShaveta Leekha		compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr";
240965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu1>;
241965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
242965fcb4dSShaveta Leekha	};
243965fcb4dSShaveta Leekha
244965fcb4dSShaveta Leekha/include/ "qoriq-espi-0.dtsi"
245965fcb4dSShaveta Leekha	spi@110000 {
246965fcb4dSShaveta Leekha		fsl,espi-num-chipselects = <4>;
247965fcb4dSShaveta Leekha	};
248965fcb4dSShaveta Leekha
249965fcb4dSShaveta Leekha/include/ "qoriq-esdhc-0.dtsi"
250965fcb4dSShaveta Leekha	sdhc@114000 {
251965fcb4dSShaveta Leekha		sdhci,auto-cmd12;
252965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu1>;
253965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
254965fcb4dSShaveta Leekha	};
255965fcb4dSShaveta Leekha
256965fcb4dSShaveta Leekha/include/ "qoriq-i2c-0.dtsi"
257965fcb4dSShaveta Leekha/include/ "qoriq-i2c-1.dtsi"
258965fcb4dSShaveta Leekha/include/ "qoriq-duart-0.dtsi"
259965fcb4dSShaveta Leekha/include/ "qoriq-duart-1.dtsi"
260965fcb4dSShaveta Leekha/include/ "qoriq-sec5.3-0.dtsi"
261965fcb4dSShaveta Leekha
262965fcb4dSShaveta Leekha	L2: l2-cache-controller@c20000 {
263965fcb4dSShaveta Leekha		compatible = "fsl,b4-l2-cache-controller";
264965fcb4dSShaveta Leekha		reg = <0xc20000 0x1000>;
265965fcb4dSShaveta Leekha		next-level-cache = <&cpc>;
266965fcb4dSShaveta Leekha	};
267965fcb4dSShaveta Leekha};
268