• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Device Tree Source for Emerson KSI8560
3 *
4 * Author: Alexandr Smirnov <asmirnov@ru.mvista.com>
5 *
6 * Based on mpc8560ads.dts
7 *
8 * 2008 (c) MontaVista, Software, Inc.  This file is licensed under
9 * the terms of the GNU General Public License version 2.  This program
10 * is licensed "as is" without any warranty of any kind, whether express
11 * or implied.
12 *
13 */
14
15/dts-v1/;
16
17/ {
18	model = "KSI8560";
19	compatible = "emerson,KSI8560";
20	#address-cells = <1>;
21	#size-cells = <1>;
22
23	aliases {
24		ethernet0 = &enet0;
25		ethernet1 = &enet1;
26		ethernet2 = &enet2;
27	};
28
29	cpus {
30		#address-cells = <1>;
31		#size-cells = <0>;
32
33		PowerPC,8560@0 {
34			device_type = "cpu";
35			reg = <0>;
36			d-cache-line-size = <32>;
37			i-cache-line-size = <32>;
38			d-cache-size = <0x8000>;		/* L1, 32K */
39			i-cache-size = <0x8000>;		/* L1, 32K */
40			timebase-frequency = <0>;		/* From U-boot */
41			bus-frequency = <0>;			/* From U-boot */
42			clock-frequency = <0>;			/* From U-boot */
43			next-level-cache = <&L2>;
44		};
45	};
46
47	memory {
48		device_type = "memory";
49		reg = <0x00000000 0x10000000>;			/* Fixed by bootwrapper */
50	};
51
52	soc@fdf00000 {
53		#address-cells = <1>;
54		#size-cells = <1>;
55		device_type = "soc";
56		ranges = <0x00000000 0xfdf00000 0x00100000>;
57		bus-frequency = <0>;				/* Fixed by bootwrapper */
58
59		ecm-law@0 {
60			compatible = "fsl,ecm-law";
61			reg = <0x0 0x1000>;
62			fsl,num-laws = <8>;
63		};
64
65		ecm@1000 {
66			compatible = "fsl,mpc8560-ecm", "fsl,ecm";
67			reg = <0x1000 0x1000>;
68			interrupts = <17 2>;
69			interrupt-parent = <&mpic>;
70		};
71
72		memory-controller@2000 {
73			compatible = "fsl,mpc8540-memory-controller";
74			reg = <0x2000 0x1000>;
75			interrupt-parent = <&mpic>;
76			interrupts = <0x12 0x2>;
77		};
78
79		L2: l2-cache-controller@20000 {
80			compatible = "fsl,mpc8540-l2-cache-controller";
81			reg = <0x20000 0x1000>;
82			cache-line-size = <0x20>;		/* 32 bytes */
83			cache-size = <0x40000>;			/* L2, 256K */
84			interrupt-parent = <&mpic>;
85			interrupts = <0x10 0x2>;
86		};
87
88		i2c@3000 {
89			#address-cells = <1>;
90			#size-cells = <0>;
91			cell-index = <0>;
92			compatible = "fsl-i2c";
93			reg = <0x3000 0x100>;
94			interrupts = <0x2b 0x2>;
95			interrupt-parent = <&mpic>;
96			dfsrr;
97		};
98
99		dma@21300 {
100			#address-cells = <1>;
101			#size-cells = <1>;
102			compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
103			reg = <0x21300 0x4>;
104			ranges = <0x0 0x21100 0x200>;
105			cell-index = <0>;
106			dma-channel@0 {
107				compatible = "fsl,mpc8560-dma-channel",
108						"fsl,eloplus-dma-channel";
109				reg = <0x0 0x80>;
110				cell-index = <0>;
111				interrupt-parent = <&mpic>;
112				interrupts = <20 2>;
113			};
114			dma-channel@80 {
115				compatible = "fsl,mpc8560-dma-channel",
116						"fsl,eloplus-dma-channel";
117				reg = <0x80 0x80>;
118				cell-index = <1>;
119				interrupt-parent = <&mpic>;
120				interrupts = <21 2>;
121			};
122			dma-channel@100 {
123				compatible = "fsl,mpc8560-dma-channel",
124						"fsl,eloplus-dma-channel";
125				reg = <0x100 0x80>;
126				cell-index = <2>;
127				interrupt-parent = <&mpic>;
128				interrupts = <22 2>;
129			};
130			dma-channel@180 {
131				compatible = "fsl,mpc8560-dma-channel",
132						"fsl,eloplus-dma-channel";
133				reg = <0x180 0x80>;
134				cell-index = <3>;
135				interrupt-parent = <&mpic>;
136				interrupts = <23 2>;
137			};
138		};
139
140		enet0: ethernet@24000 {
141			#address-cells = <1>;
142			#size-cells = <1>;
143			device_type = "network";
144			model = "TSEC";
145			compatible = "gianfar";
146			reg = <0x24000 0x1000>;
147			ranges = <0x0 0x24000 0x1000>;
148			/* Mac address filled in by bootwrapper */
149			local-mac-address = [ 00 00 00 00 00 00 ];
150			interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
151			interrupt-parent = <&mpic>;
152			tbi-handle = <&tbi0>;
153			phy-handle = <&PHY1>;
154
155			mdio@520 {					/* For TSECs */
156				#address-cells = <1>;
157				#size-cells = <0>;
158				compatible = "fsl,gianfar-mdio";
159				reg = <0x520 0x20>;
160
161				PHY1: ethernet-phy@1 {
162					interrupt-parent = <&mpic>;
163					reg = <0x1>;
164				};
165
166				PHY2: ethernet-phy@2 {
167					interrupt-parent = <&mpic>;
168					reg = <0x2>;
169				};
170
171				tbi0: tbi-phy@11 {
172					reg = <0x11>;
173					device_type = "tbi-phy";
174				};
175			};
176		};
177
178		enet1: ethernet@25000 {
179			#address-cells = <1>;
180			#size-cells = <1>;
181			device_type = "network";
182			model = "TSEC";
183			compatible = "gianfar";
184			reg = <0x25000 0x1000>;
185			ranges = <0x0 0x25000 0x1000>;
186			/* Mac address filled in by bootwrapper */
187			local-mac-address = [ 00 00 00 00 00 00 ];
188			interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
189			interrupt-parent = <&mpic>;
190			tbi-handle = <&tbi1>;
191			phy-handle = <&PHY2>;
192
193			mdio@520 {
194				#address-cells = <1>;
195				#size-cells = <0>;
196				compatible = "fsl,gianfar-tbi";
197				reg = <0x520 0x20>;
198
199				tbi1: tbi-phy@11 {
200					reg = <0x11>;
201					device_type = "tbi-phy";
202				};
203			};
204		};
205
206		mpic: pic@40000 {
207			#address-cells = <0>;
208			#interrupt-cells = <2>;
209			interrupt-controller;
210			reg = <0x40000 0x40000>;
211			device_type = "open-pic";
212		};
213
214		cpm@919c0 {
215			#address-cells = <1>;
216			#size-cells = <1>;
217			compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
218			reg = <0x919c0 0x30>;
219			ranges;
220
221			muram@80000 {
222				#address-cells = <1>;
223				#size-cells = <1>;
224				ranges = <0x0 0x80000 0x10000>;
225
226				data@0 {
227					compatible = "fsl,cpm-muram-data";
228					reg = <0x0 0x4000 0x9000 0x2000>;
229				};
230			};
231
232			brg@919f0 {
233				compatible = "fsl,mpc8560-brg",
234					     "fsl,cpm2-brg",
235					     "fsl,cpm-brg";
236				reg = <0x919f0 0x10 0x915f0 0x10>;
237				clock-frequency = <165000000>;	/* 166MHz */
238			};
239
240			CPMPIC: pic@90c00 {
241				#address-cells = <0>;
242				#interrupt-cells = <2>;
243				interrupt-controller;
244				interrupts = <0x2e 0x2>;
245				interrupt-parent = <&mpic>;
246				reg = <0x90c00 0x80>;
247				compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
248			};
249
250			serial@91a00 {
251				device_type = "serial";
252				compatible = "fsl,mpc8560-scc-uart",
253					     "fsl,cpm2-scc-uart";
254				reg = <0x91a00 0x20 0x88000 0x100>;
255				fsl,cpm-brg = <1>;
256				fsl,cpm-command = <0x800000>;
257				current-speed = <0x1c200>;
258				interrupts = <0x28 0x8>;
259				interrupt-parent = <&CPMPIC>;
260			};
261
262			serial@91a20 {
263				device_type = "serial";
264				compatible = "fsl,mpc8560-scc-uart",
265					     "fsl,cpm2-scc-uart";
266				reg = <0x91a20 0x20 0x88100 0x100>;
267				fsl,cpm-brg = <2>;
268				fsl,cpm-command = <0x4a00000>;
269				current-speed = <0x1c200>;
270				interrupts = <0x29 0x8>;
271				interrupt-parent = <&CPMPIC>;
272			};
273
274			mdio@90d00 {				/* For FCCs */
275				#address-cells = <1>;
276				#size-cells = <0>;
277				compatible = "fsl,cpm2-mdio-bitbang";
278				reg = <0x90d00 0x14>;
279				fsl,mdio-pin = <24>;
280				fsl,mdc-pin = <25>;
281
282				PHY0: ethernet-phy@0 {
283					interrupt-parent = <&mpic>;
284					reg = <0x0>;
285				};
286			};
287
288			enet2: ethernet@91300 {
289				device_type = "network";
290				compatible = "fsl,mpc8560-fcc-enet",
291					     "fsl,cpm2-fcc-enet";
292				reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>;
293				/* Mac address filled in by bootwrapper */
294				local-mac-address = [ 00 00 00 00 00 00 ];
295				fsl,cpm-command = <0x12000300>;
296				interrupts = <0x20 0x8>;
297				interrupt-parent = <&CPMPIC>;
298				phy-handle = <&PHY0>;
299			};
300		};
301	};
302
303	localbus@fdf05000 {
304		#address-cells = <2>;
305		#size-cells = <1>;
306		compatible = "fsl,mpc8560-localbus", "simple-bus";
307		reg = <0xfdf05000 0x68>;
308
309		ranges = <0x0 0x0 0xe0000000 0x00800000
310			  0x4 0x0 0xe8080000 0x00080000>;
311
312		flash@0,0 {
313			#address-cells = <1>;
314			#size-cells = <1>;
315			compatible = "jedec-flash";
316			reg = <0x0 0x0 0x800000>;
317			bank-width = <0x2>;
318
319			partition@0 {
320				label = "Primary Kernel";
321				reg = <0x0 0x180000>;
322			};
323			partition@180000 {
324				label = "Primary Filesystem";
325				reg = <0x180000 0x580000>;
326			};
327			partition@700000 {
328				label = "Monitor";
329				reg = <0x300000 0x100000>;
330				read-only;
331			};
332		};
333
334		cpld@4,0 {
335			compatible = "emerson,KSI8560-cpld";
336			reg = <0x4 0x0 0x80000>;
337		};
338	};
339
340
341	chosen {
342		linux,stdout-path = "/soc/cpm/serial@91a00";
343	};
344};
345