blob: 1ee6ff43dd57e772e543297a7b22b5809e7f6f48 [file] [log] [blame]
Mark A. Greer3f456cc2007-05-12 10:57:58 +10001/* Device Tree Source for Motorola PrPMC2800
2 *
3 * Author: Mark A. Greer <mgreer@mvista.com>
4 *
5 * 2007 (c) MontaVista, Software, Inc. This file is licensed under
6 * the terms of the GNU General Public License version 2. This program
7 * is licensed "as is" without any warranty of any kind, whether express
8 * or implied.
9 *
10 * Property values that are labeled as "Default" will be updated by bootwrapper
11 * if it can determine the exact PrPMC type.
Mark A. Greer3f456cc2007-05-12 10:57:58 +100012 */
13
Mark A. Greerd528be52008-04-08 08:07:08 +100014/dts-v1/;
15
Mark A. Greer3f456cc2007-05-12 10:57:58 +100016/ {
17 #address-cells = <1>;
18 #size-cells = <1>;
19 model = "PrPMC280/PrPMC2800"; /* Default */
20 compatible = "motorola,PrPMC2800";
21 coherency-off;
22
23 cpus {
24 #address-cells = <1>;
25 #size-cells = <0>;
26
27 PowerPC,7447 {
28 device_type = "cpu";
29 reg = <0>;
Dale Farnsworthfb9d93d2008-04-08 08:08:06 +100030 clock-frequency = <733333333>; /* Default */
Mark A. Greerd528be52008-04-08 08:07:08 +100031 bus-frequency = <133333333>;
32 timebase-frequency = <33333333>;
33 i-cache-line-size = <32>;
34 d-cache-line-size = <32>;
35 i-cache-size = <32768>;
36 d-cache-size = <32768>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +100037 };
38 };
39
40 memory {
41 device_type = "memory";
Mark A. Greerd528be52008-04-08 08:07:08 +100042 reg = <0x0 0x20000000>; /* Default (512MB) */
Mark A. Greer3f456cc2007-05-12 10:57:58 +100043 };
44
Mark A. Greer1791f912008-04-08 08:10:34 +100045 system-controller@f1000000 { /* Marvell Discovery mv64360 */
Mark A. Greer3f456cc2007-05-12 10:57:58 +100046 #address-cells = <1>;
47 #size-cells = <1>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +100048 model = "mv64360"; /* Default */
Mark A. Greera1810b42008-04-08 08:09:03 +100049 compatible = "marvell,mv64360";
Mark A. Greerd528be52008-04-08 08:07:08 +100050 clock-frequency = <133333333>;
51 reg = <0xf1000000 0x10000>;
52 virtual-reg = <0xf1000000>;
53 ranges = <0x88000000 0x88000000 0x1000000 /* PCI 0 I/O Space */
54 0x80000000 0x80000000 0x8000000 /* PCI 0 MEM Space */
55 0xa0000000 0xa0000000 0x4000000 /* User FLASH */
56 0x00000000 0xf1000000 0x0010000 /* Bridge's regs */
57 0xf2000000 0xf2000000 0x0040000>;/* Integrated SRAM */
Mark A. Greer3f456cc2007-05-12 10:57:58 +100058
59 flash@a0000000 {
60 device_type = "rom";
61 compatible = "direct-mapped";
Mark A. Greerd528be52008-04-08 08:07:08 +100062 reg = <0xa0000000 0x4000000>; /* Default (64MB) */
Mark A. Greer3f456cc2007-05-12 10:57:58 +100063 probe-type = "CFI";
64 bank-width = <4>;
Mark A. Greerd528be52008-04-08 08:07:08 +100065 partitions = <0x00000000 0x00100000 /* RO */
66 0x00100000 0x00040001 /* RW */
67 0x00140000 0x00400000 /* RO */
68 0x00540000 0x039c0000 /* RO */
69 0x03f00000 0x00100000>; /* RO */
Mark A. Greer3f456cc2007-05-12 10:57:58 +100070 partition-names = "FW Image A", "FW Config Data", "Kernel Image", "Filesystem", "FW Image B";
71 };
72
73 mdio {
74 #address-cells = <1>;
75 #size-cells = <0>;
76 device_type = "mdio";
Mark A. Greera1810b42008-04-08 08:09:03 +100077 compatible = "marvell,mv64360-mdio";
Mark A. Greerd528be52008-04-08 08:07:08 +100078 PHY0: ethernet-phy@1 {
Mark A. Greer3f456cc2007-05-12 10:57:58 +100079 device_type = "ethernet-phy";
80 compatible = "broadcom,bcm5421";
Mark A. Greerd528be52008-04-08 08:07:08 +100081 interrupts = <76>; /* GPP 12 */
82 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +100083 reg = <1>;
84 };
Mark A. Greerd528be52008-04-08 08:07:08 +100085 PHY1: ethernet-phy@3 {
Mark A. Greer3f456cc2007-05-12 10:57:58 +100086 device_type = "ethernet-phy";
87 compatible = "broadcom,bcm5421";
Mark A. Greerd528be52008-04-08 08:07:08 +100088 interrupts = <76>; /* GPP 12 */
89 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +100090 reg = <3>;
91 };
92 };
93
Dale Farnswortha0916bd2008-04-08 08:11:27 +100094 ethernet-group@2000 {
95 #address-cells = <1>;
96 #size-cells = <0>;
97 compatible = "marvell,mv64360-eth-group";
Mark A. Greerd528be52008-04-08 08:07:08 +100098 reg = <0x2000 0x2000>;
Dale Farnswortha0916bd2008-04-08 08:11:27 +100099 ethernet@0 {
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000100 device_type = "network";
Mark A. Greera1810b42008-04-08 08:09:03 +1000101 compatible = "marvell,mv64360-eth";
Dale Farnswortha0916bd2008-04-08 08:11:27 +1000102 reg = <0>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000103 interrupts = <32>;
104 interrupt-parent = <&PIC>;
105 phy = <&PHY0>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000106 local-mac-address = [ 00 00 00 00 00 00 ];
107 };
Dale Farnswortha0916bd2008-04-08 08:11:27 +1000108 ethernet@1 {
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000109 device_type = "network";
Mark A. Greera1810b42008-04-08 08:09:03 +1000110 compatible = "marvell,mv64360-eth";
Dale Farnswortha0916bd2008-04-08 08:11:27 +1000111 reg = <1>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000112 interrupts = <33>;
113 interrupt-parent = <&PIC>;
114 phy = <&PHY1>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000115 local-mac-address = [ 00 00 00 00 00 00 ];
116 };
117 };
118
Mark A. Greerd528be52008-04-08 08:07:08 +1000119 SDMA0: sdma@4000 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000120 compatible = "marvell,mv64360-sdma";
Mark A. Greerd528be52008-04-08 08:07:08 +1000121 reg = <0x4000 0xc18>;
122 virtual-reg = <0xf1004000>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000123 interrupts = <36>;
124 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000125 };
126
Mark A. Greerd528be52008-04-08 08:07:08 +1000127 SDMA1: sdma@6000 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000128 compatible = "marvell,mv64360-sdma";
Mark A. Greerd528be52008-04-08 08:07:08 +1000129 reg = <0x6000 0xc18>;
130 virtual-reg = <0xf1006000>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000131 interrupts = <38>;
132 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000133 };
134
Mark A. Greerd528be52008-04-08 08:07:08 +1000135 BRG0: brg@b200 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000136 compatible = "marvell,mv64360-brg";
Mark A. Greerd528be52008-04-08 08:07:08 +1000137 reg = <0xb200 0x8>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000138 clock-src = <8>;
Dale Farnsworthfb9d93d2008-04-08 08:08:06 +1000139 clock-frequency = <133333333>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000140 current-speed = <9600>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000141 };
142
Mark A. Greerd528be52008-04-08 08:07:08 +1000143 BRG1: brg@b208 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000144 compatible = "marvell,mv64360-brg";
Mark A. Greerd528be52008-04-08 08:07:08 +1000145 reg = <0xb208 0x8>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000146 clock-src = <8>;
Dale Farnsworthfb9d93d2008-04-08 08:08:06 +1000147 clock-frequency = <133333333>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000148 current-speed = <9600>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000149 };
150
Mark A. Greerd528be52008-04-08 08:07:08 +1000151 CUNIT: cunit@f200 {
152 reg = <0xf200 0x200>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000153 };
154
Mark A. Greerd528be52008-04-08 08:07:08 +1000155 MPSCROUTING: mpscrouting@b400 {
156 reg = <0xb400 0xc>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000157 };
158
Mark A. Greerd528be52008-04-08 08:07:08 +1000159 MPSCINTR: mpscintr@b800 {
160 reg = <0xb800 0x100>;
161 virtual-reg = <0xf100b800>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000162 };
163
Mark A. Greerd528be52008-04-08 08:07:08 +1000164 MPSC0: mpsc@8000 {
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000165 device_type = "serial";
Mark A. Greera1810b42008-04-08 08:09:03 +1000166 compatible = "marvell,mv64360-mpsc";
Mark A. Greerd528be52008-04-08 08:07:08 +1000167 reg = <0x8000 0x38>;
168 virtual-reg = <0xf1008000>;
169 sdma = <&SDMA0>;
170 brg = <&BRG0>;
171 cunit = <&CUNIT>;
172 mpscrouting = <&MPSCROUTING>;
173 mpscintr = <&MPSCINTR>;
Mark A. Greer1791f912008-04-08 08:10:34 +1000174 cell-index = <0>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000175 interrupts = <40>;
176 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000177 };
178
Mark A. Greerd528be52008-04-08 08:07:08 +1000179 MPSC1: mpsc@9000 {
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000180 device_type = "serial";
Mark A. Greera1810b42008-04-08 08:09:03 +1000181 compatible = "marvell,mv64360-mpsc";
Mark A. Greerd528be52008-04-08 08:07:08 +1000182 reg = <0x9000 0x38>;
183 virtual-reg = <0xf1009000>;
184 sdma = <&SDMA1>;
185 brg = <&BRG1>;
186 cunit = <&CUNIT>;
187 mpscrouting = <&MPSCROUTING>;
188 mpscintr = <&MPSCINTR>;
Mark A. Greer1791f912008-04-08 08:10:34 +1000189 cell-index = <1>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000190 interrupts = <42>;
191 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000192 };
193
Dale Farnsworth7e07a152007-07-24 11:12:24 -0700194 wdt@b410 { /* watchdog timer */
Mark A. Greera1810b42008-04-08 08:09:03 +1000195 compatible = "marvell,mv64360-wdt";
Mark A. Greerd528be52008-04-08 08:07:08 +1000196 reg = <0xb410 0x8>;
Dale Farnsworth7e07a152007-07-24 11:12:24 -0700197 };
198
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000199 i2c@c000 {
200 device_type = "i2c";
Mark A. Greera1810b42008-04-08 08:09:03 +1000201 compatible = "marvell,mv64360-i2c";
Mark A. Greerd528be52008-04-08 08:07:08 +1000202 reg = <0xc000 0x20>;
203 virtual-reg = <0xf100c000>;
Mark A. Greerd528be52008-04-08 08:07:08 +1000204 interrupts = <37>;
205 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000206 };
207
Mark A. Greerd528be52008-04-08 08:07:08 +1000208 PIC: pic {
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000209 #interrupt-cells = <1>;
210 #address-cells = <0>;
Mark A. Greera1810b42008-04-08 08:09:03 +1000211 compatible = "marvell,mv64360-pic";
Mark A. Greerd528be52008-04-08 08:07:08 +1000212 reg = <0x0 0x88>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000213 interrupt-controller;
214 };
215
216 mpp@f000 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000217 compatible = "marvell,mv64360-mpp";
Mark A. Greerd528be52008-04-08 08:07:08 +1000218 reg = <0xf000 0x10>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000219 };
220
221 gpp@f100 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000222 compatible = "marvell,mv64360-gpp";
Mark A. Greerd528be52008-04-08 08:07:08 +1000223 reg = <0xf100 0x20>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000224 };
225
226 pci@80000000 {
227 #address-cells = <3>;
228 #size-cells = <2>;
229 #interrupt-cells = <1>;
230 device_type = "pci";
Mark A. Greera1810b42008-04-08 08:09:03 +1000231 compatible = "marvell,mv64360-pci";
Mark A. Greerd528be52008-04-08 08:07:08 +1000232 reg = <0xcf8 0x8>;
233 ranges = <0x01000000 0x0 0x0
234 0x88000000 0x0 0x01000000
235 0x02000000 0x0 0x80000000
236 0x80000000 0x0 0x08000000>;
237 bus-range = <0 255>;
238 clock-frequency = <66000000>;
239 interrupt-pci-iack = <0xc34>;
240 interrupt-parent = <&PIC>;
241 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000242 interrupt-map = <
243 /* IDSEL 0x0a */
Mark A. Greerd528be52008-04-08 08:07:08 +1000244 0x5000 0 0 1 &PIC 80
245 0x5000 0 0 2 &PIC 81
246 0x5000 0 0 3 &PIC 91
247 0x5000 0 0 4 &PIC 93
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000248
249 /* IDSEL 0x0b */
Mark A. Greerd528be52008-04-08 08:07:08 +1000250 0x5800 0 0 1 &PIC 91
251 0x5800 0 0 2 &PIC 93
252 0x5800 0 0 3 &PIC 80
253 0x5800 0 0 4 &PIC 81
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000254
255 /* IDSEL 0x0c */
Mark A. Greerd528be52008-04-08 08:07:08 +1000256 0x6000 0 0 1 &PIC 91
257 0x6000 0 0 2 &PIC 93
258 0x6000 0 0 3 &PIC 80
259 0x6000 0 0 4 &PIC 81
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000260
261 /* IDSEL 0x0d */
Mark A. Greerd528be52008-04-08 08:07:08 +1000262 0x6800 0 0 1 &PIC 93
263 0x6800 0 0 2 &PIC 80
264 0x6800 0 0 3 &PIC 81
265 0x6800 0 0 4 &PIC 91
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000266 >;
267 };
268
269 cpu-error@0070 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000270 compatible = "marvell,mv64360-cpu-error";
Mark A. Greerd528be52008-04-08 08:07:08 +1000271 reg = <0x70 0x10 0x128 0x28>;
272 interrupts = <3>;
273 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000274 };
275
276 sram-ctrl@0380 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000277 compatible = "marvell,mv64360-sram-ctrl";
Mark A. Greerd528be52008-04-08 08:07:08 +1000278 reg = <0x380 0x80>;
279 interrupts = <13>;
280 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000281 };
282
283 pci-error@1d40 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000284 compatible = "marvell,mv64360-pci-error";
Mark A. Greerd528be52008-04-08 08:07:08 +1000285 reg = <0x1d40 0x40 0xc28 0x4>;
286 interrupts = <12>;
287 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000288 };
289
290 mem-ctrl@1400 {
Mark A. Greera1810b42008-04-08 08:09:03 +1000291 compatible = "marvell,mv64360-mem-ctrl";
Mark A. Greerd528be52008-04-08 08:07:08 +1000292 reg = <0x1400 0x60>;
293 interrupts = <17>;
294 interrupt-parent = <&PIC>;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000295 };
296 };
297
298 chosen {
Mark A. Greerbb807e62007-06-07 10:42:28 +1000299 bootargs = "ip=on";
Mark A. Greerd528be52008-04-08 08:07:08 +1000300 linux,stdout-path = &MPSC0;
Mark A. Greer3f456cc2007-05-12 10:57:58 +1000301 };
302};