2 * P2020 RDB Core0 Device Tree Source in CAMP mode.
4 * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache
5 * can be shared, all the other devices must be assigned to one core only.
6 * This dts file allows core0 to have memory, l2, i2c, spi, gpio, dma1, usb,
7 * eth1, eth2, sdhc, crypto, global-util, pci0.
9 * Copyright 2009-2011 Freescale Semiconductor Inc.
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
20 compatible = "fsl,P2020RDB", "fsl,MPC85XXRDB-CAMP";
38 next-level-cache = <&L2>;
43 device_type = "memory";
50 compatible = "fsl,p2020-immr", "simple-bus";
51 ranges = <0x0 0x0 0xffe00000 0x100000>;
52 bus-frequency = <0>; // Filled out by uboot.
55 compatible = "fsl,ecm-law";
61 compatible = "fsl,p2020-ecm", "fsl,ecm";
62 reg = <0x1000 0x1000>;
64 interrupt-parent = <&mpic>;
67 memory-controller@2000 {
68 compatible = "fsl,p2020-memory-controller";
69 reg = <0x2000 0x1000>;
70 interrupt-parent = <&mpic>;
78 compatible = "fsl-i2c";
81 interrupt-parent = <&mpic>;
84 compatible = "dallas,ds1339";
93 compatible = "fsl-i2c";
96 interrupt-parent = <&mpic>;
100 serial0: serial@4500 {
102 device_type = "serial";
103 compatible = "ns16550";
104 reg = <0x4500 0x100>;
105 clock-frequency = <0>;
110 #address-cells = <1>;
112 compatible = "fsl,espi";
113 reg = <0x7000 0x1000>;
114 interrupts = <59 0x2>;
115 interrupt-parent = <&mpic>;
119 #address-cells = <1>;
121 compatible = "fsl,espi-flash";
123 linux,modalias = "fsl_m25p80";
125 spi-max-frequency = <50000000>;
129 /* 512KB for u-boot Bootloader Image */
130 reg = <0x0 0x00080000>;
131 label = "SPI (RO) U-Boot Image";
136 /* 512KB for DTB Image */
137 reg = <0x00080000 0x00080000>;
138 label = "SPI (RO) DTB Image";
143 /* 4MB for Linux Kernel Image */
144 reg = <0x00100000 0x00400000>;
145 label = "SPI (RO) Linux Kernel Image";
150 /* 4MB for Compressed RFS Image */
151 reg = <0x00500000 0x00400000>;
152 label = "SPI (RO) Compressed RFS Image";
157 /* 7MB for JFFS2 based RFS */
158 reg = <0x00900000 0x00700000>;
159 label = "SPI (RW) JFFS2 RFS";
164 gpio: gpio-controller@f000 {
166 compatible = "fsl,mpc8572-gpio";
167 reg = <0xf000 0x100>;
168 interrupts = <47 0x2>;
169 interrupt-parent = <&mpic>;
173 L2: l2-cache-controller@20000 {
174 compatible = "fsl,p2020-l2-cache-controller";
175 reg = <0x20000 0x1000>;
176 cache-line-size = <32>; // 32 bytes
177 cache-size = <0x80000>; // L2,512K
178 interrupt-parent = <&mpic>;
183 #address-cells = <1>;
185 compatible = "fsl,eloplus-dma";
187 ranges = <0x0 0x21100 0x200>;
190 compatible = "fsl,eloplus-dma-channel";
193 interrupt-parent = <&mpic>;
197 compatible = "fsl,eloplus-dma-channel";
200 interrupt-parent = <&mpic>;
204 compatible = "fsl,eloplus-dma-channel";
207 interrupt-parent = <&mpic>;
211 compatible = "fsl,eloplus-dma-channel";
214 interrupt-parent = <&mpic>;
220 #address-cells = <1>;
222 compatible = "fsl-usb2-dr";
223 reg = <0x22000 0x1000>;
224 interrupt-parent = <&mpic>;
225 interrupts = <28 0x2>;
230 #address-cells = <1>;
232 compatible = "fsl,gianfar-mdio";
233 reg = <0x24520 0x20>;
235 phy0: ethernet-phy@0 {
236 interrupt-parent = <&mpic>;
240 phy1: ethernet-phy@1 {
241 interrupt-parent = <&mpic>;
248 #address-cells = <1>;
250 compatible = "fsl,gianfar-tbi";
251 reg = <0x26520 0x20>;
255 device_type = "tbi-phy";
259 enet1: ethernet@25000 {
260 #address-cells = <1>;
263 device_type = "network";
265 compatible = "gianfar";
266 reg = <0x25000 0x1000>;
267 ranges = <0x0 0x25000 0x1000>;
268 local-mac-address = [ 00 00 00 00 00 00 ];
269 interrupts = <35 2 36 2 40 2>;
270 interrupt-parent = <&mpic>;
271 tbi-handle = <&tbi0>;
272 phy-handle = <&phy0>;
273 phy-connection-type = "sgmii";
277 enet2: ethernet@26000 {
278 #address-cells = <1>;
281 device_type = "network";
283 compatible = "gianfar";
284 reg = <0x26000 0x1000>;
285 ranges = <0x0 0x26000 0x1000>;
286 local-mac-address = [ 00 00 00 00 00 00 ];
287 interrupts = <31 2 32 2 33 2>;
288 interrupt-parent = <&mpic>;
289 phy-handle = <&phy1>;
290 phy-connection-type = "rgmii-id";
294 compatible = "fsl,p2020-esdhc", "fsl,esdhc";
295 reg = <0x2e000 0x1000>;
296 interrupts = <72 0x2>;
297 interrupt-parent = <&mpic>;
298 /* Filled in by U-Boot */
299 clock-frequency = <0>;
303 compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
304 "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
305 reg = <0x30000 0x10000>;
306 interrupts = <45 2 58 2>;
307 interrupt-parent = <&mpic>;
308 fsl,num-channels = <4>;
309 fsl,channel-fifo-len = <24>;
310 fsl,exec-units-mask = <0xbfe>;
311 fsl,descriptor-types-mask = <0x3ab0ebf>;
315 interrupt-controller;
316 #address-cells = <0>;
317 #interrupt-cells = <2>;
318 reg = <0x40000 0x40000>;
319 compatible = "chrp,open-pic";
320 device_type = "open-pic";
321 protected-sources = <
322 42 76 77 78 79 /* serial1 , dma2 */
323 29 30 34 26 /* enet0, pci1 */
324 0xe0 0xe1 0xe2 0xe3 /* msi */
329 global-utilities@e0000 {
330 compatible = "fsl,p2020-guts";
331 reg = <0xe0000 0x1000>;
336 pci0: pcie@ffe09000 {
337 compatible = "fsl,mpc8548-pcie";
339 #interrupt-cells = <1>;
341 #address-cells = <3>;
342 reg = <0 0xffe09000 0 0x1000>;
344 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
345 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
346 clock-frequency = <33333333>;
347 interrupt-parent = <&mpic>;
350 reg = <0x0 0x0 0x0 0x0 0x0>;
352 #address-cells = <3>;
354 ranges = <0x2000000 0x0 0xa0000000
355 0x2000000 0x0 0xa0000000