Commit | Line | Data |
---|---|---|
467f1cf5 NF |
1 | /* |
2 | * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC | |
3 | * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, | |
4 | * AT91SAM9X25, AT91SAM9X35 SoC | |
5 | * | |
6 | * Copyright (C) 2012 Atmel, | |
7 | * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> | |
8 | * | |
9 | * Licensed under GPLv2 or later. | |
10 | */ | |
11 | ||
12 | /include/ "skeleton.dtsi" | |
13 | ||
14 | / { | |
15 | model = "Atmel AT91SAM9x5 family SoC"; | |
16 | compatible = "atmel,at91sam9x5"; | |
17 | interrupt-parent = <&aic>; | |
18 | ||
19 | aliases { | |
20 | serial0 = &dbgu; | |
21 | serial1 = &usart0; | |
22 | serial2 = &usart1; | |
23 | serial3 = &usart2; | |
24 | gpio0 = &pioA; | |
25 | gpio1 = &pioB; | |
26 | gpio2 = &pioC; | |
27 | gpio3 = &pioD; | |
28 | tcb0 = &tcb0; | |
29 | tcb1 = &tcb1; | |
05dcd361 LD |
30 | i2c0 = &i2c0; |
31 | i2c1 = &i2c1; | |
32 | i2c2 = &i2c2; | |
099343c6 | 33 | ssc0 = &ssc0; |
467f1cf5 NF |
34 | }; |
35 | cpus { | |
36 | cpu@0 { | |
37 | compatible = "arm,arm926ejs"; | |
38 | }; | |
39 | }; | |
40 | ||
dcce6ce8 | 41 | memory { |
467f1cf5 NF |
42 | reg = <0x20000000 0x10000000>; |
43 | }; | |
44 | ||
45 | ahb { | |
46 | compatible = "simple-bus"; | |
47 | #address-cells = <1>; | |
48 | #size-cells = <1>; | |
49 | ranges; | |
50 | ||
51 | apb { | |
52 | compatible = "simple-bus"; | |
53 | #address-cells = <1>; | |
54 | #size-cells = <1>; | |
55 | ranges; | |
56 | ||
57 | aic: interrupt-controller@fffff000 { | |
f8a073ee | 58 | #interrupt-cells = <3>; |
467f1cf5 NF |
59 | compatible = "atmel,at91rm9200-aic"; |
60 | interrupt-controller; | |
467f1cf5 | 61 | reg = <0xfffff000 0x200>; |
c6573943 | 62 | atmel,external-irqs = <31>; |
467f1cf5 NF |
63 | }; |
64 | ||
a7776ec6 JCPV |
65 | ramc0: ramc@ffffe800 { |
66 | compatible = "atmel,at91sam9g45-ddramc"; | |
67 | reg = <0xffffe800 0x200>; | |
68 | }; | |
69 | ||
eb5e76ff JCPV |
70 | pmc: pmc@fffffc00 { |
71 | compatible = "atmel,at91rm9200-pmc"; | |
72 | reg = <0xfffffc00 0x100>; | |
73 | }; | |
74 | ||
c8082d34 JCPV |
75 | rstc@fffffe00 { |
76 | compatible = "atmel,at91sam9g45-rstc"; | |
77 | reg = <0xfffffe00 0x10>; | |
78 | }; | |
79 | ||
82015c4e JCPV |
80 | shdwc@fffffe10 { |
81 | compatible = "atmel,at91sam9x5-shdwc"; | |
82 | reg = <0xfffffe10 0x10>; | |
83 | }; | |
84 | ||
467f1cf5 NF |
85 | pit: timer@fffffe30 { |
86 | compatible = "atmel,at91sam9260-pit"; | |
87 | reg = <0xfffffe30 0xf>; | |
f8a073ee | 88 | interrupts = <1 4 7>; |
467f1cf5 NF |
89 | }; |
90 | ||
91 | tcb0: timer@f8008000 { | |
92 | compatible = "atmel,at91sam9x5-tcb"; | |
93 | reg = <0xf8008000 0x100>; | |
f8a073ee | 94 | interrupts = <17 4 0>; |
467f1cf5 NF |
95 | }; |
96 | ||
97 | tcb1: timer@f800c000 { | |
98 | compatible = "atmel,at91sam9x5-tcb"; | |
99 | reg = <0xf800c000 0x100>; | |
f8a073ee | 100 | interrupts = <17 4 0>; |
467f1cf5 NF |
101 | }; |
102 | ||
103 | dma0: dma-controller@ffffec00 { | |
104 | compatible = "atmel,at91sam9g45-dma"; | |
105 | reg = <0xffffec00 0x200>; | |
f8a073ee | 106 | interrupts = <20 4 0>; |
467f1cf5 NF |
107 | }; |
108 | ||
109 | dma1: dma-controller@ffffee00 { | |
110 | compatible = "atmel,at91sam9g45-dma"; | |
111 | reg = <0xffffee00 0x200>; | |
f8a073ee | 112 | interrupts = <21 4 0>; |
467f1cf5 NF |
113 | }; |
114 | ||
ec6754a7 | 115 | pinctrl@fffff400 { |
e4541ff2 JCPV |
116 | #address-cells = <1>; |
117 | #size-cells = <1>; | |
5314ec8e | 118 | compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus"; |
e4541ff2 JCPV |
119 | ranges = <0xfffff400 0xfffff400 0x800>; |
120 | ||
5314ec8e | 121 | /* shared pinctrl settings */ |
ec6754a7 JCPV |
122 | dbgu { |
123 | pinctrl_dbgu: dbgu-0 { | |
124 | atmel,pins = | |
125 | <0 9 0x1 0x0 /* PA9 periph A */ | |
126 | 0 10 0x1 0x1>; /* PA10 periph A with pullup */ | |
127 | }; | |
128 | }; | |
129 | ||
9e3129e9 JCPV |
130 | usart0 { |
131 | pinctrl_usart0: usart0-0 { | |
ec6754a7 JCPV |
132 | atmel,pins = |
133 | <0 0 0x1 0x1 /* PA0 periph A with pullup */ | |
134 | 0 1 0x1 0x0>; /* PA1 periph A */ | |
135 | }; | |
136 | ||
c58c0c5a | 137 | pinctrl_usart0_rts: usart0_rts-0 { |
ec6754a7 | 138 | atmel,pins = |
c58c0c5a JCPV |
139 | <0 2 0x1 0x0>; /* PA2 periph A */ |
140 | }; | |
141 | ||
142 | pinctrl_usart0_cts: usart0_cts-0 { | |
143 | atmel,pins = | |
144 | <0 3 0x1 0x0>; /* PA3 periph A */ | |
ec6754a7 | 145 | }; |
1bab02ec RG |
146 | |
147 | pinctrl_usart0_sck: usart0_sck-0 { | |
148 | atmel,pins = | |
149 | <0 4 0x1 0x0>; /* PA4 periph A */ | |
150 | }; | |
ec6754a7 JCPV |
151 | }; |
152 | ||
9e3129e9 JCPV |
153 | usart1 { |
154 | pinctrl_usart1: usart1-0 { | |
ec6754a7 JCPV |
155 | atmel,pins = |
156 | <0 5 0x1 0x1 /* PA5 periph A with pullup */ | |
157 | 0 6 0x1 0x0>; /* PA6 periph A */ | |
158 | }; | |
159 | ||
c58c0c5a JCPV |
160 | pinctrl_usart1_rts: usart1_rts-0 { |
161 | atmel,pins = | |
c89cec3a | 162 | <2 27 0x3 0x0>; /* PC27 periph C */ |
c58c0c5a JCPV |
163 | }; |
164 | ||
165 | pinctrl_usart1_cts: usart1_cts-0 { | |
ec6754a7 | 166 | atmel,pins = |
c89cec3a | 167 | <2 28 0x3 0x0>; /* PC28 periph C */ |
ec6754a7 | 168 | }; |
1bab02ec RG |
169 | |
170 | pinctrl_usart1_sck: usart1_sck-0 { | |
171 | atmel,pins = | |
172 | <2 28 0x3 0x0>; /* PC29 periph C */ | |
173 | }; | |
ec6754a7 JCPV |
174 | }; |
175 | ||
9e3129e9 JCPV |
176 | usart2 { |
177 | pinctrl_usart2: usart2-0 { | |
ec6754a7 JCPV |
178 | atmel,pins = |
179 | <0 7 0x1 0x1 /* PA7 periph A with pullup */ | |
180 | 0 8 0x1 0x0>; /* PA8 periph A */ | |
181 | }; | |
182 | ||
c58c0c5a | 183 | pinctrl_uart2_rts: uart2_rts-0 { |
ec6754a7 | 184 | atmel,pins = |
c89cec3a | 185 | <1 0 0x2 0x0>; /* PB0 periph B */ |
c58c0c5a JCPV |
186 | }; |
187 | ||
188 | pinctrl_uart2_cts: uart2_cts-0 { | |
189 | atmel,pins = | |
c89cec3a | 190 | <1 1 0x2 0x0>; /* PB1 periph B */ |
ec6754a7 | 191 | }; |
1bab02ec RG |
192 | |
193 | pinctrl_usart2_sck: usart2_sck-0 { | |
194 | atmel,pins = | |
195 | <1 2 0x2 0x0>; /* PB2 periph B */ | |
196 | }; | |
ec6754a7 JCPV |
197 | }; |
198 | ||
9e3129e9 | 199 | usart3 { |
65a0fe04 | 200 | pinctrl_usart3: usart3-0 { |
ec6754a7 | 201 | atmel,pins = |
7d4cfece | 202 | <2 22 0x2 0x1 /* PC22 periph B with pullup */ |
c89cec3a | 203 | 2 23 0x2 0x0>; /* PC23 periph B */ |
ec6754a7 JCPV |
204 | }; |
205 | ||
c58c0c5a JCPV |
206 | pinctrl_usart3_rts: usart3_rts-0 { |
207 | atmel,pins = | |
c89cec3a | 208 | <2 24 0x2 0x0>; /* PC24 periph B */ |
c58c0c5a JCPV |
209 | }; |
210 | ||
211 | pinctrl_usart3_cts: usart3_cts-0 { | |
ec6754a7 | 212 | atmel,pins = |
c89cec3a | 213 | <2 25 0x2 0x0>; /* PC25 periph B */ |
ec6754a7 | 214 | }; |
1bab02ec RG |
215 | |
216 | pinctrl_usart3_sck: usart3_sck-0 { | |
217 | atmel,pins = | |
218 | <2 26 0x2 0x0>; /* PC26 periph B */ | |
219 | }; | |
ec6754a7 JCPV |
220 | }; |
221 | ||
9e3129e9 JCPV |
222 | uart0 { |
223 | pinctrl_uart0: uart0-0 { | |
ec6754a7 | 224 | atmel,pins = |
c89cec3a RG |
225 | <2 8 0x3 0x0 /* PC8 periph C */ |
226 | 2 9 0x3 0x1>; /* PC9 periph C with pullup */ | |
ec6754a7 JCPV |
227 | }; |
228 | }; | |
229 | ||
9e3129e9 JCPV |
230 | uart1 { |
231 | pinctrl_uart1: uart1-0 { | |
ec6754a7 | 232 | atmel,pins = |
c89cec3a RG |
233 | <2 16 0x3 0x0 /* PC16 periph C */ |
234 | 2 17 0x3 0x1>; /* PC17 periph C with pullup */ | |
ec6754a7 JCPV |
235 | }; |
236 | }; | |
5314ec8e | 237 | |
7a38d450 JCPV |
238 | nand { |
239 | pinctrl_nand: nand-0 { | |
240 | atmel,pins = | |
241 | <3 4 0x0 0x1 /* PD5 gpio RDY pin pull_up */ | |
242 | 3 5 0x0 0x1>; /* PD4 gpio enable pin pull_up */ | |
243 | }; | |
244 | }; | |
245 | ||
d9b4fe83 JCPV |
246 | macb0 { |
247 | pinctrl_macb0_rmii: macb0_rmii-0 { | |
248 | atmel,pins = | |
249 | <1 0 0x1 0x0 /* PB0 periph A */ | |
250 | 1 1 0x1 0x0 /* PB1 periph A */ | |
251 | 1 2 0x1 0x0 /* PB2 periph A */ | |
252 | 1 3 0x1 0x0 /* PB3 periph A */ | |
253 | 1 4 0x1 0x0 /* PB4 periph A */ | |
254 | 1 5 0x1 0x0 /* PB5 periph A */ | |
255 | 1 6 0x1 0x0 /* PB6 periph A */ | |
256 | 1 7 0x1 0x0 /* PB7 periph A */ | |
257 | 1 9 0x1 0x0 /* PB9 periph A */ | |
258 | 1 10 0x1 0x0>; /* PB10 periph A */ | |
259 | }; | |
260 | ||
261 | pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 { | |
262 | atmel,pins = | |
8461c2f6 DG |
263 | <1 8 0x1 0x0 /* PB8 periph A */ |
264 | 1 11 0x1 0x0 /* PB11 periph A */ | |
265 | 1 12 0x1 0x0 /* PB12 periph A */ | |
266 | 1 13 0x1 0x0 /* PB13 periph A */ | |
267 | 1 14 0x1 0x0 /* PB14 periph A */ | |
268 | 1 15 0x1 0x0 /* PB15 periph A */ | |
269 | 1 16 0x1 0x0 /* PB16 periph A */ | |
270 | 1 17 0x1 0x0>; /* PB17 periph A */ | |
d9b4fe83 JCPV |
271 | }; |
272 | }; | |
273 | ||
d4fe9ac7 JCPV |
274 | mmc0 { |
275 | pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 { | |
276 | atmel,pins = | |
277 | <0 17 0x1 0x0 /* PA17 periph A */ | |
278 | 0 16 0x1 0x1 /* PA16 periph A with pullup */ | |
279 | 0 15 0x1 0x1>; /* PA15 periph A with pullup */ | |
280 | }; | |
281 | ||
282 | pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 { | |
283 | atmel,pins = | |
284 | <0 18 0x1 0x1 /* PA18 periph A with pullup */ | |
285 | 0 19 0x1 0x1 /* PA19 periph A with pullup */ | |
286 | 0 20 0x1 0x1>; /* PA20 periph A with pullup */ | |
287 | }; | |
288 | }; | |
289 | ||
290 | mmc1 { | |
291 | pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 { | |
292 | atmel,pins = | |
293 | <0 13 0x2 0x0 /* PA13 periph B */ | |
294 | 0 12 0x2 0x1 /* PA12 periph B with pullup */ | |
295 | 0 11 0x2 0x1>; /* PA11 periph B with pullup */ | |
296 | }; | |
297 | ||
298 | pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 { | |
299 | atmel,pins = | |
300 | <0 2 0x2 0x1 /* PA2 periph B with pullup */ | |
301 | 0 3 0x2 0x1 /* PA3 periph B with pullup */ | |
302 | 0 4 0x2 0x1>; /* PA4 periph B with pullup */ | |
303 | }; | |
304 | }; | |
305 | ||
544ae6b2 BS |
306 | ssc0 { |
307 | pinctrl_ssc0_tx: ssc0_tx-0 { | |
308 | atmel,pins = | |
309 | <0 24 0x2 0x0 /* PA24 periph B */ | |
310 | 0 25 0x2 0x0 /* PA25 periph B */ | |
311 | 0 26 0x2 0x0>; /* PA26 periph B */ | |
312 | }; | |
313 | ||
314 | pinctrl_ssc0_rx: ssc0_rx-0 { | |
315 | atmel,pins = | |
316 | <0 27 0x2 0x0 /* PA27 periph B */ | |
317 | 0 28 0x2 0x0 /* PA28 periph B */ | |
318 | 0 29 0x2 0x0>; /* PA29 periph B */ | |
319 | }; | |
320 | }; | |
321 | ||
e9a72ee8 RG |
322 | i2c0 { |
323 | pinctrl_i2c0: i2c0-0 { | |
324 | atmel,pins = | |
325 | <0 30 0x1 0x0 /* PA30 periph A I2C0 data */ | |
326 | 0 31 0x1 0x0>; /* PA31 periph A I2C0 clock */ | |
327 | }; | |
328 | }; | |
329 | ||
330 | i2c1 { | |
331 | pinctrl_i2c1: i2c1-0 { | |
332 | atmel,pins = | |
333 | <2 0 0x3 0x0 /* PC0 periph C I2C1 data */ | |
334 | 2 1 0x3 0x0>; /* PC1 periph C I2C1 clock */ | |
335 | }; | |
336 | }; | |
337 | ||
338 | i2c2 { | |
339 | pinctrl_i2c2: i2c2-0 { | |
340 | atmel,pins = | |
341 | <1 4 0x2 0x0 /* PB4 periph B I2C2 data */ | |
342 | 1 5 0x2 0x0>; /* PB5 periph B I2C2 clock */ | |
343 | }; | |
344 | }; | |
345 | ||
e4541ff2 JCPV |
346 | pioA: gpio@fffff400 { |
347 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; | |
348 | reg = <0xfffff400 0x200>; | |
349 | interrupts = <2 4 1>; | |
350 | #gpio-cells = <2>; | |
351 | gpio-controller; | |
352 | interrupt-controller; | |
353 | #interrupt-cells = <2>; | |
354 | }; | |
355 | ||
356 | pioB: gpio@fffff600 { | |
357 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; | |
358 | reg = <0xfffff600 0x200>; | |
359 | interrupts = <2 4 1>; | |
360 | #gpio-cells = <2>; | |
361 | gpio-controller; | |
fc33ff43 | 362 | #gpio-lines = <19>; |
e4541ff2 JCPV |
363 | interrupt-controller; |
364 | #interrupt-cells = <2>; | |
365 | }; | |
366 | ||
367 | pioC: gpio@fffff800 { | |
368 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; | |
369 | reg = <0xfffff800 0x200>; | |
370 | interrupts = <3 4 1>; | |
371 | #gpio-cells = <2>; | |
372 | gpio-controller; | |
373 | interrupt-controller; | |
374 | #interrupt-cells = <2>; | |
375 | }; | |
376 | ||
377 | pioD: gpio@fffffa00 { | |
378 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; | |
379 | reg = <0xfffffa00 0x200>; | |
380 | interrupts = <3 4 1>; | |
381 | #gpio-cells = <2>; | |
382 | gpio-controller; | |
fc33ff43 | 383 | #gpio-lines = <22>; |
e4541ff2 JCPV |
384 | interrupt-controller; |
385 | #interrupt-cells = <2>; | |
386 | }; | |
467f1cf5 NF |
387 | }; |
388 | ||
544ae6b2 BS |
389 | ssc0: ssc@f0010000 { |
390 | compatible = "atmel,at91sam9g45-ssc"; | |
391 | reg = <0xf0010000 0x4000>; | |
392 | interrupts = <28 4 5>; | |
393 | pinctrl-names = "default"; | |
394 | pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; | |
395 | status = "disabled"; | |
396 | }; | |
397 | ||
9873137a LD |
398 | mmc0: mmc@f0008000 { |
399 | compatible = "atmel,hsmci"; | |
400 | reg = <0xf0008000 0x600>; | |
401 | interrupts = <12 4 0>; | |
402 | #address-cells = <1>; | |
403 | #size-cells = <0>; | |
404 | status = "disabled"; | |
405 | }; | |
406 | ||
407 | mmc1: mmc@f000c000 { | |
408 | compatible = "atmel,hsmci"; | |
409 | reg = <0xf000c000 0x600>; | |
410 | interrupts = <26 4 0>; | |
411 | #address-cells = <1>; | |
412 | #size-cells = <0>; | |
413 | status = "disabled"; | |
414 | }; | |
415 | ||
467f1cf5 NF |
416 | dbgu: serial@fffff200 { |
417 | compatible = "atmel,at91sam9260-usart"; | |
418 | reg = <0xfffff200 0x200>; | |
f8a073ee | 419 | interrupts = <1 4 7>; |
ec6754a7 JCPV |
420 | pinctrl-names = "default"; |
421 | pinctrl-0 = <&pinctrl_dbgu>; | |
467f1cf5 NF |
422 | status = "disabled"; |
423 | }; | |
424 | ||
425 | usart0: serial@f801c000 { | |
426 | compatible = "atmel,at91sam9260-usart"; | |
427 | reg = <0xf801c000 0x200>; | |
f8a073ee | 428 | interrupts = <5 4 5>; |
ec6754a7 | 429 | pinctrl-names = "default"; |
9e3129e9 | 430 | pinctrl-0 = <&pinctrl_usart0>; |
467f1cf5 NF |
431 | status = "disabled"; |
432 | }; | |
433 | ||
434 | usart1: serial@f8020000 { | |
435 | compatible = "atmel,at91sam9260-usart"; | |
436 | reg = <0xf8020000 0x200>; | |
f8a073ee | 437 | interrupts = <6 4 5>; |
ec6754a7 | 438 | pinctrl-names = "default"; |
9e3129e9 | 439 | pinctrl-0 = <&pinctrl_usart1>; |
467f1cf5 NF |
440 | status = "disabled"; |
441 | }; | |
442 | ||
443 | usart2: serial@f8024000 { | |
444 | compatible = "atmel,at91sam9260-usart"; | |
445 | reg = <0xf8024000 0x200>; | |
f8a073ee | 446 | interrupts = <7 4 5>; |
ec6754a7 | 447 | pinctrl-names = "default"; |
9e3129e9 | 448 | pinctrl-0 = <&pinctrl_usart2>; |
467f1cf5 NF |
449 | status = "disabled"; |
450 | }; | |
451 | ||
452 | macb0: ethernet@f802c000 { | |
453 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; | |
454 | reg = <0xf802c000 0x100>; | |
f8a073ee | 455 | interrupts = <24 4 3>; |
d9b4fe83 JCPV |
456 | pinctrl-names = "default"; |
457 | pinctrl-0 = <&pinctrl_macb0_rmii>; | |
467f1cf5 NF |
458 | status = "disabled"; |
459 | }; | |
460 | ||
461 | macb1: ethernet@f8030000 { | |
462 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; | |
463 | reg = <0xf8030000 0x100>; | |
f8a073ee | 464 | interrupts = <27 4 3>; |
467f1cf5 NF |
465 | status = "disabled"; |
466 | }; | |
d029f371 | 467 | |
05dcd361 LD |
468 | i2c0: i2c@f8010000 { |
469 | compatible = "atmel,at91sam9x5-i2c"; | |
470 | reg = <0xf8010000 0x100>; | |
471 | interrupts = <9 4 6>; | |
472 | #address-cells = <1>; | |
473 | #size-cells = <0>; | |
e9a72ee8 RG |
474 | pinctrl-names = "default"; |
475 | pinctrl-0 = <&pinctrl_i2c0>; | |
05dcd361 LD |
476 | status = "disabled"; |
477 | }; | |
478 | ||
479 | i2c1: i2c@f8014000 { | |
480 | compatible = "atmel,at91sam9x5-i2c"; | |
481 | reg = <0xf8014000 0x100>; | |
482 | interrupts = <10 4 6>; | |
483 | #address-cells = <1>; | |
484 | #size-cells = <0>; | |
e9a72ee8 RG |
485 | pinctrl-names = "default"; |
486 | pinctrl-0 = <&pinctrl_i2c1>; | |
05dcd361 LD |
487 | status = "disabled"; |
488 | }; | |
489 | ||
490 | i2c2: i2c@f8018000 { | |
491 | compatible = "atmel,at91sam9x5-i2c"; | |
492 | reg = <0xf8018000 0x100>; | |
493 | interrupts = <11 4 6>; | |
494 | #address-cells = <1>; | |
495 | #size-cells = <0>; | |
e9a72ee8 RG |
496 | pinctrl-names = "default"; |
497 | pinctrl-0 = <&pinctrl_i2c2>; | |
05dcd361 LD |
498 | status = "disabled"; |
499 | }; | |
500 | ||
d029f371 MR |
501 | adc0: adc@f804c000 { |
502 | compatible = "atmel,at91sam9260-adc"; | |
503 | reg = <0xf804c000 0x100>; | |
f8a073ee | 504 | interrupts = <19 4 0>; |
d029f371 MR |
505 | atmel,adc-use-external; |
506 | atmel,adc-channels-used = <0xffff>; | |
507 | atmel,adc-vref = <3300>; | |
508 | atmel,adc-num-channels = <12>; | |
509 | atmel,adc-startup-time = <40>; | |
510 | atmel,adc-channel-base = <0x50>; | |
511 | atmel,adc-drdy-mask = <0x1000000>; | |
512 | atmel,adc-status-register = <0x30>; | |
513 | atmel,adc-trigger-register = <0xc0>; | |
514 | ||
515 | trigger@0 { | |
516 | trigger-name = "external-rising"; | |
517 | trigger-value = <0x1>; | |
518 | trigger-external; | |
519 | }; | |
520 | ||
521 | trigger@1 { | |
522 | trigger-name = "external-falling"; | |
523 | trigger-value = <0x2>; | |
524 | trigger-external; | |
525 | }; | |
526 | ||
527 | trigger@2 { | |
528 | trigger-name = "external-any"; | |
529 | trigger-value = <0x3>; | |
530 | trigger-external; | |
531 | }; | |
532 | ||
533 | trigger@3 { | |
534 | trigger-name = "continuous"; | |
535 | trigger-value = <0x6>; | |
536 | }; | |
537 | }; | |
467f1cf5 | 538 | }; |
86a89f4f JCPV |
539 | |
540 | nand0: nand@40000000 { | |
541 | compatible = "atmel,at91rm9200-nand"; | |
542 | #address-cells = <1>; | |
543 | #size-cells = <1>; | |
544 | reg = <0x40000000 0x10000000 | |
5314bc2d JW |
545 | 0xffffe000 0x600 /* PMECC Registers */ |
546 | 0xffffe600 0x200 /* PMECC Error Location Registers */ | |
547 | 0x00108000 0x18000 /* PMECC looup table in ROM code */ | |
86a89f4f | 548 | >; |
5314bc2d | 549 | atmel,pmecc-lookup-table-offset = <0x0 0x8000>; |
86a89f4f JCPV |
550 | atmel,nand-addr-offset = <21>; |
551 | atmel,nand-cmd-offset = <22>; | |
7a38d450 JCPV |
552 | pinctrl-names = "default"; |
553 | pinctrl-0 = <&pinctrl_nand>; | |
4352808c NF |
554 | gpios = <&pioD 5 0 |
555 | &pioD 4 0 | |
86a89f4f JCPV |
556 | 0 |
557 | >; | |
558 | status = "disabled"; | |
559 | }; | |
6a062459 JCPV |
560 | |
561 | usb0: ohci@00600000 { | |
562 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; | |
563 | reg = <0x00600000 0x100000>; | |
f8a073ee | 564 | interrupts = <22 4 2>; |
6a062459 JCPV |
565 | status = "disabled"; |
566 | }; | |
62c5553a JCPV |
567 | |
568 | usb1: ehci@00700000 { | |
569 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; | |
570 | reg = <0x00700000 0x100000>; | |
f8a073ee | 571 | interrupts = <22 4 2>; |
62c5553a JCPV |
572 | status = "disabled"; |
573 | }; | |
467f1cf5 | 574 | }; |
10f71c28 JCPV |
575 | |
576 | i2c@0 { | |
577 | compatible = "i2c-gpio"; | |
578 | gpios = <&pioA 30 0 /* sda */ | |
579 | &pioA 31 0 /* scl */ | |
580 | >; | |
581 | i2c-gpio,sda-open-drain; | |
582 | i2c-gpio,scl-open-drain; | |
583 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ | |
584 | #address-cells = <1>; | |
585 | #size-cells = <0>; | |
586 | status = "disabled"; | |
587 | }; | |
588 | ||
589 | i2c@1 { | |
590 | compatible = "i2c-gpio"; | |
591 | gpios = <&pioC 0 0 /* sda */ | |
592 | &pioC 1 0 /* scl */ | |
593 | >; | |
594 | i2c-gpio,sda-open-drain; | |
595 | i2c-gpio,scl-open-drain; | |
596 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ | |
597 | #address-cells = <1>; | |
598 | #size-cells = <0>; | |
599 | status = "disabled"; | |
600 | }; | |
601 | ||
602 | i2c@2 { | |
603 | compatible = "i2c-gpio"; | |
604 | gpios = <&pioB 4 0 /* sda */ | |
605 | &pioB 5 0 /* scl */ | |
606 | >; | |
607 | i2c-gpio,sda-open-drain; | |
608 | i2c-gpio,scl-open-drain; | |
609 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ | |
610 | #address-cells = <1>; | |
611 | #size-cells = <0>; | |
612 | status = "disabled"; | |
613 | }; | |
467f1cf5 | 614 | }; |