mpc866ads.dts 3.9 KB
Newer Older
1 2 3 4
/*
 * MPC866 ADS Device Tree Source
 *
 * Copyright 2006 MontaVista Software, Inc.
5
 * Copyright 2008 Freescale Semiconductor, Inc.
6 7 8 9 10 11 12
 *
 * 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.
 */

13
/dts-v1/;
14 15 16

/ {
	model = "MPC866ADS";
17
	compatible = "fsl,mpc866ads";
18 19 20 21 22 23 24 25 26
	#address-cells = <1>;
	#size-cells = <1>;

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

		PowerPC,866@0 {
			device_type = "cpu";
27 28 29 30 31
			reg = <0x0>;
			d-cache-line-size = <16>;	// 16 bytes
			i-cache-line-size = <16>;	// 16 bytes
			d-cache-size = <0x2000>;		// L1, 8K
			i-cache-size = <0x4000>;		// L1, 16K
32 33 34
			timebase-frequency = <0>;
			bus-frequency = <0>;
			clock-frequency = <0>;
35
			interrupts = <15 2>;	// decrementer interrupt
36
			interrupt-parent = <&PIC>;
37 38 39 40 41
		};
	};

	memory {
		device_type = "memory";
42
		reg = <0x0 0x800000>;
43 44
	};

45 46 47 48
	localbus@ff000100 {
		compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus";
		#address-cells = <2>;
		#size-cells = <1>;
49
		reg = <0xff000100 0x40>;
50 51

		ranges = <
52 53
			0x1 0x0 0xff080000 0x8000
			0x5 0x0 0xff0a0000 0x8000
54 55 56
		>;

		board-control@1,0 {
57
			reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
58 59 60 61 62
			compatible = "fsl,mpc866ads-bcsr";
		};
	};

	soc@ff000000 {
63 64 65
		#address-cells = <1>;
		#size-cells = <1>;
		device_type = "soc";
66 67
		ranges = <0x0 0xff000000 0x100000>;
		reg = <0xff000000 0x200>;
68
		bus-frequency = <0>;
69 70 71

		mdio@e00 {
			compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
72
			reg = <0xe00 0x188>;
73 74
			#address-cells = <1>;
			#size-cells = <0>;
75
			PHY: ethernet-phy@f {
76
				reg = <0xf>;
77 78 79 80
				device_type = "ethernet-phy";
			};
		};

81
		ethernet@e00 {
82
			device_type = "network";
83 84
			compatible = "fsl,mpc866-fec-enet",
			             "fsl,pq1-fec-enet";
85
			reg = <0xe00 0x188>;
86
			local-mac-address = [ 00 00 00 00 00 00 ];
87
			interrupts = <3 1>;
88 89 90
			interrupt-parent = <&PIC>;
			phy-handle = <&PHY>;
			linux,network-index = <0>;
91 92
		};

93
		PIC: pic@0 {
94 95
			interrupt-controller;
			#interrupt-cells = <2>;
96
			reg = <0x0 0x24>;
97
			compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
98 99
		};

100
		cpm@9c0 {
101 102
			#address-cells = <1>;
			#size-cells = <1>;
103 104
			compatible = "fsl,mpc866-cpm", "fsl,cpm1";
			ranges;
105
			reg = <0x9c0 0x40>;
106 107
			brg-frequency = <0>;
			interrupts = <0 2>;	// cpm error interrupt
108
			interrupt-parent = <&CPM_PIC>;
109

110 111 112
			muram@2000 {
				#address-cells = <1>;
				#size-cells = <1>;
113
				ranges = <0x0 0x2000 0x2000>;
114 115 116

				data@0 {
					compatible = "fsl,cpm-muram-data";
117
					reg = <0x0 0x1c00>;
118 119 120 121 122 123 124
				};
			};

			brg@9f0 {
				compatible = "fsl,mpc866-brg",
					     "fsl,cpm1-brg",
					     "fsl,cpm-brg";
125
				reg = <0x9f0 0x10>;
126 127 128 129
				clock-frequency = <0>;
			};

			CPM_PIC: pic@930 {
130 131
				interrupt-controller;
				#address-cells = <0>;
132
				#interrupt-cells = <1>;
133
				interrupts = <5 2 0 2>;
134
				interrupt-parent = <&PIC>;
135
				reg = <0x930 0x20>;
136 137
				compatible = "fsl,mpc866-cpm-pic",
				             "fsl,cpm1-pic";
138 139
			};

140 141

			serial@a80 {
142
				device_type = "serial";
143 144
				compatible = "fsl,mpc866-smc-uart",
				             "fsl,cpm1-smc-uart";
145
				reg = <0xa80 0x10 0x3e80 0x40>;
146 147 148
				interrupts = <4>;
				interrupt-parent = <&CPM_PIC>;
				fsl,cpm-brg = <1>;
149
				fsl,cpm-command = <0x90>;
150 151
			};

152
			serial@a90 {
153
				device_type = "serial";
154 155
				compatible = "fsl,mpc866-smc-uart",
				             "fsl,cpm1-smc-uart";
156
				reg = <0xa90 0x10 0x3f80 0x40>;
157 158 159
				interrupts = <3>;
				interrupt-parent = <&CPM_PIC>;
				fsl,cpm-brg = <2>;
160
				fsl,cpm-command = <0xd0>;
161 162
			};

163
			ethernet@a00 {
164
				device_type = "network";
165 166
				compatible = "fsl,mpc866-scc-enet",
				             "fsl,cpm1-scc-enet";
167
				reg = <0xa00 0x18 0x3c00 0x100>;
168
				local-mac-address = [ 00 00 00 00 00 00 ];
169
				interrupts = <30>;
170 171 172
				interrupt-parent = <&CPM_PIC>;
				fsl,cpm-command = <0000>;
				linux,network-index = <1>;
173 174 175
			};
		};
	};
176 177 178 179

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