1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Tree Source for the Socrates board (MPC8544).
5 * Copyright (c) 2008 Emcraft Systems.
6 * Sergei Poselenov, <sposelenov@emcraft.com>
12 model = "abb,socrates";
13 compatible = "abb,socrates";
32 d-cache-line-size = <32>;
33 i-cache-line-size = <32>;
34 d-cache-size = <0x8000>; // L1, 32K
35 i-cache-size = <0x8000>; // L1, 32K
36 timebase-frequency = <0>;
38 clock-frequency = <0>;
39 next-level-cache = <&L2>;
44 device_type = "memory";
45 reg = <0x00000000 0x00000000>; // Filled in by U-Boot
53 ranges = <0x00000000 0xe0000000 0x00100000>;
54 bus-frequency = <0>; // Filled in by U-Boot
55 compatible = "fsl,mpc8544-immr", "simple-bus";
58 compatible = "fsl,ecm-law";
64 compatible = "fsl,mpc8544-ecm", "fsl,ecm";
65 reg = <0x1000 0x1000>;
67 interrupt-parent = <&mpic>;
70 memory-controller@2000 {
71 compatible = "fsl,mpc8544-memory-controller";
72 reg = <0x2000 0x1000>;
73 interrupt-parent = <&mpic>;
77 L2: l2-cache-controller@20000 {
78 compatible = "fsl,mpc8544-l2-cache-controller";
79 reg = <0x20000 0x1000>;
80 cache-line-size = <32>;
81 cache-size = <0x40000>; // L2, 256K
82 interrupt-parent = <&mpic>;
90 compatible = "fsl,mpc8544-i2c", "fsl-i2c";
93 interrupt-parent = <&mpic>;
94 fsl,preserve-clocking;
97 compatible = "winbond,w83782d";
101 compatible = "epson,rx8025";
104 interrupt-parent = <&mpic>;
107 compatible = "dallas,ds75";
111 compatible = "ti,tsc2003";
113 interrupt-parent = <&mpic>;
119 #address-cells = <1>;
122 compatible = "fsl,mpc8544-i2c", "fsl-i2c";
123 reg = <0x3100 0x100>;
125 interrupt-parent = <&mpic>;
126 fsl,preserve-clocking;
129 enet0: ethernet@24000 {
130 #address-cells = <1>;
133 device_type = "network";
135 compatible = "gianfar";
136 reg = <0x24000 0x1000>;
137 ranges = <0x0 0x24000 0x1000>;
138 local-mac-address = [ 00 00 00 00 00 00 ];
139 interrupts = <29 2 30 2 34 2>;
140 interrupt-parent = <&mpic>;
141 phy-handle = <&phy0>;
142 tbi-handle = <&tbi0>;
143 phy-connection-type = "rgmii-id";
146 #address-cells = <1>;
148 compatible = "fsl,gianfar-mdio";
151 phy0: ethernet-phy@0 {
152 interrupt-parent = <&mpic>;
156 phy1: ethernet-phy@1 {
157 interrupt-parent = <&mpic>;
167 enet1: ethernet@26000 {
168 #address-cells = <1>;
171 device_type = "network";
173 compatible = "gianfar";
174 reg = <0x26000 0x1000>;
175 ranges = <0x0 0x26000 0x1000>;
176 local-mac-address = [ 00 00 00 00 00 00 ];
177 interrupts = <31 2 32 2 33 2>;
178 interrupt-parent = <&mpic>;
179 phy-handle = <&phy1>;
180 tbi-handle = <&tbi1>;
181 phy-connection-type = "rgmii-id";
184 #address-cells = <1>;
186 compatible = "fsl,gianfar-tbi";
195 serial0: serial@4500 {
197 device_type = "serial";
198 compatible = "fsl,ns16550", "ns16550";
199 reg = <0x4500 0x100>;
200 clock-frequency = <0>;
202 interrupt-parent = <&mpic>;
205 serial1: serial@4600 {
207 device_type = "serial";
208 compatible = "fsl,ns16550", "ns16550";
209 reg = <0x4600 0x100>;
210 clock-frequency = <0>;
212 interrupt-parent = <&mpic>;
215 global-utilities@e0000 { //global utilities block
216 compatible = "fsl,mpc8548-guts";
217 reg = <0xe0000 0x1000>;
222 interrupt-controller;
223 #address-cells = <0>;
224 #interrupt-cells = <2>;
225 reg = <0x40000 0x40000>;
226 compatible = "chrp,open-pic";
227 device_type = "open-pic";
233 compatible = "fsl,mpc8544-localbus",
236 #address-cells = <2>;
238 reg = <0xe0005000 0x40>;
239 interrupt-parent = <&mpic>;
242 ranges = <0 0 0xfc000000 0x04000000
243 2 0 0xc8000000 0x04000000
244 3 0 0xc0000000 0x00100000
245 >; /* Overwritten by U-Boot */
248 compatible = "amd,s29gl256n", "cfi-flash";
250 reg = <0x0 0x000000 0x4000000>;
251 #address-cells = <1>;
255 reg = <0x0 0x1e0000>;
260 reg = <0x1e0000 0x20000>;
264 reg = <0x200000 0x200000>;
268 reg = <0x400000 0x3b80000>;
272 reg = <0x3f80000 0x40000>;
277 reg = <0x3fc0000 0x40000>;
283 compatible = "fujitsu,lime";
284 reg = <2 0x0 0x4000000>;
285 interrupt-parent = <&mpic>;
289 fpga_pic: fpga-pic@3,10 {
290 compatible = "abb,socrates-fpga-pic";
292 interrupt-controller;
293 /* IRQs 2, 10, 11, active low, level-sensitive */
294 interrupts = <2 1 10 1 11 1>;
295 interrupt-parent = <&mpic>;
296 #interrupt-cells = <3>;
300 compatible = "abb,socrates-spi";
302 interrupts = <8 4 0>; // number, type, routing
303 interrupt-parent = <&fpga_pic>;
307 compatible = "abb,socrates-nand";
310 #address-cells = <1>;
314 reg = <0x0 0x40000000>;
319 compatible = "philips,sja1000";
320 reg = <3 0x100 0x80>;
321 interrupts = <2 8 1>; // number, type, routing
322 interrupt-parent = <&fpga_pic>;
327 #interrupt-cells = <1>;
329 #address-cells = <3>;
330 compatible = "fsl,mpc8540-pci";
332 reg = <0xe0008000 0x1000>;
333 clock-frequency = <66666666>;
335 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
338 0x8800 0x0 0x0 1 &mpic 5 1
340 0x9000 0x0 0x0 1 &mpic 4 1>;
341 interrupt-parent = <&mpic>;
343 bus-range = <0x0 0x0>;
344 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
345 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>;