1/*
2 * MPC885 ADS Device Tree Source
3 *
4 * Copyright 2006 MontaVista Software, Inc.
5 *
6 * This program is free software; you can redistribute  it and/or modify it
7 * under  the terms of  the GNU General  Public License as published by the
8 * Free Software Foundation;  either version 2 of the  License, or (at your
9 * option) any later version.
10 */
11
12
13/ {
14	model = "MPC885ADS";
15	compatible = "mpc8xx";
16	#address-cells = <1>;
17	#size-cells = <1>;
18	linux,phandle = <100>;
19
20	cpus {
21		#cpus = <1>;
22		#address-cells = <1>;
23		#size-cells = <0>;
24		linux,phandle = <200>;
25
26		PowerPC,885@0 {
27			device_type = "cpu";
28			reg = <0>;
29			d-cache-line-size = <20>;	// 32 bytes
30			i-cache-line-size = <20>;	// 32 bytes
31			d-cache-size = <2000>;		// L1, 8K
32			i-cache-size = <2000>;		// L1, 8K
33			timebase-frequency = <0>;
34			bus-frequency = <0>;
35			clock-frequency = <0>;
36			32-bit;
37			interrupts = <f 2>;	// decrementer interrupt
38			interrupt-parent = <ff000000>;
39			linux,phandle = <201>;
40		};
41	};
42
43	memory {
44		device_type = "memory";
45		linux,phandle = <300>;
46		reg = <00000000 800000>;
47	};
48
49	soc885@ff000000 {
50		#address-cells = <1>;
51		#size-cells = <1>;
52		#interrupt-cells = <2>;
53		device_type = "soc";
54		ranges = <0 ff000000 00100000>;
55		reg = <ff000000 00000200>;
56		bus-frequency = <0>;
57		mdio@e80 {
58			device_type = "mdio";
59			compatible = "fs_enet";
60			reg = <e80 8>;
61			linux,phandle = <e80>;
62			#address-cells = <1>;
63			#size-cells = <0>;
64			ethernet-phy@0 {
65				linux,phandle = <e8000>;
66				reg = <0>;
67				device_type = "ethernet-phy";
68			};
69			ethernet-phy@1 {
70				linux,phandle = <e8001>;
71				reg = <1>;
72				device_type = "ethernet-phy";
73			};
74			ethernet-phy@2 {
75				linux,phandle = <e8002>;
76				reg = <2>;
77				device_type = "ethernet-phy";
78			};
79		};
80
81		fec@e00 {
82			device_type = "network";
83			compatible = "fs_enet";
84			model = "FEC";
85			device-id = <1>;
86			reg = <e00 188>;
87			mac-address = [ 00 00 0C 00 01 FD ];
88			interrupts = <3 1>;
89			interrupt-parent = <ff000000>;
90			phy-handle = <e8000>;
91		};
92
93		fec@1e00 {
94			device_type = "network";
95			compatible = "fs_enet";
96			model = "FEC";
97			device-id = <2>;
98			reg = <1e00 188>;
99			mac-address = [ 00 00 0C 00 02 FD ];
100			interrupts = <7 1>;
101			interrupt-parent = <ff000000>;
102			phy-handle = <e8001>;
103		};
104
105		pic@ff000000 {
106			linux,phandle = <ff000000>;
107			interrupt-controller;
108			#address-cells = <0>;
109			#interrupt-cells = <2>;
110			reg = <0 24>;
111			built-in;
112			device_type = "mpc8xx-pic";
113			compatible = "CPM";
114		};
115
116		cpm@ff000000 {
117			linux,phandle = <ff000000>;
118			#address-cells = <1>;
119			#size-cells = <1>;
120			#interrupt-cells = <2>;
121			device_type = "cpm";
122			model = "CPM";
123			ranges = <0 0 4000>;
124			reg = <860 f0>;
125			command-proc = <9c0>;
126			brg-frequency = <0>;
127			interrupts = <0 2>;	// cpm error interrupt
128			interrupt-parent = <930>;
129
130			pic@930 {
131				linux,phandle = <930>;
132				interrupt-controller;
133				#address-cells = <0>;
134				#interrupt-cells = <2>;
135				interrupts = <5 2 0 2>;
136				interrupt-parent = <ff000000>;
137				reg = <930 20>;
138				built-in;
139				device_type = "cpm-pic";
140				compatible = "CPM";
141			};
142
143			smc@a80 {
144				device_type = "serial";
145				compatible = "cpm_uart";
146				model = "SMC";
147				device-id = <1>;
148				reg = <a80 10 3e80 40>;
149				clock-setup = <00ffffff 0>;
150				rx-clock = <1>;
151				tx-clock = <1>;
152				current-speed = <0>;
153				interrupts = <4 3>;
154				interrupt-parent = <930>;
155			};
156
157			smc@a90 {
158				device_type = "serial";
159				compatible = "cpm_uart";
160				model = "SMC";
161				device-id = <2>;
162				reg = <a90 20 3f80 40>;
163				clock-setup = <ff00ffff 90000>;
164				rx-clock = <2>;
165				tx-clock = <2>;
166				current-speed = <0>;
167				interrupts = <3 3>;
168				interrupt-parent = <930>;
169			};
170
171			scc@a40 {
172				device_type = "network";
173				compatible = "fs_enet";
174				model = "SCC";
175				device-id = <3>;
176				reg = <a40 18 3e00 80>;
177				mac-address = [ 00 00 0C 00 03 FD ];
178				interrupts = <1c 3>;
179				interrupt-parent = <930>;
180				phy-handle = <e8002>;
181			};
182		};
183	};
184};
185