1b7f81754SKumar Gala/*
2b7f81754SKumar Gala * MPC8544 Silicon/SoC Device Tree Source (post include)
3b7f81754SKumar Gala *
4b7f81754SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
5b7f81754SKumar Gala *
6b7f81754SKumar Gala * Redistribution and use in source and binary forms, with or without
7b7f81754SKumar Gala * modification, are permitted provided that the following conditions are met:
8b7f81754SKumar Gala *     * Redistributions of source code must retain the above copyright
9b7f81754SKumar Gala *       notice, this list of conditions and the following disclaimer.
10b7f81754SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
11b7f81754SKumar Gala *       notice, this list of conditions and the following disclaimer in the
12b7f81754SKumar Gala *       documentation and/or other materials provided with the distribution.
13b7f81754SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
14b7f81754SKumar Gala *       names of its contributors may be used to endorse or promote products
15b7f81754SKumar Gala *       derived from this software without specific prior written permission.
16b7f81754SKumar Gala *
17b7f81754SKumar Gala *
18b7f81754SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
19b7f81754SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
20b7f81754SKumar Gala * Foundation, either version 2 of that License or (at your option) any
21b7f81754SKumar Gala * later version.
22b7f81754SKumar Gala *
23b7f81754SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24b7f81754SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25b7f81754SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26b7f81754SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27b7f81754SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28b7f81754SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29b7f81754SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30b7f81754SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31b7f81754SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32b7f81754SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33b7f81754SKumar Gala */
34b7f81754SKumar Gala
35b7f81754SKumar Gala&lbc {
36b7f81754SKumar Gala	#address-cells = <2>;
37b7f81754SKumar Gala	#size-cells = <1>;
38b7f81754SKumar Gala	compatible = "fsl,mpc8544-lbc", "fsl,pq3-localbus", "simple-bus";
39b7f81754SKumar Gala	interrupts = <19 2 0 0>;
40b7f81754SKumar Gala};
41b7f81754SKumar Gala
42b7f81754SKumar Gala/* controller at 0x8000 */
43b7f81754SKumar Gala&pci0 {
44b7f81754SKumar Gala	compatible = "fsl,mpc8540-pci";
45b7f81754SKumar Gala	device_type = "pci";
46b7f81754SKumar Gala	interrupts = <24 0x2 0 0>;
47b7f81754SKumar Gala	bus-range = <0 0xff>;
48b7f81754SKumar Gala	#interrupt-cells = <1>;
49b7f81754SKumar Gala	#size-cells = <2>;
50b7f81754SKumar Gala	#address-cells = <3>;
51b7f81754SKumar Gala};
52b7f81754SKumar Gala
53b7f81754SKumar Gala/* controller at 0x9000 */
54b7f81754SKumar Gala&pci1 {
55b7f81754SKumar Gala	compatible = "fsl,mpc8548-pcie";
56b7f81754SKumar Gala	device_type = "pci";
57b7f81754SKumar Gala	#size-cells = <2>;
58b7f81754SKumar Gala	#address-cells = <3>;
59b7f81754SKumar Gala	bus-range = <0 255>;
60b7f81754SKumar Gala	clock-frequency = <33333333>;
61b7f81754SKumar Gala	interrupts = <25 2 0 0>;
62b7f81754SKumar Gala
63b7f81754SKumar Gala	pcie@0 {
64b7f81754SKumar Gala		reg = <0 0 0 0 0>;
65b7f81754SKumar Gala		#interrupt-cells = <1>;
66b7f81754SKumar Gala		#size-cells = <2>;
67b7f81754SKumar Gala		#address-cells = <3>;
68b7f81754SKumar Gala		device_type = "pci";
69b7f81754SKumar Gala		interrupts = <25 2 0 0>;
70b7f81754SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
71b7f81754SKumar Gala
72b7f81754SKumar Gala		interrupt-map = <
73b7f81754SKumar Gala			/* IDSEL 0x0 */
74b7f81754SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
75b7f81754SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
76b7f81754SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
77b7f81754SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
78b7f81754SKumar Gala			>;
79b7f81754SKumar Gala	};
80b7f81754SKumar Gala};
81b7f81754SKumar Gala
82b7f81754SKumar Gala/* controller at 0xa000 */
83b7f81754SKumar Gala&pci2 {
84b7f81754SKumar Gala	compatible = "fsl,mpc8548-pcie";
85b7f81754SKumar Gala	device_type = "pci";
86b7f81754SKumar Gala	#size-cells = <2>;
87b7f81754SKumar Gala	#address-cells = <3>;
88b7f81754SKumar Gala	bus-range = <0 255>;
89b7f81754SKumar Gala	clock-frequency = <33333333>;
90b7f81754SKumar Gala	interrupts = <26 2 0 0>;
91b7f81754SKumar Gala
92b7f81754SKumar Gala	pcie@0 {
93b7f81754SKumar Gala		reg = <0 0 0 0 0>;
94b7f81754SKumar Gala		#interrupt-cells = <1>;
95b7f81754SKumar Gala		#size-cells = <2>;
96b7f81754SKumar Gala		#address-cells = <3>;
97b7f81754SKumar Gala		device_type = "pci";
98b7f81754SKumar Gala		interrupts = <26 2 0 0>;
99b7f81754SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
100b7f81754SKumar Gala		interrupt-map = <
101b7f81754SKumar Gala			/* IDSEL 0x0 */
102b7f81754SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
103b7f81754SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
104b7f81754SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
105b7f81754SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
106b7f81754SKumar Gala			>;
107b7f81754SKumar Gala	};
108b7f81754SKumar Gala};
109b7f81754SKumar Gala
110b7f81754SKumar Gala/* controller at 0xb000 */
111b7f81754SKumar Gala&pci3 {
112b7f81754SKumar Gala	compatible = "fsl,mpc8548-pcie";
113b7f81754SKumar Gala	device_type = "pci";
114b7f81754SKumar Gala	#size-cells = <2>;
115b7f81754SKumar Gala	#address-cells = <3>;
116b7f81754SKumar Gala	bus-range = <0 255>;
117b7f81754SKumar Gala	clock-frequency = <33333333>;
118b7f81754SKumar Gala	interrupts = <27 2 0 0>;
119b7f81754SKumar Gala
120b7f81754SKumar Gala	pcie@0 {
121b7f81754SKumar Gala		reg = <0 0 0 0 0>;
122b7f81754SKumar Gala		#interrupt-cells = <1>;
123b7f81754SKumar Gala		#size-cells = <2>;
124b7f81754SKumar Gala		#address-cells = <3>;
125b7f81754SKumar Gala		device_type = "pci";
126b7f81754SKumar Gala		interrupts = <27 2 0 0>;
127b7f81754SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
128b7f81754SKumar Gala		interrupt-map = <
129b7f81754SKumar Gala			/* IDSEL 0x0 */
130b7f81754SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
131b7f81754SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
132b7f81754SKumar Gala			0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
133b7f81754SKumar Gala			0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
134b7f81754SKumar Gala			>;
135b7f81754SKumar Gala	};
136b7f81754SKumar Gala};
137b7f81754SKumar Gala
138b7f81754SKumar Gala&soc {
139b7f81754SKumar Gala	#address-cells = <1>;
140b7f81754SKumar Gala	#size-cells = <1>;
141b7f81754SKumar Gala	device_type = "soc";
142b7f81754SKumar Gala	compatible = "fsl,mpc8544-immr", "simple-bus";
143b7f81754SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
144b7f81754SKumar Gala
145b7f81754SKumar Gala	ecm-law@0 {
146b7f81754SKumar Gala		compatible = "fsl,ecm-law";
147b7f81754SKumar Gala		reg = <0x0 0x1000>;
148b7f81754SKumar Gala		fsl,num-laws = <10>;
149b7f81754SKumar Gala	};
150b7f81754SKumar Gala
151b7f81754SKumar Gala	ecm@1000 {
152b7f81754SKumar Gala		compatible = "fsl,mpc8544-ecm", "fsl,ecm";
153b7f81754SKumar Gala		reg = <0x1000 0x1000>;
154b7f81754SKumar Gala		interrupts = <17 2 0 0>;
155b7f81754SKumar Gala	};
156b7f81754SKumar Gala
157b7f81754SKumar Gala	memory-controller@2000 {
158b7f81754SKumar Gala		compatible = "fsl,mpc8544-memory-controller";
159b7f81754SKumar Gala		reg = <0x2000 0x1000>;
160b7f81754SKumar Gala		interrupts = <18 2 0 0>;
161b7f81754SKumar Gala	};
162b7f81754SKumar Gala
163b7f81754SKumar Gala/include/ "pq3-i2c-0.dtsi"
164b7f81754SKumar Gala/include/ "pq3-i2c-1.dtsi"
165b7f81754SKumar Gala/include/ "pq3-duart-0.dtsi"
166b7f81754SKumar Gala
167b7f81754SKumar Gala	L2: l2-cache-controller@20000 {
168b7f81754SKumar Gala		compatible = "fsl,mpc8544-l2-cache-controller";
169b7f81754SKumar Gala		reg = <0x20000 0x1000>;
170b7f81754SKumar Gala		cache-line-size = <32>;	// 32 bytes
171b7f81754SKumar Gala		cache-size = <0x40000>; // L2, 256K
172b7f81754SKumar Gala		interrupts = <16 2 0 0>;
173b7f81754SKumar Gala	};
174b7f81754SKumar Gala
175b7f81754SKumar Gala/include/ "pq3-dma-0.dtsi"
176b7f81754SKumar Gala/include/ "pq3-etsec1-0.dtsi"
177b7f81754SKumar Gala/include/ "pq3-etsec1-2.dtsi"
178b7f81754SKumar Gala
179b7f81754SKumar Gala	ethernet@26000 {
180b7f81754SKumar Gala		cell-index = <1>;
181b7f81754SKumar Gala	};
182b7f81754SKumar Gala
183b7f81754SKumar Gala/include/ "pq3-sec2.1-0.dtsi"
184b7f81754SKumar Gala/include/ "pq3-mpic.dtsi"
185b7f81754SKumar Gala
186b7f81754SKumar Gala	global-utilities@e0000 {
187b7f81754SKumar Gala		compatible = "fsl,mpc8544-guts";
188b7f81754SKumar Gala		reg = <0xe0000 0x1000>;
189b7f81754SKumar Gala		fsl,has-rstcr;
190b7f81754SKumar Gala	};
191b7f81754SKumar Gala};
192