1 /* Device Tree Source for GEFanuc C2K
3 * Author: Remi Machet <rmachet@slac.stanford.edu>
5 * Originated from prpmc2800.dts
7 * 2008 (c) Stanford University
8 * 2007 (c) MontaVista, Software, Inc.
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License version 2 as published
12 * by the Free Software Foundation.
21 compatible = "GEFanuc,C2K";
35 compatible = "PowerPC,7447";
37 clock-frequency = <996000000>; /* 996 MHz */
38 bus-frequency = <166666667>; /* 166.6666 MHz */
39 timebase-frequency = <41666667>; /* 166.6666/4 MHz */
40 i-cache-line-size = <32>;
41 d-cache-line-size = <32>;
42 i-cache-size = <32768>;
43 d-cache-size = <32768>;
48 device_type = "memory";
49 reg = <0x00000000 0x40000000>; /* 1GB */
52 system-controller@d8000000 { /* Marvell Discovery */
56 compatible = "marvell,mv64360";
57 clock-frequency = <166666667>; /* 166.66... MHz */
58 reg = <0xd8000000 0x00010000>;
59 virtual-reg = <0xd8000000>;
60 ranges = <0xd4000000 0xd4000000 0x01000000 /* PCI 0 I/O Space */
61 0x80000000 0x80000000 0x08000000 /* PCI 0 MEM Space */
62 0xd0000000 0xd0000000 0x01000000 /* PCI 1 I/O Space */
63 0xa0000000 0xa0000000 0x08000000 /* PCI 1 MEM Space */
64 0xd8100000 0xd8100000 0x00010000 /* FPGA */
65 0xd8110000 0xd8110000 0x00010000 /* FPGA USARTs */
66 0xf8000000 0xf8000000 0x08000000 /* User FLASH */
67 0x00000000 0xd8000000 0x00010000 /* Bridge's regs */
68 0xd8140000 0xd8140000 0x00040000>; /* Integrated SRAM */
73 compatible = "marvell,mv64360-mdio";
75 PHY0: ethernet-phy@0 {
76 device_type = "ethernet-phy";
77 interrupts = <76>; /* GPP 12 */
78 interrupt-parent = <&PIC>;
81 PHY1: ethernet-phy@1 {
82 device_type = "ethernet-phy";
83 interrupts = <76>; /* GPP 12 */
84 interrupt-parent = <&PIC>;
87 PHY2: ethernet-phy@2 {
88 device_type = "ethernet-phy";
89 interrupts = <76>; /* GPP 12 */
90 interrupt-parent = <&PIC>;
98 compatible = "marvell,mv64360-eth-group";
99 reg = <0x2000 0x2000>;
101 device_type = "network";
102 compatible = "marvell,mv64360-eth";
105 interrupt-parent = <&PIC>;
107 local-mac-address = [ 00 00 00 00 00 00 ];
110 device_type = "network";
111 compatible = "marvell,mv64360-eth";
114 interrupt-parent = <&PIC>;
116 local-mac-address = [ 00 00 00 00 00 00 ];
119 device_type = "network";
120 compatible = "marvell,mv64360-eth";
123 interrupt-parent = <&PIC>;
125 local-mac-address = [ 00 00 00 00 00 00 ];
130 compatible = "marvell,mv64360-sdma";
131 reg = <0x4000 0xc18>;
132 virtual-reg = <0xd8004000>;
133 interrupt-base = <0>;
135 interrupt-parent = <&PIC>;
139 compatible = "marvell,mv64360-sdma";
140 reg = <0x6000 0xc18>;
141 virtual-reg = <0xd8006000>;
142 interrupt-base = <0>;
144 interrupt-parent = <&PIC>;
148 compatible = "marvell,mv64360-brg";
151 clock-frequency = <133333333>;
152 current-speed = <115200>;
156 compatible = "marvell,mv64360-brg";
159 clock-frequency = <133333333>;
160 current-speed = <115200>;
164 reg = <0xf200 0x200>;
167 MPSCROUTING: mpscrouting@b400 {
171 MPSCINTR: mpscintr@b800 {
172 reg = <0xb800 0x100>;
173 virtual-reg = <0xd800b800>;
177 device_type = "serial";
178 compatible = "marvell,mv64360-mpsc";
180 virtual-reg = <0xd8008000>;
184 mpscrouting = <&MPSCROUTING>;
185 mpscintr = <&MPSCINTR>;
188 interrupt-parent = <&PIC>;
192 device_type = "serial";
193 compatible = "marvell,mv64360-mpsc";
195 virtual-reg = <0xd8009000>;
199 mpscrouting = <&MPSCROUTING>;
200 mpscintr = <&MPSCINTR>;
203 interrupt-parent = <&PIC>;
206 wdt@b410 { /* watchdog timer */
207 compatible = "marvell,mv64360-wdt";
212 compatible = "marvell,mv64360-i2c";
214 virtual-reg = <0xd800c000>;
216 interrupt-parent = <&PIC>;
220 #interrupt-cells = <1>;
221 #address-cells = <0>;
222 compatible = "marvell,mv64360-pic";
224 interrupt-controller;
228 compatible = "marvell,mv64360-mpp";
233 compatible = "marvell,mv64360-gpp";
238 #address-cells = <3>;
240 #interrupt-cells = <1>;
242 compatible = "marvell,mv64360-pci";
244 ranges = <0x01000000 0x0 0x00000000 0xd4000000 0x0 0x01000000
245 0x02000000 0x0 0x80000000 0x80000000 0x0 0x08000000>;
247 clock-frequency = <66000000>;
248 interrupt-pci-iack = <0x0c34>;
249 interrupt-parent = <&PIC>;
250 interrupt-map-mask = <0x0000 0x0 0x0 0x7>;
252 /* Only one interrupt line for PMC0 slot (INTA) */
259 #address-cells = <3>;
261 #interrupt-cells = <1>;
263 compatible = "marvell,mv64360-pci";
265 ranges = <0x01000000 0x0 0x00000000 0xd0000000 0x0 0x01000000
266 0x02000000 0x0 0x80000000 0xa0000000 0x0 0x08000000>;
268 clock-frequency = <66000000>;
269 interrupt-pci-iack = <0x0cb4>;
270 interrupt-parent = <&PIC>;
271 interrupt-map-mask = <0xf800 0x00 0x00 0x7>;
273 /* IDSEL 0x01: PMC1 ? */
275 /* IDSEL 0x02: cPCI bridge */
277 /* IDSEL 0x03: USB controller */
279 /* IDSEL 0x04: SATA controller */
285 compatible = "marvell,mv64360-cpu-error";
286 reg = <0x0070 0x10 0x0128 0x28>;
288 interrupt-parent = <&PIC>;
292 compatible = "marvell,mv64360-sram-ctrl";
295 interrupt-parent = <&PIC>;
299 compatible = "marvell,mv64360-pci-error";
300 reg = <0x1d40 0x40 0x0c28 0x4>;
302 interrupt-parent = <&PIC>;
306 compatible = "marvell,mv64360-pci-error";
307 reg = <0x1dc0 0x40 0x0ca8 0x4>;
309 interrupt-parent = <&PIC>;
313 compatible = "marvell,mv64360-mem-ctrl";
316 interrupt-parent = <&PIC>;
318 /* Devices attached to the device controller */
320 #address-cells = <2>;
322 compatible = "marvell,mv64306-devctrl";
325 interrupt-parent = <&PIC>;
326 ranges = <0 0 0xd8100000 0x10000
327 2 0 0xd8110000 0x10000
328 4 0 0xf8000000 0x8000000>;
330 compatible = "sbs,fpga-c2k";
334 compatible = "sbs,fpga_usart-c2k";
338 compatible = "cfi-flash";
339 reg = <4 0 0x8000000>; /* 128MB */
342 #address-cells = <1>;
346 reg = <0x00000000 0x00080000>;
350 reg = <0x00080000 0x00400000>;
354 reg = <0x00480000 0x00B80000>;
358 reg = <0x01000000 0x06800000>;
362 reg = <0x07800000 0x00800000>;
369 linux,stdout-path = &MPSC0;