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";
569e2ecdbbSKevin Hao		reg = <0 0 0 0 0>;
57965fcb4dSShaveta Leekha		interrupts = <20 2 0 0>;
58965fcb4dSShaveta Leekha		interrupt-map-mask = <0xf800 0 0 7>;
59965fcb4dSShaveta Leekha		interrupt-map = <
60965fcb4dSShaveta Leekha			/* IDSEL 0x0 */
61965fcb4dSShaveta Leekha			0000 0 0 1 &mpic 40 1 0 0
62965fcb4dSShaveta Leekha			0000 0 0 2 &mpic 1 1 0 0
63965fcb4dSShaveta Leekha			0000 0 0 3 &mpic 2 1 0 0
64965fcb4dSShaveta Leekha			0000 0 0 4 &mpic 3 1 0 0
65965fcb4dSShaveta Leekha			>;
66965fcb4dSShaveta Leekha	};
67965fcb4dSShaveta Leekha};
68965fcb4dSShaveta Leekha
69965fcb4dSShaveta Leekha&dcsr {
70965fcb4dSShaveta Leekha	#address-cells = <1>;
71965fcb4dSShaveta Leekha	#size-cells = <1>;
72965fcb4dSShaveta Leekha	compatible = "fsl,dcsr", "simple-bus";
73965fcb4dSShaveta Leekha
74965fcb4dSShaveta Leekha	dcsr-epu@0 {
75965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-epu", "fsl,dcsr-epu";
76965fcb4dSShaveta Leekha		interrupts = <52 2 0 0
77965fcb4dSShaveta Leekha			      84 2 0 0
78965fcb4dSShaveta Leekha			      85 2 0 0
79965fcb4dSShaveta Leekha			      94 2 0 0
80965fcb4dSShaveta Leekha			      95 2 0 0>;
81965fcb4dSShaveta Leekha		reg = <0x0 0x1000>;
82965fcb4dSShaveta Leekha	};
83965fcb4dSShaveta Leekha	dcsr-npc {
84965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-cnpc", "fsl,dcsr-cnpc";
85965fcb4dSShaveta Leekha		reg = <0x1000 0x1000 0x1002000 0x10000>;
86965fcb4dSShaveta Leekha	};
87965fcb4dSShaveta Leekha	dcsr-nxc@2000 {
88965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-nxc";
89965fcb4dSShaveta Leekha		reg = <0x2000 0x1000>;
90965fcb4dSShaveta Leekha	};
91965fcb4dSShaveta Leekha	dcsr-corenet {
92965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-corenet";
93965fcb4dSShaveta Leekha		reg = <0x8000 0x1000 0x1A000 0x1000>;
94965fcb4dSShaveta Leekha	};
95965fcb4dSShaveta Leekha	dcsr-dpaa@9000 {
96965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-dpaa", "fsl,dcsr-dpaa";
97965fcb4dSShaveta Leekha		reg = <0x9000 0x1000>;
98965fcb4dSShaveta Leekha	};
99965fcb4dSShaveta Leekha	dcsr-ocn@11000 {
100965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-ocn", "fsl,dcsr-ocn";
101965fcb4dSShaveta Leekha		reg = <0x11000 0x1000>;
102965fcb4dSShaveta Leekha	};
103965fcb4dSShaveta Leekha	dcsr-ddr@12000 {
104965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-ddr";
105965fcb4dSShaveta Leekha		dev-handle = <&ddr1>;
106965fcb4dSShaveta Leekha		reg = <0x12000 0x1000>;
107965fcb4dSShaveta Leekha	};
108965fcb4dSShaveta Leekha	dcsr-nal@18000 {
109965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-nal", "fsl,dcsr-nal";
110965fcb4dSShaveta Leekha		reg = <0x18000 0x1000>;
111965fcb4dSShaveta Leekha	};
112965fcb4dSShaveta Leekha	dcsr-rcpm@22000 {
113965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-rcpm", "fsl,dcsr-rcpm";
114965fcb4dSShaveta Leekha		reg = <0x22000 0x1000>;
115965fcb4dSShaveta Leekha	};
116965fcb4dSShaveta Leekha	dcsr-snpc@30000 {
117965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-snpc", "fsl,dcsr-snpc";
118965fcb4dSShaveta Leekha		reg = <0x30000 0x1000 0x1022000 0x10000>;
119965fcb4dSShaveta Leekha	};
120965fcb4dSShaveta Leekha	dcsr-snpc@31000 {
121965fcb4dSShaveta Leekha		compatible = "fsl,b4-dcsr-snpc", "fsl,dcsr-snpc";
122965fcb4dSShaveta Leekha		reg = <0x31000 0x1000 0x1042000 0x10000>;
123965fcb4dSShaveta Leekha	};
124965fcb4dSShaveta Leekha	dcsr-cpu-sb-proxy@100000 {
125965fcb4dSShaveta Leekha		compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
126965fcb4dSShaveta Leekha		cpu-handle = <&cpu0>;
127965fcb4dSShaveta Leekha		reg = <0x100000 0x1000 0x101000 0x1000>;
128965fcb4dSShaveta Leekha	};
129965fcb4dSShaveta Leekha};
130965fcb4dSShaveta Leekha
131965fcb4dSShaveta Leekha&soc {
132965fcb4dSShaveta Leekha	#address-cells = <1>;
133965fcb4dSShaveta Leekha	#size-cells = <1>;
134965fcb4dSShaveta Leekha	device_type = "soc";
135965fcb4dSShaveta Leekha	compatible = "simple-bus";
136965fcb4dSShaveta Leekha
137965fcb4dSShaveta Leekha	soc-sram-error {
138965fcb4dSShaveta Leekha		compatible = "fsl,soc-sram-error";
139965fcb4dSShaveta Leekha		interrupts = <16 2 1 2>;
140965fcb4dSShaveta Leekha	};
141965fcb4dSShaveta Leekha
142965fcb4dSShaveta Leekha	corenet-law@0 {
143965fcb4dSShaveta Leekha		compatible = "fsl,corenet-law";
144965fcb4dSShaveta Leekha		reg = <0x0 0x1000>;
145965fcb4dSShaveta Leekha		fsl,num-laws = <32>;
146965fcb4dSShaveta Leekha	};
147965fcb4dSShaveta Leekha
148965fcb4dSShaveta Leekha	ddr1: memory-controller@8000 {
149965fcb4dSShaveta Leekha		compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
150965fcb4dSShaveta Leekha		reg = <0x8000 0x1000>;
151965fcb4dSShaveta Leekha		interrupts = <16 2 1 8>;
152965fcb4dSShaveta Leekha	};
153965fcb4dSShaveta Leekha
154965fcb4dSShaveta Leekha	cpc: l3-cache-controller@10000 {
155965fcb4dSShaveta Leekha		compatible = "fsl,b4-l3-cache-controller", "cache";
156965fcb4dSShaveta Leekha		reg = <0x10000 0x1000>;
157965fcb4dSShaveta Leekha		interrupts = <16 2 1 4>;
158965fcb4dSShaveta Leekha	};
159965fcb4dSShaveta Leekha
160965fcb4dSShaveta Leekha	corenet-cf@18000 {
161965fcb4dSShaveta Leekha		compatible = "fsl,b4-corenet-cf";
162965fcb4dSShaveta Leekha		reg = <0x18000 0x1000>;
163965fcb4dSShaveta Leekha		interrupts = <16 2 1 0>;
164965fcb4dSShaveta Leekha		fsl,ccf-num-csdids = <32>;
165965fcb4dSShaveta Leekha		fsl,ccf-num-snoopids = <32>;
166965fcb4dSShaveta Leekha	};
167965fcb4dSShaveta Leekha
168965fcb4dSShaveta Leekha	iommu@20000 {
169965fcb4dSShaveta Leekha		compatible =  "fsl,pamu-v1.0", "fsl,pamu";
170965fcb4dSShaveta Leekha		reg = <0x20000 0x4000>;
171965fcb4dSShaveta Leekha		#address-cells = <1>;
172965fcb4dSShaveta Leekha		#size-cells = <1>;
173965fcb4dSShaveta Leekha		interrupts = <
174965fcb4dSShaveta Leekha			24 2 0 0
175965fcb4dSShaveta Leekha			16 2 1 1>;
176965fcb4dSShaveta Leekha
177965fcb4dSShaveta Leekha
178965fcb4dSShaveta Leekha		/* PCIe, DMA, SRIO */
179965fcb4dSShaveta Leekha		pamu0: pamu@0 {
180965fcb4dSShaveta Leekha			reg = <0 0x1000>;
181965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <8 1>;
182965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
183965fcb4dSShaveta Leekha		};
184965fcb4dSShaveta Leekha
185965fcb4dSShaveta Leekha		/* AXI2, Maple */
186965fcb4dSShaveta Leekha		pamu1: pamu@1000 {
187965fcb4dSShaveta Leekha			reg = <0x1000 0x1000>;
188965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <32 1>;
189965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
190965fcb4dSShaveta Leekha		};
191965fcb4dSShaveta Leekha
192965fcb4dSShaveta Leekha		/* Q/BMan */
193965fcb4dSShaveta Leekha		pamu2: pamu@2000 {
194965fcb4dSShaveta Leekha			reg = <0x2000 0x1000>;
195965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <32 1>;
196965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
197965fcb4dSShaveta Leekha		};
198965fcb4dSShaveta Leekha
199965fcb4dSShaveta Leekha		/* AXI1, FMAN */
200965fcb4dSShaveta Leekha		pamu3: pamu@3000 {
201965fcb4dSShaveta Leekha			reg = <0x3000 0x1000>;
202965fcb4dSShaveta Leekha			fsl,primary-cache-geometry = <32 1>;
203965fcb4dSShaveta Leekha			fsl,secondary-cache-geometry = <32 2>;
204965fcb4dSShaveta Leekha		};
205965fcb4dSShaveta Leekha	};
206965fcb4dSShaveta Leekha
207965fcb4dSShaveta Leekha/include/ "qoriq-mpic.dtsi"
208965fcb4dSShaveta Leekha
209965fcb4dSShaveta Leekha	guts: global-utilities@e0000 {
210965fcb4dSShaveta Leekha		compatible = "fsl,b4-device-config";
211965fcb4dSShaveta Leekha		reg = <0xe0000 0xe00>;
212965fcb4dSShaveta Leekha		fsl,has-rstcr;
213965fcb4dSShaveta Leekha		fsl,liodn-bits = <12>;
214965fcb4dSShaveta Leekha	};
215965fcb4dSShaveta Leekha
216965fcb4dSShaveta Leekha	clockgen: global-utilities@e1000 {
217965fcb4dSShaveta Leekha		compatible = "fsl,b4-clockgen", "fsl,qoriq-clockgen-2.0";
218965fcb4dSShaveta Leekha		reg = <0xe1000 0x1000>;
219965fcb4dSShaveta Leekha	};
220965fcb4dSShaveta Leekha
221965fcb4dSShaveta Leekha	rcpm: global-utilities@e2000 {
222965fcb4dSShaveta Leekha		compatible = "fsl,b4-rcpm", "fsl,qoriq-rcpm-2.0";
223965fcb4dSShaveta Leekha		reg = <0xe2000 0x1000>;
224965fcb4dSShaveta Leekha	};
225965fcb4dSShaveta Leekha
226965fcb4dSShaveta Leekha/include/ "qoriq-dma-0.dtsi"
227965fcb4dSShaveta Leekha	dma@100300 {
228965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu0>;
229965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
230965fcb4dSShaveta Leekha	};
231965fcb4dSShaveta Leekha
232965fcb4dSShaveta Leekha/include/ "qoriq-dma-1.dtsi"
233965fcb4dSShaveta Leekha	dma@101300 {
234965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu0>;
235965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
236965fcb4dSShaveta Leekha	};
237965fcb4dSShaveta Leekha
238965fcb4dSShaveta Leekha/include/ "qonverge-usb2-dr-0.dtsi"
239965fcb4dSShaveta Leekha	usb0: usb@210000 {
240965fcb4dSShaveta Leekha		compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr";
241965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu1>;
242965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
243965fcb4dSShaveta Leekha	};
244965fcb4dSShaveta Leekha
245965fcb4dSShaveta Leekha/include/ "qoriq-espi-0.dtsi"
246965fcb4dSShaveta Leekha	spi@110000 {
247965fcb4dSShaveta Leekha		fsl,espi-num-chipselects = <4>;
248965fcb4dSShaveta Leekha	};
249965fcb4dSShaveta Leekha
250965fcb4dSShaveta Leekha/include/ "qoriq-esdhc-0.dtsi"
251965fcb4dSShaveta Leekha	sdhc@114000 {
252965fcb4dSShaveta Leekha		sdhci,auto-cmd12;
253965fcb4dSShaveta Leekha		fsl,iommu-parent = <&pamu1>;
254965fcb4dSShaveta Leekha		fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
255965fcb4dSShaveta Leekha	};
256965fcb4dSShaveta Leekha
257965fcb4dSShaveta Leekha/include/ "qoriq-i2c-0.dtsi"
258965fcb4dSShaveta Leekha/include/ "qoriq-i2c-1.dtsi"
259965fcb4dSShaveta Leekha/include/ "qoriq-duart-0.dtsi"
260965fcb4dSShaveta Leekha/include/ "qoriq-duart-1.dtsi"
261965fcb4dSShaveta Leekha/include/ "qoriq-sec5.3-0.dtsi"
262965fcb4dSShaveta Leekha
263965fcb4dSShaveta Leekha	L2: l2-cache-controller@c20000 {
264965fcb4dSShaveta Leekha		compatible = "fsl,b4-l2-cache-controller";
265965fcb4dSShaveta Leekha		reg = <0xc20000 0x1000>;
266965fcb4dSShaveta Leekha		next-level-cache = <&cpc>;
267965fcb4dSShaveta Leekha	};
268965fcb4dSShaveta Leekha};
269