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.
16 model = "promess,motionpro";
17 compatible = "promess,motionpro";
28 d-cache-line-size = <32>;
29 i-cache-line-size = <32>;
30 d-cache-size = <0x4000>; // L1, 16K
31 i-cache-size = <0x4000>; // L1, 16K
32 timebase-frequency = <0>; // from bootloader
33 bus-frequency = <0>; // from bootloader
34 clock-frequency = <0>; // from bootloader
39 device_type = "memory";
40 reg = <0x00000000 0x04000000>; // 64MB
46 compatible = "fsl,mpc5200b-immr";
47 ranges = <0 0xf0000000 0x0000c000>;
48 reg = <0xf0000000 0x00000100>;
49 bus-frequency = <0>; // from bootloader
50 system-frequency = <0>; // from bootloader
53 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
57 mpc5200_pic: interrupt-controller@500 {
58 // 5200 interrupts are encoded into two levels;
60 #interrupt-cells = <3>;
61 compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
65 timer@600 { // General Purpose Timer
66 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
69 interrupt-parent = <&mpc5200_pic>;
73 timer@610 { // General Purpose Timer
74 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
76 interrupts = <1 10 0>;
77 interrupt-parent = <&mpc5200_pic>;
80 timer@620 { // General Purpose Timer
81 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
83 interrupts = <1 11 0>;
84 interrupt-parent = <&mpc5200_pic>;
87 timer@630 { // General Purpose Timer
88 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
90 interrupts = <1 12 0>;
91 interrupt-parent = <&mpc5200_pic>;
94 timer@640 { // General Purpose Timer
95 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
97 interrupts = <1 13 0>;
98 interrupt-parent = <&mpc5200_pic>;
101 timer@650 { // General Purpose Timer
102 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
104 interrupts = <1 14 0>;
105 interrupt-parent = <&mpc5200_pic>;
108 motionpro-led@660 { // Motion-PRO status LED
109 compatible = "promess,motionpro-led";
110 label = "motionpro-statusled";
112 interrupts = <1 15 0>;
113 interrupt-parent = <&mpc5200_pic>;
114 blink-delay = <100>; // 100 msec
117 motionpro-led@670 { // Motion-PRO ready LED
118 compatible = "promess,motionpro-led";
119 label = "motionpro-readyled";
121 interrupts = <1 16 0>;
122 interrupt-parent = <&mpc5200_pic>;
125 rtc@800 { // Real time clock
126 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
128 interrupts = <1 5 0 1 6 0>;
129 interrupt-parent = <&mpc5200_pic>;
133 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
134 interrupts = <2 18 0>;
135 interrupt-parent = <&mpc5200_pic>;
140 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
142 interrupts = <1 7 0>;
143 interrupt-parent = <&mpc5200_pic>;
147 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
149 interrupts = <1 8 0 0 3 0>;
150 interrupt-parent = <&mpc5200_pic>;
154 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
156 interrupts = <2 13 0 2 14 0>;
157 interrupt-parent = <&mpc5200_pic>;
161 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
163 interrupts = <2 6 0>;
164 interrupt-parent = <&mpc5200_pic>;
167 dma-controller@1200 {
168 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
170 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
171 3 4 0 3 5 0 3 6 0 3 7 0
172 3 8 0 3 9 0 3 10 0 3 11 0
173 3 12 0 3 13 0 3 14 0 3 15 0>;
174 interrupt-parent = <&mpc5200_pic>;
178 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
179 reg = <0x1f00 0x100>;
182 serial@2000 { // PSC1
183 device_type = "serial";
184 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
185 port-number = <0>; // Logical port assignment
186 reg = <0x2000 0x100>;
187 interrupts = <2 1 0>;
188 interrupt-parent = <&mpc5200_pic>;
191 // PSC2 in spi master mode
193 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
195 reg = <0x2200 0x100>;
196 interrupts = <2 2 0>;
197 interrupt-parent = <&mpc5200_pic>;
201 serial@2800 { // PSC5
202 device_type = "serial";
203 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
204 port-number = <4>; // Logical port assignment
205 reg = <0x2800 0x100>;
206 interrupts = <2 12 0>;
207 interrupt-parent = <&mpc5200_pic>;
211 device_type = "network";
212 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
213 reg = <0x3000 0x400>;
214 local-mac-address = [ 00 00 00 00 00 00 ];
215 interrupts = <2 5 0>;
216 interrupt-parent = <&mpc5200_pic>;
217 phy-handle = <&phy0>;
221 #address-cells = <1>;
223 compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
224 reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
225 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
226 interrupt-parent = <&mpc5200_pic>;
228 phy0: ethernet-phy@2 {
229 device_type = "ethernet-phy";
235 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
236 reg = <0x3a00 0x100>;
237 interrupts = <2 7 0>;
238 interrupt-parent = <&mpc5200_pic>;
242 #address-cells = <1>;
244 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
246 interrupts = <2 16 0>;
247 interrupt-parent = <&mpc5200_pic>;
252 compatible = "dallas,ds1339";
258 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
259 reg = <0x8000 0x4000>;
264 compatible = "fsl,lpb";
265 #address-cells = <2>;
267 ranges = <0 0 0xff000000 0x01000000
268 1 0 0x50000000 0x00010000
269 2 0 0x50010000 0x00010000
270 3 0 0x50020000 0x00010000>;
272 // 8-bit DualPort SRAM on LocalPlus Bus CS1
274 compatible = "promess,motionpro-kollmorgen";
276 interrupts = <1 1 0>;
277 interrupt-parent = <&mpc5200_pic>;
280 // 8-bit board CPLD on LocalPlus Bus CS2
282 compatible = "promess,motionpro-cpld";
286 // 8-bit custom Anybus Module on LocalPlus Bus CS3
288 compatible = "promess,motionpro-anybus";
291 pro_module_general@3,0 {
292 compatible = "promess,pro_module_general";
295 pro_module_dio@3,800 {
296 compatible = "promess,pro_module_dio";
300 // 16-bit flash device at LocalPlus Bus CS0
302 compatible = "cfi-flash";
303 reg = <0 0 0x01000000>;
307 #address-cells = <1>;