blob: 5d7c1f79dc4a79b0b680d87994b41656f6a35893 [file] [log] [blame]
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +02001/*
2 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
3 * applies to AT91SAM9G45, AT91SAM9M10,
4 * AT91SAM9G46, AT91SAM9M11 SoC
5 *
6 * Copyright (C) 2011 Atmel,
7 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
8 *
9 * Licensed under GPLv2 or later.
10 */
11
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +080012#include "skeleton.dtsi"
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080013#include <dt-bindings/gpio/gpio.h>
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020014
15/ {
16 model = "Atmel AT91SAM9G45 family SoC";
17 compatible = "atmel,at91sam9g45";
18 interrupt-parent = <&aic>;
19
20 aliases {
21 serial0 = &dbgu;
22 serial1 = &usart0;
23 serial2 = &usart1;
24 serial3 = &usart2;
25 serial4 = &usart3;
Nicolas Ferre21f81872012-02-11 15:41:40 +010026 gpio0 = &pioA;
27 gpio1 = &pioB;
28 gpio2 = &pioC;
29 gpio3 = &pioD;
30 gpio4 = &pioE;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010031 tcb0 = &tcb0;
32 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020033 i2c0 = &i2c0;
34 i2c1 = &i2c1;
Bo Shen099343c2012-11-07 11:41:41 +080035 ssc0 = &ssc0;
36 ssc1 = &ssc1;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020037 };
38 cpus {
39 cpu@0 {
40 compatible = "arm,arm926ejs";
41 };
42 };
43
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020044 memory {
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020045 reg = <0x70000000 0x10000000>;
46 };
47
48 ahb {
49 compatible = "simple-bus";
50 #address-cells = <1>;
51 #size-cells = <1>;
52 ranges;
53
54 apb {
55 compatible = "simple-bus";
56 #address-cells = <1>;
57 #size-cells = <1>;
58 ranges;
59
60 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020061 #interrupt-cells = <3>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020062 compatible = "atmel,at91rm9200-aic";
63 interrupt-controller;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020064 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080065 atmel,external-irqs = <31>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020066 };
67
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080068 ramc0: ramc@ffffe400 {
69 compatible = "atmel,at91sam9g45-ddramc";
70 reg = <0xffffe400 0x200
71 0xffffe600 0x200>;
72 };
73
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080074 pmc: pmc@fffffc00 {
75 compatible = "atmel,at91rm9200-pmc";
76 reg = <0xfffffc00 0x100>;
77 };
78
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080079 rstc@fffffd00 {
80 compatible = "atmel,at91sam9g45-rstc";
81 reg = <0xfffffd00 0x10>;
82 };
83
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +010084 pit: timer@fffffd30 {
85 compatible = "atmel,at91sam9260-pit";
86 reg = <0xfffffd30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020087 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +010088 };
89
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010090
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080091 shdwc@fffffd10 {
92 compatible = "atmel,at91sam9rl-shdwc";
93 reg = <0xfffffd10 0x10>;
94 };
95
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010096 tcb0: timer@fff7c000 {
97 compatible = "atmel,at91rm9200-tcb";
98 reg = <0xfff7c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020099 interrupts = <18 4 0>;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100100 };
101
102 tcb1: timer@fffd4000 {
103 compatible = "atmel,at91rm9200-tcb";
104 reg = <0xfffd4000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200105 interrupts = <18 4 0>;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100106 };
107
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200108 dma: dma-controller@ffffec00 {
109 compatible = "atmel,at91sam9g45-dma";
110 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200111 interrupts = <21 4 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200112 #dma-cells = <2>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200113 };
114
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800115 pinctrl@fffff200 {
116 #address-cells = <1>;
117 #size-cells = <1>;
118 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
119 ranges = <0xfffff200 0xfffff200 0xa00>;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100120
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800121 atmel,mux-mask = <
122 /* A B */
123 0xffffffff 0xffc003ff /* pioA */
124 0xffffffff 0x800f8f00 /* pioB */
125 0xffffffff 0x00000e00 /* pioC */
126 0xffffffff 0xff0c1381 /* pioD */
127 0xffffffff 0x81ffff81 /* pioE */
128 >;
129
130 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800131 dbgu {
132 pinctrl_dbgu: dbgu-0 {
133 atmel,pins =
134 <1 12 0x1 0x0 /* PB12 periph A */
135 1 13 0x1 0x0>; /* PB13 periph A */
136 };
137 };
138
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800139 usart0 {
140 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800141 atmel,pins =
142 <1 19 0x1 0x1 /* PB19 periph A with pullup */
143 1 18 0x1 0x0>; /* PB18 periph A */
144 };
145
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800146 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800147 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800148 <1 17 0x2 0x0>; /* PB17 periph B */
149 };
150
151 pinctrl_usart0_cts: usart0_cts-0 {
152 atmel,pins =
153 <1 15 0x2 0x0>; /* PB15 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800154 };
155 };
156
157 uart1 {
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800158 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800159 atmel,pins =
160 <1 4 0x1 0x1 /* PB4 periph A with pullup */
161 1 5 0x1 0x0>; /* PB5 periph A */
162 };
163
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800164 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800165 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800166 <3 16 0x1 0x0>; /* PD16 periph A */
167 };
168
169 pinctrl_usart1_cts: usart1_cts-0 {
170 atmel,pins =
171 <3 17 0x1 0x0>; /* PD17 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800172 };
173 };
174
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800175 usart2 {
176 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800177 atmel,pins =
178 <1 6 0x1 0x1 /* PB6 periph A with pullup */
179 1 7 0x1 0x0>; /* PB7 periph A */
180 };
181
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800182 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800183 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800184 <2 9 0x2 0x0>; /* PC9 periph B */
185 };
186
187 pinctrl_usart2_cts: usart2_cts-0 {
188 atmel,pins =
189 <2 11 0x2 0x0>; /* PC11 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800190 };
191 };
192
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800193 usart3 {
194 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800195 atmel,pins =
196 <1 8 0x1 0x1 /* PB9 periph A with pullup */
197 1 9 0x1 0x0>; /* PB8 periph A */
198 };
199
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800200 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800201 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800202 <0 23 0x2 0x0>; /* PA23 periph B */
203 };
204
205 pinctrl_usart3_cts: usart3_cts-0 {
206 atmel,pins =
207 <0 24 0x2 0x0>; /* PA24 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800208 };
209 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800210
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800211 nand {
212 pinctrl_nand: nand-0 {
213 atmel,pins =
214 <2 8 0x0 0x1 /* PC8 gpio RDY pin pull_up*/
215 2 14 0x0 0x1>; /* PC14 gpio enable pin pull_up */
216 };
217 };
218
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800219 macb {
220 pinctrl_macb_rmii: macb_rmii-0 {
221 atmel,pins =
222 <0 10 0x1 0x0 /* PA10 periph A */
223 0 11 0x1 0x0 /* PA11 periph A */
224 0 12 0x1 0x0 /* PA12 periph A */
225 0 13 0x1 0x0 /* PA13 periph A */
226 0 14 0x1 0x0 /* PA14 periph A */
227 0 15 0x1 0x0 /* PA15 periph A */
228 0 16 0x1 0x0 /* PA16 periph A */
229 0 17 0x1 0x0 /* PA17 periph A */
230 0 18 0x1 0x0 /* PA18 periph A */
231 0 19 0x1 0x0>; /* PA19 periph A */
232 };
233
234 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
235 atmel,pins =
236 <0 6 0x2 0x0 /* PA6 periph B */
237 0 7 0x2 0x0 /* PA7 periph B */
238 0 8 0x2 0x0 /* PA8 periph B */
239 0 9 0x2 0x0 /* PA9 periph B */
240 0 27 0x2 0x0 /* PA27 periph B */
241 0 28 0x2 0x0 /* PA28 periph B */
242 0 29 0x2 0x0 /* PA29 periph B */
243 0 30 0x2 0x0>; /* PA30 periph B */
244 };
245 };
246
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800247 mmc0 {
248 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
249 atmel,pins =
250 <0 0 0x1 0x0 /* PA0 periph A */
251 0 1 0x1 0x1 /* PA1 periph A with pullup */
252 0 2 0x1 0x1>; /* PA2 periph A with pullup */
253 };
254
255 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
256 atmel,pins =
257 <0 3 0x1 0x1 /* PA3 periph A with pullup */
258 0 4 0x1 0x1 /* PA4 periph A with pullup */
259 0 5 0x1 0x1>; /* PA5 periph A with pullup */
260 };
261
262 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
263 atmel,pins =
264 <0 6 0x1 0x1 /* PA6 periph A with pullup */
265 0 7 0x1 0x1 /* PA7 periph A with pullup */
266 0 8 0x1 0x1 /* PA8 periph A with pullup */
267 0 9 0x1 0x1>; /* PA9 periph A with pullup */
268 };
269 };
270
271 mmc1 {
272 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
273 atmel,pins =
274 <0 31 0x1 0x0 /* PA31 periph A */
275 0 22 0x1 0x1 /* PA22 periph A with pullup */
276 0 23 0x1 0x1>; /* PA23 periph A with pullup */
277 };
278
279 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
280 atmel,pins =
281 <0 24 0x1 0x1 /* PA24 periph A with pullup */
282 0 25 0x1 0x1 /* PA25 periph A with pullup */
283 0 26 0x1 0x1>; /* PA26 periph A with pullup */
284 };
285
286 pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
287 atmel,pins =
288 <0 27 0x1 0x1 /* PA27 periph A with pullup */
289 0 28 0x1 0x1 /* PA28 periph A with pullup */
290 0 29 0x1 0x1 /* PA29 periph A with pullup */
291 0 20 0x1 0x1>; /* PA30 periph A with pullup */
292 };
293 };
294
Bo Shen544ae6b2013-01-11 15:08:30 +0100295 ssc0 {
296 pinctrl_ssc0_tx: ssc0_tx-0 {
297 atmel,pins =
298 <3 0 0x1 0x0 /* PD0 periph A */
299 3 1 0x1 0x0 /* PD1 periph A */
300 3 2 0x1 0x0>; /* PD2 periph A */
301 };
302
303 pinctrl_ssc0_rx: ssc0_rx-0 {
304 atmel,pins =
305 <3 3 0x1 0x0 /* PD3 periph A */
306 3 4 0x1 0x0 /* PD4 periph A */
307 3 5 0x1 0x0>; /* PD5 periph A */
308 };
309 };
310
311 ssc1 {
312 pinctrl_ssc1_tx: ssc1_tx-0 {
313 atmel,pins =
314 <3 10 0x1 0x0 /* PD10 periph A */
315 3 11 0x1 0x0 /* PD11 periph A */
316 3 12 0x1 0x0>; /* PD12 periph A */
317 };
318
319 pinctrl_ssc1_rx: ssc1_rx-0 {
320 atmel,pins =
321 <3 13 0x1 0x0 /* PD13 periph A */
322 3 14 0x1 0x0 /* PD14 periph A */
323 3 15 0x1 0x0>; /* PD15 periph A */
324 };
325 };
326
Wenyou Yanga68b7282013-04-03 14:03:52 +0800327 spi0 {
328 pinctrl_spi0: spi0-0 {
329 atmel,pins =
330 <1 0 0x1 0x0 /* PB0 periph A SPI0_MISO pin */
331 1 1 0x1 0x0 /* PB1 periph A SPI0_MOSI pin */
332 1 2 0x1 0x0>; /* PB2 periph A SPI0_SPCK pin */
333 };
334 };
335
336 spi1 {
337 pinctrl_spi1: spi1-0 {
338 atmel,pins =
339 <1 14 0x1 0x0 /* PB14 periph A SPI1_MISO pin */
340 1 15 0x1 0x0 /* PB15 periph A SPI1_MOSI pin */
341 1 16 0x1 0x0>; /* PB16 periph A SPI1_SPCK pin */
342 };
343 };
344
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800345 pioA: gpio@fffff200 {
346 compatible = "atmel,at91rm9200-gpio";
347 reg = <0xfffff200 0x200>;
348 interrupts = <2 4 1>;
349 #gpio-cells = <2>;
350 gpio-controller;
351 interrupt-controller;
352 #interrupt-cells = <2>;
353 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100354
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800355 pioB: gpio@fffff400 {
356 compatible = "atmel,at91rm9200-gpio";
357 reg = <0xfffff400 0x200>;
358 interrupts = <3 4 1>;
359 #gpio-cells = <2>;
360 gpio-controller;
361 interrupt-controller;
362 #interrupt-cells = <2>;
363 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100364
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800365 pioC: gpio@fffff600 {
366 compatible = "atmel,at91rm9200-gpio";
367 reg = <0xfffff600 0x200>;
368 interrupts = <4 4 1>;
369 #gpio-cells = <2>;
370 gpio-controller;
371 interrupt-controller;
372 #interrupt-cells = <2>;
373 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100374
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800375 pioD: gpio@fffff800 {
376 compatible = "atmel,at91rm9200-gpio";
377 reg = <0xfffff800 0x200>;
378 interrupts = <5 4 1>;
379 #gpio-cells = <2>;
380 gpio-controller;
381 interrupt-controller;
382 #interrupt-cells = <2>;
383 };
384
385 pioE: gpio@fffffa00 {
386 compatible = "atmel,at91rm9200-gpio";
387 reg = <0xfffffa00 0x200>;
388 interrupts = <5 4 1>;
389 #gpio-cells = <2>;
390 gpio-controller;
391 interrupt-controller;
392 #interrupt-cells = <2>;
393 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100394 };
395
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200396 dbgu: serial@ffffee00 {
397 compatible = "atmel,at91sam9260-usart";
398 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200399 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800400 pinctrl-names = "default";
401 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200402 status = "disabled";
403 };
404
405 usart0: serial@fff8c000 {
406 compatible = "atmel,at91sam9260-usart";
407 reg = <0xfff8c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200408 interrupts = <7 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200409 atmel,use-dma-rx;
410 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800411 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800412 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200413 status = "disabled";
414 };
415
416 usart1: serial@fff90000 {
417 compatible = "atmel,at91sam9260-usart";
418 reg = <0xfff90000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200419 interrupts = <8 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200420 atmel,use-dma-rx;
421 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800422 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800423 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200424 status = "disabled";
425 };
426
427 usart2: serial@fff94000 {
428 compatible = "atmel,at91sam9260-usart";
429 reg = <0xfff94000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200430 interrupts = <9 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200431 atmel,use-dma-rx;
432 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800433 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800434 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200435 status = "disabled";
436 };
437
438 usart3: serial@fff98000 {
439 compatible = "atmel,at91sam9260-usart";
440 reg = <0xfff98000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200441 interrupts = <10 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200442 atmel,use-dma-rx;
443 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800444 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800445 pinctrl-0 = <&pinctrl_usart3>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200446 status = "disabled";
447 };
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100448
449 macb0: ethernet@fffbc000 {
450 compatible = "cdns,at32ap7000-macb", "cdns,macb";
451 reg = <0xfffbc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200452 interrupts = <25 4 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800453 pinctrl-names = "default";
454 pinctrl-0 = <&pinctrl_macb_rmii>;
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100455 status = "disabled";
456 };
Maxime Ripard93b298b2012-05-11 15:35:38 +0200457
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200458 i2c0: i2c@fff84000 {
459 compatible = "atmel,at91sam9g10-i2c";
460 reg = <0xfff84000 0x100>;
461 interrupts = <12 4 6>;
462 #address-cells = <1>;
463 #size-cells = <0>;
464 status = "disabled";
465 };
466
467 i2c1: i2c@fff88000 {
468 compatible = "atmel,at91sam9g10-i2c";
469 reg = <0xfff88000 0x100>;
470 interrupts = <13 4 6>;
471 #address-cells = <1>;
472 #size-cells = <0>;
473 status = "disabled";
474 };
475
Bo Shen099343c2012-11-07 11:41:41 +0800476 ssc0: ssc@fff9c000 {
477 compatible = "atmel,at91sam9g45-ssc";
478 reg = <0xfff9c000 0x4000>;
479 interrupts = <16 4 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100480 pinctrl-names = "default";
481 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Bo Shen315656b2012-12-13 10:05:07 +0800482 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800483 };
484
485 ssc1: ssc@fffa0000 {
486 compatible = "atmel,at91sam9g45-ssc";
487 reg = <0xfffa0000 0x4000>;
488 interrupts = <17 4 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100489 pinctrl-names = "default";
490 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Bo Shen315656b2012-12-13 10:05:07 +0800491 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800492 };
493
Maxime Ripard93b298b2012-05-11 15:35:38 +0200494 adc0: adc@fffb0000 {
495 compatible = "atmel,at91sam9260-adc";
496 reg = <0xfffb0000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200497 interrupts = <20 4 0>;
Maxime Ripard93b298b2012-05-11 15:35:38 +0200498 atmel,adc-use-external-triggers;
499 atmel,adc-channels-used = <0xff>;
500 atmel,adc-vref = <3300>;
501 atmel,adc-num-channels = <8>;
502 atmel,adc-startup-time = <40>;
503 atmel,adc-channel-base = <0x30>;
504 atmel,adc-drdy-mask = <0x10000>;
505 atmel,adc-status-register = <0x1c>;
506 atmel,adc-trigger-register = <0x08>;
Ludovic Desroches4b50da652013-03-29 10:13:19 +0100507 atmel,adc-res = <8 10>;
508 atmel,adc-res-names = "lowres", "highres";
509 atmel,adc-use-res = "highres";
Maxime Ripard93b298b2012-05-11 15:35:38 +0200510
511 trigger@0 {
512 trigger-name = "external-rising";
513 trigger-value = <0x1>;
514 trigger-external;
515 };
516 trigger@1 {
517 trigger-name = "external-falling";
518 trigger-value = <0x2>;
519 trigger-external;
520 };
521
522 trigger@2 {
523 trigger-name = "external-any";
524 trigger-value = <0x3>;
525 trigger-external;
526 };
527
528 trigger@3 {
529 trigger-name = "continuous";
530 trigger-value = <0x6>;
531 };
532 };
Ludovic Desroches98731372012-11-19 12:23:36 +0100533
534 mmc0: mmc@fff80000 {
535 compatible = "atmel,hsmci";
536 reg = <0xfff80000 0x600>;
537 interrupts = <11 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200538 dmas = <&dma 1 0>;
539 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100540 #address-cells = <1>;
541 #size-cells = <0>;
542 status = "disabled";
543 };
544
545 mmc1: mmc@fffd0000 {
546 compatible = "atmel,hsmci";
547 reg = <0xfffd0000 0x600>;
548 interrupts = <29 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200549 dmas = <&dma 1 13>;
550 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100551 #address-cells = <1>;
552 #size-cells = <0>;
553 status = "disabled";
554 };
Linus Torvaldsdb5b0ae2012-12-13 10:39:26 -0800555
Fabio Porcedda7492e7c2012-11-12 09:37:26 +0100556 watchdog@fffffd40 {
557 compatible = "atmel,at91sam9260-wdt";
558 reg = <0xfffffd40 0x10>;
559 status = "disabled";
560 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800561
562 spi0: spi@fffa4000 {
563 #address-cells = <1>;
564 #size-cells = <0>;
565 compatible = "atmel,at91rm9200-spi";
566 reg = <0xfffa4000 0x200>;
567 interrupts = <14 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800568 pinctrl-names = "default";
569 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800570 status = "disabled";
571 };
572
573 spi1: spi@fffa8000 {
574 #address-cells = <1>;
575 #size-cells = <0>;
576 compatible = "atmel,at91rm9200-spi";
577 reg = <0xfffa8000 0x200>;
578 interrupts = <15 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800579 pinctrl-names = "default";
580 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800581 status = "disabled";
582 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200583 };
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +0800584
585 nand0: nand@40000000 {
586 compatible = "atmel,at91rm9200-nand";
587 #address-cells = <1>;
588 #size-cells = <1>;
589 reg = <0x40000000 0x10000000
590 0xffffe200 0x200
591 >;
592 atmel,nand-addr-offset = <21>;
593 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800594 pinctrl-names = "default";
595 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800596 gpios = <&pioC 8 GPIO_ACTIVE_HIGH
597 &pioC 14 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +0800598 0
599 >;
600 status = "disabled";
601 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800602
603 usb0: ohci@00700000 {
604 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
605 reg = <0x00700000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200606 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800607 status = "disabled";
608 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800609
610 usb1: ehci@00800000 {
611 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
612 reg = <0x00800000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200613 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800614 status = "disabled";
615 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200616 };
Jean-Christophe PLAGNIOL-VILLARD8f24bda2012-02-05 18:32:37 +0800617
618 i2c@0 {
619 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800620 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
621 &pioA 21 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD8f24bda2012-02-05 18:32:37 +0800622 >;
623 i2c-gpio,sda-open-drain;
624 i2c-gpio,scl-open-drain;
625 i2c-gpio,delay-us = <5>; /* ~100 kHz */
626 #address-cells = <1>;
627 #size-cells = <0>;
628 status = "disabled";
629 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200630};