diff options
Diffstat (limited to 'arch/powerpc/boot/dts/motionpro.dts')
-rw-r--r-- | arch/powerpc/boot/dts/motionpro.dts | 118 |
1 files changed, 60 insertions, 58 deletions
diff --git a/arch/powerpc/boot/dts/motionpro.dts b/arch/powerpc/boot/dts/motionpro.dts index 2b0dde058f8..9e3c921be16 100644 --- a/arch/powerpc/boot/dts/motionpro.dts +++ b/arch/powerpc/boot/dts/motionpro.dts | |||
@@ -10,6 +10,8 @@ | |||
10 | * option) any later version. | 10 | * option) any later version. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /dts-v1/; | ||
14 | |||
13 | / { | 15 | / { |
14 | model = "promess,motionpro"; | 16 | model = "promess,motionpro"; |
15 | compatible = "promess,motionpro"; | 17 | compatible = "promess,motionpro"; |
@@ -23,10 +25,10 @@ | |||
23 | PowerPC,5200@0 { | 25 | PowerPC,5200@0 { |
24 | device_type = "cpu"; | 26 | device_type = "cpu"; |
25 | reg = <0>; | 27 | reg = <0>; |
26 | d-cache-line-size = <20>; | 28 | d-cache-line-size = <32>; |
27 | i-cache-line-size = <20>; | 29 | i-cache-line-size = <32>; |
28 | d-cache-size = <4000>; // L1, 16K | 30 | d-cache-size = <0x4000>; // L1, 16K |
29 | i-cache-size = <4000>; // L1, 16K | 31 | i-cache-size = <0x4000>; // L1, 16K |
30 | timebase-frequency = <0>; // from bootloader | 32 | timebase-frequency = <0>; // from bootloader |
31 | bus-frequency = <0>; // from bootloader | 33 | bus-frequency = <0>; // from bootloader |
32 | clock-frequency = <0>; // from bootloader | 34 | clock-frequency = <0>; // from bootloader |
@@ -35,21 +37,21 @@ | |||
35 | 37 | ||
36 | memory { | 38 | memory { |
37 | device_type = "memory"; | 39 | device_type = "memory"; |
38 | reg = <00000000 04000000>; // 64MB | 40 | reg = <0x00000000 0x04000000>; // 64MB |
39 | }; | 41 | }; |
40 | 42 | ||
41 | soc5200@f0000000 { | 43 | soc5200@f0000000 { |
42 | #address-cells = <1>; | 44 | #address-cells = <1>; |
43 | #size-cells = <1>; | 45 | #size-cells = <1>; |
44 | compatible = "fsl,mpc5200b-immr"; | 46 | compatible = "fsl,mpc5200b-immr"; |
45 | ranges = <0 f0000000 0000c000>; | 47 | ranges = <0 0xf0000000 0x0000c000>; |
46 | reg = <f0000000 00000100>; | 48 | reg = <0xf0000000 0x00000100>; |
47 | bus-frequency = <0>; // from bootloader | 49 | bus-frequency = <0>; // from bootloader |
48 | system-frequency = <0>; // from bootloader | 50 | system-frequency = <0>; // from bootloader |
49 | 51 | ||
50 | cdm@200 { | 52 | cdm@200 { |
51 | compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; | 53 | compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; |
52 | reg = <200 38>; | 54 | reg = <0x200 0x38>; |
53 | }; | 55 | }; |
54 | 56 | ||
55 | mpc5200_pic: interrupt-controller@500 { | 57 | mpc5200_pic: interrupt-controller@500 { |
@@ -57,12 +59,12 @@ | |||
57 | interrupt-controller; | 59 | interrupt-controller; |
58 | #interrupt-cells = <3>; | 60 | #interrupt-cells = <3>; |
59 | compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; | 61 | compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; |
60 | reg = <500 80>; | 62 | reg = <0x500 0x80>; |
61 | }; | 63 | }; |
62 | 64 | ||
63 | timer@600 { // General Purpose Timer | 65 | timer@600 { // General Purpose Timer |
64 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 66 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
65 | reg = <600 10>; | 67 | reg = <0x600 0x10>; |
66 | interrupts = <1 9 0>; | 68 | interrupts = <1 9 0>; |
67 | interrupt-parent = <&mpc5200_pic>; | 69 | interrupt-parent = <&mpc5200_pic>; |
68 | fsl,has-wdt; | 70 | fsl,has-wdt; |
@@ -70,118 +72,118 @@ | |||
70 | 72 | ||
71 | timer@610 { // General Purpose Timer | 73 | timer@610 { // General Purpose Timer |
72 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 74 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
73 | reg = <610 10>; | 75 | reg = <0x610 0x10>; |
74 | interrupts = <1 a 0>; | 76 | interrupts = <1 10 0>; |
75 | interrupt-parent = <&mpc5200_pic>; | 77 | interrupt-parent = <&mpc5200_pic>; |
76 | }; | 78 | }; |
77 | 79 | ||
78 | timer@620 { // General Purpose Timer | 80 | timer@620 { // General Purpose Timer |
79 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 81 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
80 | reg = <620 10>; | 82 | reg = <0x620 0x10>; |
81 | interrupts = <1 b 0>; | 83 | interrupts = <1 11 0>; |
82 | interrupt-parent = <&mpc5200_pic>; | 84 | interrupt-parent = <&mpc5200_pic>; |
83 | }; | 85 | }; |
84 | 86 | ||
85 | timer@630 { // General Purpose Timer | 87 | timer@630 { // General Purpose Timer |
86 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 88 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
87 | reg = <630 10>; | 89 | reg = <0x630 0x10>; |
88 | interrupts = <1 c 0>; | 90 | interrupts = <1 12 0>; |
89 | interrupt-parent = <&mpc5200_pic>; | 91 | interrupt-parent = <&mpc5200_pic>; |
90 | }; | 92 | }; |
91 | 93 | ||
92 | timer@640 { // General Purpose Timer | 94 | timer@640 { // General Purpose Timer |
93 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 95 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
94 | reg = <640 10>; | 96 | reg = <0x640 0x10>; |
95 | interrupts = <1 d 0>; | 97 | interrupts = <1 13 0>; |
96 | interrupt-parent = <&mpc5200_pic>; | 98 | interrupt-parent = <&mpc5200_pic>; |
97 | }; | 99 | }; |
98 | 100 | ||
99 | timer@650 { // General Purpose Timer | 101 | timer@650 { // General Purpose Timer |
100 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 102 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; |
101 | reg = <650 10>; | 103 | reg = <0x650 0x10>; |
102 | interrupts = <1 e 0>; | 104 | interrupts = <1 14 0>; |
103 | interrupt-parent = <&mpc5200_pic>; | 105 | interrupt-parent = <&mpc5200_pic>; |
104 | }; | 106 | }; |
105 | 107 | ||
106 | motionpro-led@660 { // Motion-PRO status LED | 108 | motionpro-led@660 { // Motion-PRO status LED |
107 | compatible = "promess,motionpro-led"; | 109 | compatible = "promess,motionpro-led"; |
108 | label = "motionpro-statusled"; | 110 | label = "motionpro-statusled"; |
109 | reg = <660 10>; | 111 | reg = <0x660 0x10>; |
110 | interrupts = <1 f 0>; | 112 | interrupts = <1 15 0>; |
111 | interrupt-parent = <&mpc5200_pic>; | 113 | interrupt-parent = <&mpc5200_pic>; |
112 | blink-delay = <64>; // 100 msec | 114 | blink-delay = <100>; // 100 msec |
113 | }; | 115 | }; |
114 | 116 | ||
115 | motionpro-led@670 { // Motion-PRO ready LED | 117 | motionpro-led@670 { // Motion-PRO ready LED |
116 | compatible = "promess,motionpro-led"; | 118 | compatible = "promess,motionpro-led"; |
117 | label = "motionpro-readyled"; | 119 | label = "motionpro-readyled"; |
118 | reg = <670 10>; | 120 | reg = <0x670 0x10>; |
119 | interrupts = <1 10 0>; | 121 | interrupts = <1 16 0>; |
120 | interrupt-parent = <&mpc5200_pic>; | 122 | interrupt-parent = <&mpc5200_pic>; |
121 | }; | 123 | }; |
122 | 124 | ||
123 | rtc@800 { // Real time clock | 125 | rtc@800 { // Real time clock |
124 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; | 126 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; |
125 | reg = <800 100>; | 127 | reg = <0x800 0x100>; |
126 | interrupts = <1 5 0 1 6 0>; | 128 | interrupts = <1 5 0 1 6 0>; |
127 | interrupt-parent = <&mpc5200_pic>; | 129 | interrupt-parent = <&mpc5200_pic>; |
128 | }; | 130 | }; |
129 | 131 | ||
130 | mscan@980 { | 132 | can@980 { |
131 | compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan"; | 133 | compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan"; |
132 | interrupts = <2 12 0>; | 134 | interrupts = <2 18 0>; |
133 | interrupt-parent = <&mpc5200_pic>; | 135 | interrupt-parent = <&mpc5200_pic>; |
134 | reg = <980 80>; | 136 | reg = <0x980 0x80>; |
135 | }; | 137 | }; |
136 | 138 | ||
137 | gpio@b00 { | 139 | gpio@b00 { |
138 | compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; | 140 | compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; |
139 | reg = <b00 40>; | 141 | reg = <0xb00 0x40>; |
140 | interrupts = <1 7 0>; | 142 | interrupts = <1 7 0>; |
141 | interrupt-parent = <&mpc5200_pic>; | 143 | interrupt-parent = <&mpc5200_pic>; |
142 | }; | 144 | }; |
143 | 145 | ||
144 | gpio@c00 { | 146 | gpio@c00 { |
145 | compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; | 147 | compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; |
146 | reg = <c00 40>; | 148 | reg = <0xc00 0x40>; |
147 | interrupts = <1 8 0 0 3 0>; | 149 | interrupts = <1 8 0 0 3 0>; |
148 | interrupt-parent = <&mpc5200_pic>; | 150 | interrupt-parent = <&mpc5200_pic>; |
149 | }; | 151 | }; |
150 | 152 | ||
151 | spi@f00 { | 153 | spi@f00 { |
152 | compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; | 154 | compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; |
153 | reg = <f00 20>; | 155 | reg = <0xf00 0x20>; |
154 | interrupts = <2 d 0 2 e 0>; | 156 | interrupts = <2 13 0 2 14 0>; |
155 | interrupt-parent = <&mpc5200_pic>; | 157 | interrupt-parent = <&mpc5200_pic>; |
156 | }; | 158 | }; |
157 | 159 | ||
158 | usb@1000 { | 160 | usb@1000 { |
159 | compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; | 161 | compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; |
160 | reg = <1000 ff>; | 162 | reg = <0x1000 0xff>; |
161 | interrupts = <2 6 0>; | 163 | interrupts = <2 6 0>; |
162 | interrupt-parent = <&mpc5200_pic>; | 164 | interrupt-parent = <&mpc5200_pic>; |
163 | }; | 165 | }; |
164 | 166 | ||
165 | dma-controller@1200 { | 167 | dma-controller@1200 { |
166 | compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; | 168 | compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; |
167 | reg = <1200 80>; | 169 | reg = <0x1200 0x80>; |
168 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | 170 | 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 | 171 | 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 | 172 | 3 8 0 3 9 0 3 10 0 3 11 0 |
171 | 3 c 0 3 d 0 3 e 0 3 f 0>; | 173 | 3 12 0 3 13 0 3 14 0 3 15 0>; |
172 | interrupt-parent = <&mpc5200_pic>; | 174 | interrupt-parent = <&mpc5200_pic>; |
173 | }; | 175 | }; |
174 | 176 | ||
175 | xlb@1f00 { | 177 | xlb@1f00 { |
176 | compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; | 178 | compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; |
177 | reg = <1f00 100>; | 179 | reg = <0x1f00 0x100>; |
178 | }; | 180 | }; |
179 | 181 | ||
180 | serial@2000 { // PSC1 | 182 | serial@2000 { // PSC1 |
181 | device_type = "serial"; | 183 | device_type = "serial"; |
182 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | 184 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
183 | port-number = <0>; // Logical port assignment | 185 | port-number = <0>; // Logical port assignment |
184 | reg = <2000 100>; | 186 | reg = <0x2000 0x100>; |
185 | interrupts = <2 1 0>; | 187 | interrupts = <2 1 0>; |
186 | interrupt-parent = <&mpc5200_pic>; | 188 | interrupt-parent = <&mpc5200_pic>; |
187 | }; | 189 | }; |
@@ -190,7 +192,7 @@ | |||
190 | spi@2200 { // PSC2 | 192 | spi@2200 { // PSC2 |
191 | compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; | 193 | compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; |
192 | cell-index = <1>; | 194 | cell-index = <1>; |
193 | reg = <2200 100>; | 195 | reg = <0x2200 0x100>; |
194 | interrupts = <2 2 0>; | 196 | interrupts = <2 2 0>; |
195 | interrupt-parent = <&mpc5200_pic>; | 197 | interrupt-parent = <&mpc5200_pic>; |
196 | }; | 198 | }; |
@@ -200,15 +202,15 @@ | |||
200 | device_type = "serial"; | 202 | device_type = "serial"; |
201 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | 203 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
202 | port-number = <4>; // Logical port assignment | 204 | port-number = <4>; // Logical port assignment |
203 | reg = <2800 100>; | 205 | reg = <0x2800 0x100>; |
204 | interrupts = <2 c 0>; | 206 | interrupts = <2 12 0>; |
205 | interrupt-parent = <&mpc5200_pic>; | 207 | interrupt-parent = <&mpc5200_pic>; |
206 | }; | 208 | }; |
207 | 209 | ||
208 | ethernet@3000 { | 210 | ethernet@3000 { |
209 | device_type = "network"; | 211 | device_type = "network"; |
210 | compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; | 212 | compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; |
211 | reg = <3000 400>; | 213 | reg = <0x3000 0x400>; |
212 | local-mac-address = [ 00 00 00 00 00 00 ]; | 214 | local-mac-address = [ 00 00 00 00 00 00 ]; |
213 | interrupts = <2 5 0>; | 215 | interrupts = <2 5 0>; |
214 | interrupt-parent = <&mpc5200_pic>; | 216 | interrupt-parent = <&mpc5200_pic>; |
@@ -219,7 +221,7 @@ | |||
219 | #address-cells = <1>; | 221 | #address-cells = <1>; |
220 | #size-cells = <0>; | 222 | #size-cells = <0>; |
221 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; | 223 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; |
222 | reg = <3000 400>; // fec range, since we need to setup fec interrupts | 224 | reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts |
223 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. | 225 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. |
224 | interrupt-parent = <&mpc5200_pic>; | 226 | interrupt-parent = <&mpc5200_pic>; |
225 | 227 | ||
@@ -231,7 +233,7 @@ | |||
231 | 233 | ||
232 | ata@3a00 { | 234 | ata@3a00 { |
233 | compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; | 235 | compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; |
234 | reg = <3a00 100>; | 236 | reg = <0x3a00 0x100>; |
235 | interrupts = <2 7 0>; | 237 | interrupts = <2 7 0>; |
236 | interrupt-parent = <&mpc5200_pic>; | 238 | interrupt-parent = <&mpc5200_pic>; |
237 | }; | 239 | }; |
@@ -240,21 +242,21 @@ | |||
240 | #address-cells = <1>; | 242 | #address-cells = <1>; |
241 | #size-cells = <0>; | 243 | #size-cells = <0>; |
242 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 244 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
243 | reg = <3d40 40>; | 245 | reg = <0x3d40 0x40>; |
244 | interrupts = <2 10 0>; | 246 | interrupts = <2 16 0>; |
245 | interrupt-parent = <&mpc5200_pic>; | 247 | interrupt-parent = <&mpc5200_pic>; |
246 | fsl5200-clocking; | 248 | fsl5200-clocking; |
247 | 249 | ||
248 | rtc@68 { | 250 | rtc@68 { |
249 | device_type = "rtc"; | 251 | device_type = "rtc"; |
250 | compatible = "dallas,ds1339"; | 252 | compatible = "dallas,ds1339"; |
251 | reg = <68>; | 253 | reg = <0x68>; |
252 | }; | 254 | }; |
253 | }; | 255 | }; |
254 | 256 | ||
255 | sram@8000 { | 257 | sram@8000 { |
256 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; | 258 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; |
257 | reg = <8000 4000>; | 259 | reg = <0x8000 0x4000>; |
258 | }; | 260 | }; |
259 | }; | 261 | }; |
260 | 262 | ||
@@ -262,15 +264,15 @@ | |||
262 | compatible = "fsl,lpb"; | 264 | compatible = "fsl,lpb"; |
263 | #address-cells = <2>; | 265 | #address-cells = <2>; |
264 | #size-cells = <1>; | 266 | #size-cells = <1>; |
265 | ranges = <0 0 ff000000 01000000 | 267 | ranges = <0 0 0xff000000 0x01000000 |
266 | 1 0 50000000 00010000 | 268 | 1 0 0x50000000 0x00010000 |
267 | 2 0 50010000 00010000 | 269 | 2 0 0x50010000 0x00010000 |
268 | 3 0 50020000 00010000>; | 270 | 3 0 0x50020000 0x00010000>; |
269 | 271 | ||
270 | // 8-bit DualPort SRAM on LocalPlus Bus CS1 | 272 | // 8-bit DualPort SRAM on LocalPlus Bus CS1 |
271 | kollmorgen@1,0 { | 273 | kollmorgen@1,0 { |
272 | compatible = "promess,motionpro-kollmorgen"; | 274 | compatible = "promess,motionpro-kollmorgen"; |
273 | reg = <1 0 10000>; | 275 | reg = <1 0 0x10000>; |
274 | interrupts = <1 1 0>; | 276 | interrupts = <1 1 0>; |
275 | interrupt-parent = <&mpc5200_pic>; | 277 | interrupt-parent = <&mpc5200_pic>; |
276 | }; | 278 | }; |
@@ -278,13 +280,13 @@ | |||
278 | // 8-bit board CPLD on LocalPlus Bus CS2 | 280 | // 8-bit board CPLD on LocalPlus Bus CS2 |
279 | cpld@2,0 { | 281 | cpld@2,0 { |
280 | compatible = "promess,motionpro-cpld"; | 282 | compatible = "promess,motionpro-cpld"; |
281 | reg = <2 0 10000>; | 283 | reg = <2 0 0x10000>; |
282 | }; | 284 | }; |
283 | 285 | ||
284 | // 8-bit custom Anybus Module on LocalPlus Bus CS3 | 286 | // 8-bit custom Anybus Module on LocalPlus Bus CS3 |
285 | anybus@3,0 { | 287 | anybus@3,0 { |
286 | compatible = "promess,motionpro-anybus"; | 288 | compatible = "promess,motionpro-anybus"; |
287 | reg = <3 0 10000>; | 289 | reg = <3 0 0x10000>; |
288 | }; | 290 | }; |
289 | pro_module_general@3,0 { | 291 | pro_module_general@3,0 { |
290 | compatible = "promess,pro_module_general"; | 292 | compatible = "promess,pro_module_general"; |
@@ -292,13 +294,13 @@ | |||
292 | }; | 294 | }; |
293 | pro_module_dio@3,800 { | 295 | pro_module_dio@3,800 { |
294 | compatible = "promess,pro_module_dio"; | 296 | compatible = "promess,pro_module_dio"; |
295 | reg = <3 800 2>; | 297 | reg = <3 0x800 2>; |
296 | }; | 298 | }; |
297 | 299 | ||
298 | // 16-bit flash device at LocalPlus Bus CS0 | 300 | // 16-bit flash device at LocalPlus Bus CS0 |
299 | flash@0,0 { | 301 | flash@0,0 { |
300 | compatible = "cfi-flash"; | 302 | compatible = "cfi-flash"; |
301 | reg = <0 0 01000000>; | 303 | reg = <0 0 0x01000000>; |
302 | bank-width = <2>; | 304 | bank-width = <2>; |
303 | device-width = <2>; | 305 | device-width = <2>; |
304 | #size-cells = <1>; | 306 | #size-cells = <1>; |