1/*
2 * MPC866 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 = "MPC866ADS";
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,866@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 = <4000>;		// L1, 16K
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	soc866@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@f {
65				linux,phandle = <e800f>;
66				reg = <f>;
67				device_type = "ethernet-phy";
68			};
69		};
70
71		fec@e00 {
72			device_type = "network";
73			compatible = "fs_enet";
74			model = "FEC";
75			device-id = <1>;
76			reg = <e00 188>;
77			mac-address = [ 00 00 0C 00 01 FD ];
78			interrupts = <3 1>;
79			interrupt-parent = <ff000000>;
80			phy-handle = <e800f>;
81		};
82
83		pic@ff000000 {
84			linux,phandle = <ff000000>;
85			interrupt-controller;
86			#address-cells = <0>;
87			#interrupt-cells = <2>;
88			reg = <0 24>;
89			built-in;
90			device_type = "mpc8xx-pic";
91			compatible = "CPM";
92		};
93
94		cpm@ff000000 {
95			linux,phandle = <ff000000>;
96			#address-cells = <1>;
97			#size-cells = <1>;
98			#interrupt-cells = <2>;
99			device_type = "cpm";
100			model = "CPM";
101			ranges = <0 0 4000>;
102			reg = <860 f0>;
103			command-proc = <9c0>;
104			brg-frequency = <0>;
105			interrupts = <0 2>;	// cpm error interrupt
106			interrupt-parent = <930>;
107
108			pic@930 {
109				linux,phandle = <930>;
110				interrupt-controller;
111				#address-cells = <0>;
112				#interrupt-cells = <2>;
113				interrupts = <5 2 0 2>;
114				interrupt-parent = <ff000000>;
115				reg = <930 20>;
116				built-in;
117				device_type = "cpm-pic";
118				compatible = "CPM";
119			};
120
121			smc@a80 {
122				device_type = "serial";
123				compatible = "cpm_uart";
124				model = "SMC";
125				device-id = <1>;
126				reg = <a80 10 3e80 40>;
127				clock-setup = <00ffffff 0>;
128				rx-clock = <1>;
129				tx-clock = <1>;
130				current-speed = <0>;
131				interrupts = <4 3>;
132				interrupt-parent = <930>;
133			};
134
135			smc@a90 {
136				device_type = "serial";
137				compatible = "cpm_uart";
138				model = "SMC";
139				device-id = <2>;
140				reg = <a90 20 3f80 40>;
141				clock-setup = <ff00ffff 90000>;
142				rx-clock = <2>;
143				tx-clock = <2>;
144				current-speed = <0>;
145				interrupts = <3 3>;
146				interrupt-parent = <930>;
147			};
148
149			scc@a00 {
150				device_type = "network";
151				compatible = "fs_enet";
152				model = "SCC";
153				device-id = <1>;
154				reg = <a00 18 3c00 80>;
155				mac-address = [ 00 00 0C 00 03 FD ];
156				interrupts = <1e 3>;
157				interrupt-parent = <930>;
158			};
159		};
160	};
161};
162