2 * CM5200 board Device Tree Source
4 * Copyright (C) 2007 Semihalf
5 * Marian Balakowicz <m8@semihalf.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.
14 * WARNING: Do not depend on this tree layout remaining static just yet.
15 * The MPC5200 device tree conventions are still in flux
16 * Keep an eye on the linuxppc-dev mailing list for more details
20 model = "schindler,cm5200";
21 compatible = "schindler,cm5200";
32 d-cache-line-size = <20>;
33 i-cache-line-size = <20>;
34 d-cache-size = <4000>; // L1, 16K
35 i-cache-size = <4000>; // L1, 16K
36 timebase-frequency = <0>; // from bootloader
37 bus-frequency = <0>; // from bootloader
38 clock-frequency = <0>; // from bootloader
43 device_type = "memory";
44 reg = <00000000 04000000>; // 64MB
50 compatible = "fsl,mpc5200b-immr";
51 ranges = <0 f0000000 0000c000>;
52 reg = <f0000000 00000100>;
53 bus-frequency = <0>; // from bootloader
54 system-frequency = <0>; // from bootloader
57 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
61 mpc5200_pic: pic@500 {
62 // 5200 interrupts are encoded into two levels;
64 #interrupt-cells = <3>;
65 compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
69 timer@600 { // General Purpose Timer
70 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
73 interrupt-parent = <&mpc5200_pic>;
77 timer@610 { // General Purpose Timer
78 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
81 interrupt-parent = <&mpc5200_pic>;
84 timer@620 { // General Purpose Timer
85 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
88 interrupt-parent = <&mpc5200_pic>;
91 timer@630 { // General Purpose Timer
92 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
95 interrupt-parent = <&mpc5200_pic>;
98 timer@640 { // General Purpose Timer
99 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
101 interrupts = <1 d 0>;
102 interrupt-parent = <&mpc5200_pic>;
105 timer@650 { // General Purpose Timer
106 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
108 interrupts = <1 e 0>;
109 interrupt-parent = <&mpc5200_pic>;
112 timer@660 { // General Purpose Timer
113 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
115 interrupts = <1 f 0>;
116 interrupt-parent = <&mpc5200_pic>;
119 timer@670 { // General Purpose Timer
120 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
122 interrupts = <1 10 0>;
123 interrupt-parent = <&mpc5200_pic>;
126 rtc@800 { // Real time clock
127 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
129 interrupts = <1 5 0 1 6 0>;
130 interrupt-parent = <&mpc5200_pic>;
134 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
136 interrupts = <1 7 0>;
137 interrupt-parent = <&mpc5200_pic>;
141 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
143 interrupts = <1 8 0 0 3 0>;
144 interrupt-parent = <&mpc5200_pic>;
148 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
150 interrupts = <2 d 0 2 e 0>;
151 interrupt-parent = <&mpc5200_pic>;
155 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
157 interrupts = <2 6 0>;
158 interrupt-parent = <&mpc5200_pic>;
161 dma-controller@1200 {
162 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
164 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
165 3 4 0 3 5 0 3 6 0 3 7 0
166 3 8 0 3 9 0 3 a 0 3 b 0
167 3 c 0 3 d 0 3 e 0 3 f 0>;
168 interrupt-parent = <&mpc5200_pic>;
172 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
176 serial@2000 { // PSC1
177 device_type = "serial";
178 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
179 port-number = <0>; // Logical port assignment
181 interrupts = <2 1 0>;
182 interrupt-parent = <&mpc5200_pic>;
185 serial@2200 { // PSC2
186 device_type = "serial";
187 compatible = "fsl,mpc5200-psc-uart";
188 port-number = <1>; // Logical port assignment
190 interrupts = <2 2 0>;
191 interrupt-parent = <&mpc5200_pic>;
194 serial@2400 { // PSC3
195 device_type = "serial";
196 compatible = "fsl,mpc5200-psc-uart";
197 port-number = <2>; // Logical port assignment
199 interrupts = <2 3 0>;
200 interrupt-parent = <&mpc5200_pic>;
203 serial@2c00 { // PSC6
204 device_type = "serial";
205 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
206 port-number = <5>; // Logical port assignment
208 interrupts = <2 4 0>;
209 interrupt-parent = <&mpc5200_pic>;
213 device_type = "network";
214 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
216 local-mac-address = [ 00 00 00 00 00 00 ];
217 interrupts = <2 5 0>;
218 interrupt-parent = <&mpc5200_pic>;
219 phy-handle = <&phy0>;
223 #address-cells = <1>;
225 compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
226 reg = <3000 400>; // fec range, since we need to setup fec interrupts
227 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
228 interrupt-parent = <&mpc5200_pic>;
230 phy0: ethernet-phy@0 {
231 device_type = "ethernet-phy";
237 #address-cells = <1>;
239 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
241 interrupts = <2 10 0>;
242 interrupt-parent = <&mpc5200_pic>;
247 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
254 compatible = "fsl,lpb";
255 #address-cells = <2>;
257 ranges = <0 0 fc000000 2000000>;
259 // 16-bit flash device at LocalPlus Bus CS0
261 compatible = "cfi-flash";
266 #address-cells = <1>;