2 * Motion-PRO 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 = "promess,motionpro";
21 compatible = "promess,motionpro";
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
48 model = "fsl,mpc5200b";
49 compatible = "fsl,mpc5200b";
50 revision = ""; // from bootloader
52 ranges = <0 f0000000 0000c000>;
53 reg = <f0000000 00000100>;
54 bus-frequency = <0>; // from bootloader
55 system-frequency = <0>; // from bootloader
58 compatible = "mpc5200b-cdm","mpc5200-cdm";
62 mpc5200_pic: pic@500 {
63 // 5200 interrupts are encoded into two levels;
65 #interrupt-cells = <3>;
66 compatible = "mpc5200b-pic","mpc5200-pic";
70 gpt@600 { // General Purpose Timer
71 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
74 interrupt-parent = <&mpc5200_pic>;
78 gpt@610 { // General Purpose Timer
79 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
82 interrupt-parent = <&mpc5200_pic>;
85 gpt@620 { // General Purpose Timer
86 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
89 interrupt-parent = <&mpc5200_pic>;
92 gpt@630 { // General Purpose Timer
93 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
96 interrupt-parent = <&mpc5200_pic>;
99 gpt@640 { // General Purpose Timer
100 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
102 interrupts = <1 d 0>;
103 interrupt-parent = <&mpc5200_pic>;
106 gpt@650 { // General Purpose Timer
107 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
109 interrupts = <1 e 0>;
110 interrupt-parent = <&mpc5200_pic>;
113 motionpro-led@660 { // Motion-PRO status LED
114 compatible = "promess,motionpro-led";
115 label = "motionpro-statusled";
117 interrupts = <1 f 0>;
118 interrupt-parent = <&mpc5200_pic>;
119 blink-delay = <64>; // 100 msec
122 motionpro-led@670 { // Motion-PRO ready LED
123 compatible = "promess,motionpro-led";
124 label = "motionpro-readyled";
126 interrupts = <1 10 0>;
127 interrupt-parent = <&mpc5200_pic>;
130 rtc@800 { // Real time clock
131 compatible = "mpc5200b-rtc","mpc5200-rtc";
133 interrupts = <1 5 0 1 6 0>;
134 interrupt-parent = <&mpc5200_pic>;
138 compatible = "mpc5200b-mscan","mpc5200-mscan";
139 interrupts = <2 12 0>;
140 interrupt-parent = <&mpc5200_pic>;
145 compatible = "mpc5200b-gpio","mpc5200-gpio";
147 interrupts = <1 7 0>;
148 interrupt-parent = <&mpc5200_pic>;
152 compatible = "mpc5200b-gpio-wkup","mpc5200-gpio-wkup";
154 interrupts = <1 8 0 0 3 0>;
155 interrupt-parent = <&mpc5200_pic>;
160 compatible = "mpc5200b-spi","mpc5200-spi";
162 interrupts = <2 d 0 2 e 0>;
163 interrupt-parent = <&mpc5200_pic>;
167 compatible = "mpc5200b-ohci","mpc5200-ohci","ohci-be";
169 interrupts = <2 6 0>;
170 interrupt-parent = <&mpc5200_pic>;
173 dma-controller@1200 {
174 compatible = "mpc5200b-bestcomm","mpc5200-bestcomm";
176 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
177 3 4 0 3 5 0 3 6 0 3 7 0
178 3 8 0 3 9 0 3 a 0 3 b 0
179 3 c 0 3 d 0 3 e 0 3 f 0>;
180 interrupt-parent = <&mpc5200_pic>;
184 compatible = "mpc5200b-xlb","mpc5200-xlb";
188 serial@2000 { // PSC1
189 device_type = "serial";
190 compatible = "mpc5200b-psc-uart","mpc5200-psc-uart";
191 port-number = <0>; // Logical port assignment
193 interrupts = <2 1 0>;
194 interrupt-parent = <&mpc5200_pic>;
197 // PSC2 in spi master mode
199 compatible = "mpc5200b-psc-spi","mpc5200-psc-spi";
202 interrupts = <2 2 0>;
203 interrupt-parent = <&mpc5200_pic>;
207 serial@2800 { // PSC5
208 device_type = "serial";
209 compatible = "mpc5200b-psc-uart","mpc5200-psc-uart";
210 port-number = <4>; // Logical port assignment
212 interrupts = <2 c 0>;
213 interrupt-parent = <&mpc5200_pic>;
217 device_type = "network";
218 compatible = "mpc5200b-fec","mpc5200-fec";
220 local-mac-address = [ 00 00 00 00 00 00 ]; /* Filled in by U-Boot */
221 interrupts = <2 5 0>;
222 interrupt-parent = <&mpc5200_pic>;
226 compatible = "mpc5200b-ata","mpc5200-ata";
228 interrupts = <2 7 0>;
229 interrupt-parent = <&mpc5200_pic>;
233 compatible = "mpc5200b-i2c","mpc5200-i2c","fsl-i2c";
235 interrupts = <2 10 0>;
236 interrupt-parent = <&mpc5200_pic>;
241 compatible = "mpc5200b-sram","mpc5200-sram";
248 compatible = "fsl,lpb";
249 #address-cells = <2>;
251 ranges = <1 0 50000000 00010000
252 2 0 50010000 00010000
253 3 0 50020000 00010000>;
255 // 8-bit DualPort SRAM on LocalPlus Bus CS1
257 compatible = "promess,motionpro-kollmorgen";
259 interrupts = <1 1 0>;
260 interrupt-parent = <&mpc5200_pic>;
263 // 8-bit board CPLD on LocalPlus Bus CS2
265 compatible = "promess,motionpro-cpld";
269 // 8-bit custom Anybus Module on LocalPlus Bus CS3
271 compatible = "promess,motionpro-anybus";
274 pro_module_general@3,0 {
275 compatible = "promess,pro_module_general";
278 pro_module_dio@3,800 {
279 compatible = "promess,pro_module_dio";
285 #interrupt-cells = <1>;
287 #address-cells = <3>;
289 compatible = "mpc5200b-pci","mpc5200-pci";
290 reg = <f0000d00 100>;
291 interrupt-map-mask = <f800 0 0 7>;
292 interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
293 c000 0 0 2 &mpc5200_pic 1 1 3
294 c000 0 0 3 &mpc5200_pic 1 2 3
295 c000 0 0 4 &mpc5200_pic 1 3 3
297 c800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
298 c800 0 0 2 &mpc5200_pic 1 2 3
299 c800 0 0 3 &mpc5200_pic 1 3 3
300 c800 0 0 4 &mpc5200_pic 0 0 3>;
301 clock-frequency = <0>; // From boot loader
302 interrupts = <2 8 0 2 9 0 2 a 0>;
303 interrupt-parent = <&mpc5200_pic>;
305 ranges = <42000000 0 80000000 80000000 0 20000000
306 02000000 0 a0000000 a0000000 0 10000000
307 01000000 0 00000000 b0000000 0 01000000>;