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 model = "promess,motionpro";
15 compatible = "promess,motionpro";
26 d-cache-line-size = <20>;
27 i-cache-line-size = <20>;
28 d-cache-size = <4000>; // L1, 16K
29 i-cache-size = <4000>; // L1, 16K
30 timebase-frequency = <0>; // from bootloader
31 bus-frequency = <0>; // from bootloader
32 clock-frequency = <0>; // from bootloader
37 device_type = "memory";
38 reg = <00000000 04000000>; // 64MB
44 compatible = "fsl,mpc5200b-immr";
45 ranges = <0 f0000000 0000c000>;
46 reg = <f0000000 00000100>;
47 bus-frequency = <0>; // from bootloader
48 system-frequency = <0>; // from bootloader
51 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
55 mpc5200_pic: interrupt-controller@500 {
56 // 5200 interrupts are encoded into two levels;
58 #interrupt-cells = <3>;
59 compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
63 timer@600 { // General Purpose Timer
64 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
67 interrupt-parent = <&mpc5200_pic>;
71 timer@610 { // General Purpose Timer
72 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
75 interrupt-parent = <&mpc5200_pic>;
78 timer@620 { // General Purpose Timer
79 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
82 interrupt-parent = <&mpc5200_pic>;
85 timer@630 { // General Purpose Timer
86 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
89 interrupt-parent = <&mpc5200_pic>;
92 timer@640 { // General Purpose Timer
93 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
96 interrupt-parent = <&mpc5200_pic>;
99 timer@650 { // General Purpose Timer
100 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
102 interrupts = <1 e 0>;
103 interrupt-parent = <&mpc5200_pic>;
106 motionpro-led@660 { // Motion-PRO status LED
107 compatible = "promess,motionpro-led";
108 label = "motionpro-statusled";
110 interrupts = <1 f 0>;
111 interrupt-parent = <&mpc5200_pic>;
112 blink-delay = <64>; // 100 msec
115 motionpro-led@670 { // Motion-PRO ready LED
116 compatible = "promess,motionpro-led";
117 label = "motionpro-readyled";
119 interrupts = <1 10 0>;
120 interrupt-parent = <&mpc5200_pic>;
123 rtc@800 { // Real time clock
124 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
126 interrupts = <1 5 0 1 6 0>;
127 interrupt-parent = <&mpc5200_pic>;
131 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
132 interrupts = <2 12 0>;
133 interrupt-parent = <&mpc5200_pic>;
138 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
140 interrupts = <1 7 0>;
141 interrupt-parent = <&mpc5200_pic>;
145 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
147 interrupts = <1 8 0 0 3 0>;
148 interrupt-parent = <&mpc5200_pic>;
153 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
155 interrupts = <2 d 0 2 e 0>;
156 interrupt-parent = <&mpc5200_pic>;
160 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
162 interrupts = <2 6 0>;
163 interrupt-parent = <&mpc5200_pic>;
166 dma-controller@1200 {
167 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
169 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
170 3 4 0 3 5 0 3 6 0 3 7 0
171 3 8 0 3 9 0 3 a 0 3 b 0
172 3 c 0 3 d 0 3 e 0 3 f 0>;
173 interrupt-parent = <&mpc5200_pic>;
177 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
181 serial@2000 { // PSC1
182 device_type = "serial";
183 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
184 port-number = <0>; // Logical port assignment
186 interrupts = <2 1 0>;
187 interrupt-parent = <&mpc5200_pic>;
190 // PSC2 in spi master mode
192 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
195 interrupts = <2 2 0>;
196 interrupt-parent = <&mpc5200_pic>;
200 serial@2800 { // PSC5
201 device_type = "serial";
202 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
203 port-number = <4>; // Logical port assignment
205 interrupts = <2 c 0>;
206 interrupt-parent = <&mpc5200_pic>;
210 device_type = "network";
211 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
213 local-mac-address = [ 00 00 00 00 00 00 ];
214 interrupts = <2 5 0>;
215 interrupt-parent = <&mpc5200_pic>;
219 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
221 interrupts = <2 7 0>;
222 interrupt-parent = <&mpc5200_pic>;
226 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
228 interrupts = <2 10 0>;
229 interrupt-parent = <&mpc5200_pic>;
234 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
240 compatible = "fsl,lpb";
241 #address-cells = <2>;
243 ranges = <1 0 50000000 00010000
244 2 0 50010000 00010000
245 3 0 50020000 00010000>;
247 // 8-bit DualPort SRAM on LocalPlus Bus CS1
249 compatible = "promess,motionpro-kollmorgen";
251 interrupts = <1 1 0>;
252 interrupt-parent = <&mpc5200_pic>;
255 // 8-bit board CPLD on LocalPlus Bus CS2
257 compatible = "promess,motionpro-cpld";
261 // 8-bit custom Anybus Module on LocalPlus Bus CS3
263 compatible = "promess,motionpro-anybus";
266 pro_module_general@3,0 {
267 compatible = "promess,pro_module_general";
270 pro_module_dio@3,800 {
271 compatible = "promess,pro_module_dio";
277 #interrupt-cells = <1>;
279 #address-cells = <3>;
281 compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci";
282 reg = <f0000d00 100>;
283 interrupt-map-mask = <f800 0 0 7>;
284 interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
285 c000 0 0 2 &mpc5200_pic 1 1 3
286 c000 0 0 3 &mpc5200_pic 1 2 3
287 c000 0 0 4 &mpc5200_pic 1 3 3
289 c800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
290 c800 0 0 2 &mpc5200_pic 1 2 3
291 c800 0 0 3 &mpc5200_pic 1 3 3
292 c800 0 0 4 &mpc5200_pic 0 0 3>;
293 clock-frequency = <0>; // From boot loader
294 interrupts = <2 8 0 2 9 0 2 a 0>;
295 interrupt-parent = <&mpc5200_pic>;
297 ranges = <42000000 0 80000000 80000000 0 20000000
298 02000000 0 a0000000 a0000000 0 10000000
299 01000000 0 00000000 b0000000 0 01000000>;