2 * Device Tree Source for the Socrates board (MPC8544).
4 * Copyright (c) 2008 Emcraft Systems.
5 * Sergei Poselenov, <sposelenov@emcraft.com>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
16 model = "abb,socrates";
17 compatible = "abb,socrates";
36 d-cache-line-size = <32>;
37 i-cache-line-size = <32>;
38 d-cache-size = <0x8000>; // L1, 32K
39 i-cache-size = <0x8000>; // L1, 32K
40 timebase-frequency = <0>;
42 clock-frequency = <0>;
43 next-level-cache = <&L2>;
48 device_type = "memory";
49 reg = <0x00000000 0x00000000>; // Filled in by U-Boot
57 ranges = <0x00000000 0xe0000000 0x00100000>;
58 bus-frequency = <0>; // Filled in by U-Boot
59 compatible = "fsl,mpc8544-immr", "simple-bus";
62 compatible = "fsl,ecm-law";
68 compatible = "fsl,mpc8544-ecm", "fsl,ecm";
69 reg = <0x1000 0x1000>;
71 interrupt-parent = <&mpic>;
74 memory-controller@2000 {
75 compatible = "fsl,mpc8544-memory-controller";
76 reg = <0x2000 0x1000>;
77 interrupt-parent = <&mpic>;
81 L2: l2-cache-controller@20000 {
82 compatible = "fsl,mpc8544-l2-cache-controller";
83 reg = <0x20000 0x1000>;
84 cache-line-size = <32>;
85 cache-size = <0x40000>; // L2, 256K
86 interrupt-parent = <&mpic>;
94 compatible = "fsl,mpc8544-i2c", "fsl-i2c";
97 interrupt-parent = <&mpic>;
98 fsl,preserve-clocking;
101 compatible = "winbond,w83782d";
105 compatible = "epson,rx8025";
108 interrupt-parent = <&mpic>;
111 compatible = "dallas,ds75";
115 compatible = "ti,tsc2003";
117 interrupt-parent = <&mpic>;
123 #address-cells = <1>;
126 compatible = "fsl,mpc8544-i2c", "fsl-i2c";
127 reg = <0x3100 0x100>;
129 interrupt-parent = <&mpic>;
130 fsl,preserve-clocking;
133 enet0: ethernet@24000 {
134 #address-cells = <1>;
137 device_type = "network";
139 compatible = "gianfar";
140 reg = <0x24000 0x1000>;
141 ranges = <0x0 0x24000 0x1000>;
142 local-mac-address = [ 00 00 00 00 00 00 ];
143 interrupts = <29 2 30 2 34 2>;
144 interrupt-parent = <&mpic>;
145 phy-handle = <&phy0>;
146 tbi-handle = <&tbi0>;
147 phy-connection-type = "rgmii-id";
150 #address-cells = <1>;
152 compatible = "fsl,gianfar-mdio";
155 phy0: ethernet-phy@0 {
156 interrupt-parent = <&mpic>;
160 phy1: ethernet-phy@1 {
161 interrupt-parent = <&mpic>;
171 enet1: ethernet@26000 {
172 #address-cells = <1>;
175 device_type = "network";
177 compatible = "gianfar";
178 reg = <0x26000 0x1000>;
179 ranges = <0x0 0x26000 0x1000>;
180 local-mac-address = [ 00 00 00 00 00 00 ];
181 interrupts = <31 2 32 2 33 2>;
182 interrupt-parent = <&mpic>;
183 phy-handle = <&phy1>;
184 tbi-handle = <&tbi1>;
185 phy-connection-type = "rgmii-id";
188 #address-cells = <1>;
190 compatible = "fsl,gianfar-tbi";
199 serial0: serial@4500 {
201 device_type = "serial";
202 compatible = "ns16550";
203 reg = <0x4500 0x100>;
204 clock-frequency = <0>;
206 interrupt-parent = <&mpic>;
209 serial1: serial@4600 {
211 device_type = "serial";
212 compatible = "ns16550";
213 reg = <0x4600 0x100>;
214 clock-frequency = <0>;
216 interrupt-parent = <&mpic>;
219 global-utilities@e0000 { //global utilities block
220 compatible = "fsl,mpc8548-guts";
221 reg = <0xe0000 0x1000>;
226 interrupt-controller;
227 #address-cells = <0>;
228 #interrupt-cells = <2>;
229 reg = <0x40000 0x40000>;
230 compatible = "chrp,open-pic";
231 device_type = "open-pic";
237 compatible = "fsl,mpc8544-localbus",
240 #address-cells = <2>;
242 reg = <0xe0005000 0x40>;
243 interrupt-parent = <&mpic>;
246 ranges = <0 0 0xfc000000 0x04000000
247 2 0 0xc8000000 0x04000000
248 3 0 0xc0000000 0x00100000
249 >; /* Overwritten by U-Boot */
252 compatible = "amd,s29gl256n", "cfi-flash";
254 reg = <0x0 0x000000 0x4000000>;
255 #address-cells = <1>;
259 reg = <0x0 0x1e0000>;
264 reg = <0x1e0000 0x20000>;
268 reg = <0x200000 0x200000>;
272 reg = <0x400000 0x3b80000>;
276 reg = <0x3f80000 0x40000>;
281 reg = <0x3fc0000 0x40000>;
287 compatible = "fujitsu,lime";
288 reg = <2 0x0 0x4000000>;
289 interrupt-parent = <&mpic>;
293 fpga_pic: fpga-pic@3,10 {
294 compatible = "abb,socrates-fpga-pic";
296 interrupt-controller;
297 /* IRQs 2, 10, 11, active low, level-sensitive */
298 interrupts = <2 1 10 1 11 1>;
299 interrupt-parent = <&mpic>;
300 #interrupt-cells = <3>;
304 compatible = "abb,socrates-spi";
306 interrupts = <8 4 0>; // number, type, routing
307 interrupt-parent = <&fpga_pic>;
311 compatible = "abb,socrates-nand";
314 #address-cells = <1>;
318 reg = <0x0 0x40000000>;
323 compatible = "philips,sja1000";
324 reg = <3 0x100 0x80>;
325 interrupts = <2 8 1>; // number, type, routing
326 interrupt-parent = <&fpga_pic>;
331 #interrupt-cells = <1>;
333 #address-cells = <3>;
334 compatible = "fsl,mpc8540-pci";
336 reg = <0xe0008000 0x1000>;
337 clock-frequency = <66666666>;
339 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
342 0x8800 0x0 0x0 1 &mpic 5 1
344 0x9000 0x0 0x0 1 &mpic 4 1>;
345 interrupt-parent = <&mpic>;
347 bus-range = <0x0 0x0>;
348 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
349 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>;