mpc885ads.dts 4.7 KB
Newer Older
1 2 3 4
/*
 * MPC885 ADS Device Tree Source
 *
 * Copyright 2006 MontaVista Software, Inc.
S
Scott Wood 已提交
5
 * Copyright 2007 Freescale Semiconductor, Inc.
6 7 8 9 10 11 12 13 14 15
 *
 * This program is free software; you can redistribute  it and/or modify it
 * under  the terms of  the GNU General  Public License as published by the
 * Free Software Foundation;  either version 2 of the  License, or (at your
 * option) any later version.
 */


/ {
	model = "MPC885ADS";
S
Scott Wood 已提交
16
	compatible = "fsl,mpc885ads";
17 18 19 20 21 22 23 24 25 26
	#address-cells = <1>;
	#size-cells = <1>;

	cpus {
		#address-cells = <1>;
		#size-cells = <0>;

		PowerPC,885@0 {
			device_type = "cpu";
			reg = <0>;
S
Scott Wood 已提交
27 28 29 30
			d-cache-line-size = <d#16>;
			i-cache-line-size = <d#16>;
			d-cache-size = <d#8192>;
			i-cache-size = <d#8192>;
31 32 33 34
			timebase-frequency = <0>;
			bus-frequency = <0>;
			clock-frequency = <0>;
			interrupts = <f 2>;	// decrementer interrupt
S
Scott Wood 已提交
35
			interrupt-parent = <&PIC>;
36 37 38 39 40
		};
	};

	memory {
		device_type = "memory";
S
Scott Wood 已提交
41
		reg = <0 0>;
42 43
	};

S
Scott Wood 已提交
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
	localbus@ff000100 {
		compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
		#address-cells = <2>;
		#size-cells = <1>;
		reg = <ff000100 40>;

		ranges = <
			0 0 fe000000 00800000
			1 0 ff080000 00008000
			5 0 ff0a0000 00008000
		>;

		flash@0,0 {
			compatible = "jedec-flash";
			reg = <0 0 800000>;
			bank-width = <4>;
			device-width = <1>;
		};

		board-control@1,0 {
			reg = <1 0 20 5 300 4>;
			compatible = "fsl,mpc885ads-bcsr";
		};
	};

	soc@ff000000 {
		compatible = "fsl,mpc885", "fsl,pq1-soc";
71 72 73
		#address-cells = <1>;
		#size-cells = <1>;
		device_type = "soc";
S
Scott Wood 已提交
74
		ranges = <0 ff000000 00004000>;
75
		bus-frequency = <0>;
S
Scott Wood 已提交
76 77 78 79 80 81 82

		// Temporary -- will go away once kernel uses ranges for get_immrbase().
		reg = <ff000000 4000>;

		mdio@e00 {
			compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
			reg = <e00 188>;
83 84
			#address-cells = <1>;
			#size-cells = <0>;
S
Scott Wood 已提交
85 86

			PHY0: ethernet-phy@0 {
87 88 89
				reg = <0>;
				device_type = "ethernet-phy";
			};
S
Scott Wood 已提交
90 91

			PHY1: ethernet-phy@1 {
92 93 94
				reg = <1>;
				device_type = "ethernet-phy";
			};
S
Scott Wood 已提交
95 96

			PHY2: ethernet-phy@2 {
97 98 99 100 101
				reg = <2>;
				device_type = "ethernet-phy";
			};
		};

S
Scott Wood 已提交
102
		ethernet@e00 {
103
			device_type = "network";
S
Scott Wood 已提交
104 105
			compatible = "fsl,mpc885-fec-enet",
			             "fsl,pq1-fec-enet";
106
			reg = <e00 188>;
S
Scott Wood 已提交
107
			local-mac-address = [ 00 00 00 00 00 00 ];
108
			interrupts = <3 1>;
S
Scott Wood 已提交
109 110 111
			interrupt-parent = <&PIC>;
			phy-handle = <&PHY0>;
			linux,network-index = <0>;
112 113
		};

S
Scott Wood 已提交
114
		ethernet@1e00 {
115
			device_type = "network";
S
Scott Wood 已提交
116 117
			compatible = "fsl,mpc885-fec-enet",
			             "fsl,pq1-fec-enet";
118
			reg = <1e00 188>;
S
Scott Wood 已提交
119
			local-mac-address = [ 00 00 00 00 00 00 ];
120
			interrupts = <7 1>;
S
Scott Wood 已提交
121 122 123
			interrupt-parent = <&PIC>;
			phy-handle = <&PHY1>;
			linux,network-index = <1>;
124 125
		};

S
Scott Wood 已提交
126
		PIC: interrupt-controller@0 {
127 128 129
			interrupt-controller;
			#interrupt-cells = <2>;
			reg = <0 24>;
S
Scott Wood 已提交
130
			compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
131 132
		};

S
Scott Wood 已提交
133
		pcmcia@80 {
134 135 136 137 138 139
			#address-cells = <3>;
			#interrupt-cells = <1>;
			#size-cells = <2>;
			compatible = "fsl,pq-pcmcia";
			device_type = "pcmcia";
			reg = <80 80>;
S
Scott Wood 已提交
140
			interrupt-parent = <&PIC>;
141 142 143
			interrupts = <d 1>;
		};

S
Scott Wood 已提交
144
		cpm@9c0 {
145 146
			#address-cells = <1>;
			#size-cells = <1>;
S
Scott Wood 已提交
147
			compatible = "fsl,mpc885-cpm", "fsl,cpm1";
148
			command-proc = <9c0>;
S
Scott Wood 已提交
149 150
			interrupts = <0>;	// cpm error interrupt
			interrupt-parent = <&CPM_PIC>;
151
			reg = <9c0 40>;
S
Scott Wood 已提交
152
			ranges;
153

154 155 156 157 158 159 160 161 162 163 164
			muram@2000 {
				#address-cells = <1>;
				#size-cells = <1>;
				ranges = <0 2000 2000>;

				data@0 {
					compatible = "fsl,cpm-muram-data";
					reg = <0 1c00>;
				};
			};

S
Scott Wood 已提交
165 166 167 168 169 170 171 172
			brg@9f0 {
				compatible = "fsl,mpc885-brg",
				             "fsl,cpm1-brg",
				             "fsl,cpm-brg";
				reg = <9f0 10>;
			};

			CPM_PIC: interrupt-controller@930 {
173
				interrupt-controller;
S
Scott Wood 已提交
174
				#interrupt-cells = <1>;
175
				interrupts = <5 2 0 2>;
S
Scott Wood 已提交
176
				interrupt-parent = <&PIC>;
177
				reg = <930 20>;
S
Scott Wood 已提交
178 179
				compatible = "fsl,mpc885-cpm-pic",
				             "fsl,cpm1-pic";
180 181
			};

S
Scott Wood 已提交
182
			serial@a80 {
183
				device_type = "serial";
S
Scott Wood 已提交
184 185
				compatible = "fsl,mpc885-smc-uart",
				             "fsl,cpm1-smc-uart";
186
				reg = <a80 10 3e80 40>;
S
Scott Wood 已提交
187 188 189 190
				interrupts = <4>;
				interrupt-parent = <&CPM_PIC>;
				fsl,cpm-brg = <1>;
				fsl,cpm-command = <0090>;
191 192
			};

S
Scott Wood 已提交
193
			serial@a90 {
194
				device_type = "serial";
S
Scott Wood 已提交
195 196 197 198 199 200 201
				compatible = "fsl,mpc885-smc-uart",
				             "fsl,cpm1-smc-uart";
				reg = <a90 10 3f80 40>;
				interrupts = <3>;
				interrupt-parent = <&CPM_PIC>;
				fsl,cpm-brg = <2>;
				fsl,cpm-command = <00d0>;
202 203
			};

S
Scott Wood 已提交
204
			ethernet@a40 {
205
				device_type = "network";
S
Scott Wood 已提交
206 207 208 209 210 211 212 213 214
				compatible = "fsl,mpc885-scc-enet",
				             "fsl,cpm1-scc-enet";
				reg = <a40 18 3e00 100>;
				local-mac-address = [ 00 00 00 00 00 00 ];
				interrupts = <1c>;
				interrupt-parent = <&CPM_PIC>;
				phy-handle = <&PHY2>;
				fsl,cpm-command = <0080>;
				linux,network-index = <2>;
215 216 217
			};
		};
	};
S
Scott Wood 已提交
218 219 220 221

	chosen {
		linux,stdout-path = "/soc/cpm/serial@a80";
	};
222
};