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>;
152 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
154 interrupts = <2 d 0 2 e 0>;
155 interrupt-parent = <&mpc5200_pic>;
159 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
161 interrupts = <2 6 0>;
162 interrupt-parent = <&mpc5200_pic>;
165 dma-controller@1200 {
166 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
168 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
169 3 4 0 3 5 0 3 6 0 3 7 0
170 3 8 0 3 9 0 3 a 0 3 b 0
171 3 c 0 3 d 0 3 e 0 3 f 0>;
172 interrupt-parent = <&mpc5200_pic>;
176 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
180 serial@2000 { // PSC1
181 device_type = "serial";
182 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
183 port-number = <0>; // Logical port assignment
185 interrupts = <2 1 0>;
186 interrupt-parent = <&mpc5200_pic>;
189 // PSC2 in spi master mode
191 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
194 interrupts = <2 2 0>;
195 interrupt-parent = <&mpc5200_pic>;
199 serial@2800 { // PSC5
200 device_type = "serial";
201 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
202 port-number = <4>; // Logical port assignment
204 interrupts = <2 c 0>;
205 interrupt-parent = <&mpc5200_pic>;
209 device_type = "network";
210 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
212 local-mac-address = [ 00 00 00 00 00 00 ];
213 interrupts = <2 5 0>;
214 interrupt-parent = <&mpc5200_pic>;
215 phy-handle = <&phy0>;
219 #address-cells = <1>;
221 compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
222 reg = <3000 400>; // fec range, since we need to setup fec interrupts
223 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
224 interrupt-parent = <&mpc5200_pic>;
226 phy0: ethernet-phy@2 {
227 device_type = "ethernet-phy";
233 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
235 interrupts = <2 7 0>;
236 interrupt-parent = <&mpc5200_pic>;
240 #address-cells = <1>;
242 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
244 interrupts = <2 10 0>;
245 interrupt-parent = <&mpc5200_pic>;
250 compatible = "dallas,ds1339";
256 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
262 compatible = "fsl,lpb";
263 #address-cells = <2>;
265 ranges = <0 0 ff000000 01000000
266 1 0 50000000 00010000
267 2 0 50010000 00010000
268 3 0 50020000 00010000>;
270 // 8-bit DualPort SRAM on LocalPlus Bus CS1
272 compatible = "promess,motionpro-kollmorgen";
274 interrupts = <1 1 0>;
275 interrupt-parent = <&mpc5200_pic>;
278 // 8-bit board CPLD on LocalPlus Bus CS2
280 compatible = "promess,motionpro-cpld";
284 // 8-bit custom Anybus Module on LocalPlus Bus CS3
286 compatible = "promess,motionpro-anybus";
289 pro_module_general@3,0 {
290 compatible = "promess,pro_module_general";
293 pro_module_dio@3,800 {
294 compatible = "promess,pro_module_dio";
298 // 16-bit flash device at LocalPlus Bus CS0
300 compatible = "cfi-flash";
301 reg = <0 0 01000000>;
305 #address-cells = <1>;