blob: 479a0622cdb8fa0c3994f5aa26982b9fc022f47b [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
12/include/ "skeleton.dtsi"
13
14/ {
15 model = "Atmel AT91SAM9G45 family SoC";
16 compatible = "atmel,at91sam9g45";
17 interrupt-parent = <&aic>;
18
19 aliases {
20 serial0 = &dbgu;
21 serial1 = &usart0;
22 serial2 = &usart1;
23 serial3 = &usart2;
24 serial4 = &usart3;
Nicolas Ferre21f81872012-02-11 15:41:40 +010025 gpio0 = &pioA;
26 gpio1 = &pioB;
27 gpio2 = &pioC;
28 gpio3 = &pioD;
29 gpio4 = &pioE;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010030 tcb0 = &tcb0;
31 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020032 i2c0 = &i2c0;
33 i2c1 = &i2c1;
Bo Shen099343c2012-11-07 11:41:41 +080034 ssc0 = &ssc0;
35 ssc1 = &ssc1;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020036 };
37 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010038 #address-cells = <0>;
39 #size-cells = <0>;
40
41 cpu {
42 compatible = "arm,arm926ej-s";
43 device_type = "cpu";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020044 };
45 };
46
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020047 memory {
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020048 reg = <0x70000000 0x10000000>;
49 };
50
51 ahb {
52 compatible = "simple-bus";
53 #address-cells = <1>;
54 #size-cells = <1>;
55 ranges;
56
57 apb {
58 compatible = "simple-bus";
59 #address-cells = <1>;
60 #size-cells = <1>;
61 ranges;
62
63 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020064 #interrupt-cells = <3>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020065 compatible = "atmel,at91rm9200-aic";
66 interrupt-controller;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020067 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080068 atmel,external-irqs = <31>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020069 };
70
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080071 ramc0: ramc@ffffe400 {
72 compatible = "atmel,at91sam9g45-ddramc";
73 reg = <0xffffe400 0x200
74 0xffffe600 0x200>;
75 };
76
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080077 pmc: pmc@fffffc00 {
78 compatible = "atmel,at91rm9200-pmc";
79 reg = <0xfffffc00 0x100>;
80 };
81
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080082 rstc@fffffd00 {
83 compatible = "atmel,at91sam9g45-rstc";
84 reg = <0xfffffd00 0x10>;
85 };
86
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +010087 pit: timer@fffffd30 {
88 compatible = "atmel,at91sam9260-pit";
89 reg = <0xfffffd30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020090 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +010091 };
92
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010093
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080094 shdwc@fffffd10 {
95 compatible = "atmel,at91sam9rl-shdwc";
96 reg = <0xfffffd10 0x10>;
97 };
98
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010099 tcb0: timer@fff7c000 {
100 compatible = "atmel,at91rm9200-tcb";
101 reg = <0xfff7c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200102 interrupts = <18 4 0>;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100103 };
104
105 tcb1: timer@fffd4000 {
106 compatible = "atmel,at91rm9200-tcb";
107 reg = <0xfffd4000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200108 interrupts = <18 4 0>;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100109 };
110
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200111 dma: dma-controller@ffffec00 {
112 compatible = "atmel,at91sam9g45-dma";
113 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200114 interrupts = <21 4 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200115 #dma-cells = <2>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200116 };
117
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800118 pinctrl@fffff200 {
119 #address-cells = <1>;
120 #size-cells = <1>;
121 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
122 ranges = <0xfffff200 0xfffff200 0xa00>;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100123
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800124 atmel,mux-mask = <
125 /* A B */
126 0xffffffff 0xffc003ff /* pioA */
127 0xffffffff 0x800f8f00 /* pioB */
128 0xffffffff 0x00000e00 /* pioC */
129 0xffffffff 0xff0c1381 /* pioD */
130 0xffffffff 0x81ffff81 /* pioE */
131 >;
132
133 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800134 dbgu {
135 pinctrl_dbgu: dbgu-0 {
136 atmel,pins =
137 <1 12 0x1 0x0 /* PB12 periph A */
138 1 13 0x1 0x0>; /* PB13 periph A */
139 };
140 };
141
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800142 usart0 {
143 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800144 atmel,pins =
145 <1 19 0x1 0x1 /* PB19 periph A with pullup */
146 1 18 0x1 0x0>; /* PB18 periph A */
147 };
148
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800149 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800150 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800151 <1 17 0x2 0x0>; /* PB17 periph B */
152 };
153
154 pinctrl_usart0_cts: usart0_cts-0 {
155 atmel,pins =
156 <1 15 0x2 0x0>; /* PB15 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800157 };
158 };
159
160 uart1 {
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800161 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800162 atmel,pins =
163 <1 4 0x1 0x1 /* PB4 periph A with pullup */
164 1 5 0x1 0x0>; /* PB5 periph A */
165 };
166
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800167 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800168 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800169 <3 16 0x1 0x0>; /* PD16 periph A */
170 };
171
172 pinctrl_usart1_cts: usart1_cts-0 {
173 atmel,pins =
174 <3 17 0x1 0x0>; /* PD17 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800175 };
176 };
177
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800178 usart2 {
179 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800180 atmel,pins =
181 <1 6 0x1 0x1 /* PB6 periph A with pullup */
182 1 7 0x1 0x0>; /* PB7 periph A */
183 };
184
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800185 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800186 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800187 <2 9 0x2 0x0>; /* PC9 periph B */
188 };
189
190 pinctrl_usart2_cts: usart2_cts-0 {
191 atmel,pins =
192 <2 11 0x2 0x0>; /* PC11 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800193 };
194 };
195
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800196 usart3 {
197 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800198 atmel,pins =
199 <1 8 0x1 0x1 /* PB9 periph A with pullup */
200 1 9 0x1 0x0>; /* PB8 periph A */
201 };
202
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800203 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800204 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800205 <0 23 0x2 0x0>; /* PA23 periph B */
206 };
207
208 pinctrl_usart3_cts: usart3_cts-0 {
209 atmel,pins =
210 <0 24 0x2 0x0>; /* PA24 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800211 };
212 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800213
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800214 nand {
215 pinctrl_nand: nand-0 {
216 atmel,pins =
217 <2 8 0x0 0x1 /* PC8 gpio RDY pin pull_up*/
218 2 14 0x0 0x1>; /* PC14 gpio enable pin pull_up */
219 };
220 };
221
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800222 macb {
223 pinctrl_macb_rmii: macb_rmii-0 {
224 atmel,pins =
225 <0 10 0x1 0x0 /* PA10 periph A */
226 0 11 0x1 0x0 /* PA11 periph A */
227 0 12 0x1 0x0 /* PA12 periph A */
228 0 13 0x1 0x0 /* PA13 periph A */
229 0 14 0x1 0x0 /* PA14 periph A */
230 0 15 0x1 0x0 /* PA15 periph A */
231 0 16 0x1 0x0 /* PA16 periph A */
232 0 17 0x1 0x0 /* PA17 periph A */
233 0 18 0x1 0x0 /* PA18 periph A */
234 0 19 0x1 0x0>; /* PA19 periph A */
235 };
236
237 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
238 atmel,pins =
239 <0 6 0x2 0x0 /* PA6 periph B */
240 0 7 0x2 0x0 /* PA7 periph B */
241 0 8 0x2 0x0 /* PA8 periph B */
242 0 9 0x2 0x0 /* PA9 periph B */
243 0 27 0x2 0x0 /* PA27 periph B */
244 0 28 0x2 0x0 /* PA28 periph B */
245 0 29 0x2 0x0 /* PA29 periph B */
246 0 30 0x2 0x0>; /* PA30 periph B */
247 };
248 };
249
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800250 mmc0 {
251 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
252 atmel,pins =
253 <0 0 0x1 0x0 /* PA0 periph A */
254 0 1 0x1 0x1 /* PA1 periph A with pullup */
255 0 2 0x1 0x1>; /* PA2 periph A with pullup */
256 };
257
258 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
259 atmel,pins =
260 <0 3 0x1 0x1 /* PA3 periph A with pullup */
261 0 4 0x1 0x1 /* PA4 periph A with pullup */
262 0 5 0x1 0x1>; /* PA5 periph A with pullup */
263 };
264
265 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
266 atmel,pins =
267 <0 6 0x1 0x1 /* PA6 periph A with pullup */
268 0 7 0x1 0x1 /* PA7 periph A with pullup */
269 0 8 0x1 0x1 /* PA8 periph A with pullup */
270 0 9 0x1 0x1>; /* PA9 periph A with pullup */
271 };
272 };
273
274 mmc1 {
275 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
276 atmel,pins =
277 <0 31 0x1 0x0 /* PA31 periph A */
278 0 22 0x1 0x1 /* PA22 periph A with pullup */
279 0 23 0x1 0x1>; /* PA23 periph A with pullup */
280 };
281
282 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
283 atmel,pins =
284 <0 24 0x1 0x1 /* PA24 periph A with pullup */
285 0 25 0x1 0x1 /* PA25 periph A with pullup */
286 0 26 0x1 0x1>; /* PA26 periph A with pullup */
287 };
288
289 pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
290 atmel,pins =
291 <0 27 0x1 0x1 /* PA27 periph A with pullup */
292 0 28 0x1 0x1 /* PA28 periph A with pullup */
293 0 29 0x1 0x1 /* PA29 periph A with pullup */
294 0 20 0x1 0x1>; /* PA30 periph A with pullup */
295 };
296 };
297
Bo Shen544ae6b2013-01-11 15:08:30 +0100298 ssc0 {
299 pinctrl_ssc0_tx: ssc0_tx-0 {
300 atmel,pins =
301 <3 0 0x1 0x0 /* PD0 periph A */
302 3 1 0x1 0x0 /* PD1 periph A */
303 3 2 0x1 0x0>; /* PD2 periph A */
304 };
305
306 pinctrl_ssc0_rx: ssc0_rx-0 {
307 atmel,pins =
308 <3 3 0x1 0x0 /* PD3 periph A */
309 3 4 0x1 0x0 /* PD4 periph A */
310 3 5 0x1 0x0>; /* PD5 periph A */
311 };
312 };
313
314 ssc1 {
315 pinctrl_ssc1_tx: ssc1_tx-0 {
316 atmel,pins =
317 <3 10 0x1 0x0 /* PD10 periph A */
318 3 11 0x1 0x0 /* PD11 periph A */
319 3 12 0x1 0x0>; /* PD12 periph A */
320 };
321
322 pinctrl_ssc1_rx: ssc1_rx-0 {
323 atmel,pins =
324 <3 13 0x1 0x0 /* PD13 periph A */
325 3 14 0x1 0x0 /* PD14 periph A */
326 3 15 0x1 0x0>; /* PD15 periph A */
327 };
328 };
329
Wenyou Yanga68b7282013-04-03 14:03:52 +0800330 spi0 {
331 pinctrl_spi0: spi0-0 {
332 atmel,pins =
333 <1 0 0x1 0x0 /* PB0 periph A SPI0_MISO pin */
334 1 1 0x1 0x0 /* PB1 periph A SPI0_MOSI pin */
335 1 2 0x1 0x0>; /* PB2 periph A SPI0_SPCK pin */
336 };
337 };
338
339 spi1 {
340 pinctrl_spi1: spi1-0 {
341 atmel,pins =
342 <1 14 0x1 0x0 /* PB14 periph A SPI1_MISO pin */
343 1 15 0x1 0x0 /* PB15 periph A SPI1_MOSI pin */
344 1 16 0x1 0x0>; /* PB16 periph A SPI1_SPCK pin */
345 };
346 };
347
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800348 pioA: gpio@fffff200 {
349 compatible = "atmel,at91rm9200-gpio";
350 reg = <0xfffff200 0x200>;
351 interrupts = <2 4 1>;
352 #gpio-cells = <2>;
353 gpio-controller;
354 interrupt-controller;
355 #interrupt-cells = <2>;
356 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100357
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800358 pioB: gpio@fffff400 {
359 compatible = "atmel,at91rm9200-gpio";
360 reg = <0xfffff400 0x200>;
361 interrupts = <3 4 1>;
362 #gpio-cells = <2>;
363 gpio-controller;
364 interrupt-controller;
365 #interrupt-cells = <2>;
366 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100367
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800368 pioC: gpio@fffff600 {
369 compatible = "atmel,at91rm9200-gpio";
370 reg = <0xfffff600 0x200>;
371 interrupts = <4 4 1>;
372 #gpio-cells = <2>;
373 gpio-controller;
374 interrupt-controller;
375 #interrupt-cells = <2>;
376 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100377
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800378 pioD: gpio@fffff800 {
379 compatible = "atmel,at91rm9200-gpio";
380 reg = <0xfffff800 0x200>;
381 interrupts = <5 4 1>;
382 #gpio-cells = <2>;
383 gpio-controller;
384 interrupt-controller;
385 #interrupt-cells = <2>;
386 };
387
388 pioE: gpio@fffffa00 {
389 compatible = "atmel,at91rm9200-gpio";
390 reg = <0xfffffa00 0x200>;
391 interrupts = <5 4 1>;
392 #gpio-cells = <2>;
393 gpio-controller;
394 interrupt-controller;
395 #interrupt-cells = <2>;
396 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100397 };
398
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200399 dbgu: serial@ffffee00 {
400 compatible = "atmel,at91sam9260-usart";
401 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200402 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800403 pinctrl-names = "default";
404 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200405 status = "disabled";
406 };
407
408 usart0: serial@fff8c000 {
409 compatible = "atmel,at91sam9260-usart";
410 reg = <0xfff8c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200411 interrupts = <7 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200412 atmel,use-dma-rx;
413 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800414 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800415 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200416 status = "disabled";
417 };
418
419 usart1: serial@fff90000 {
420 compatible = "atmel,at91sam9260-usart";
421 reg = <0xfff90000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200422 interrupts = <8 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200423 atmel,use-dma-rx;
424 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800425 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800426 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200427 status = "disabled";
428 };
429
430 usart2: serial@fff94000 {
431 compatible = "atmel,at91sam9260-usart";
432 reg = <0xfff94000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200433 interrupts = <9 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200434 atmel,use-dma-rx;
435 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800436 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800437 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200438 status = "disabled";
439 };
440
441 usart3: serial@fff98000 {
442 compatible = "atmel,at91sam9260-usart";
443 reg = <0xfff98000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200444 interrupts = <10 4 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200445 atmel,use-dma-rx;
446 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800447 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800448 pinctrl-0 = <&pinctrl_usart3>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200449 status = "disabled";
450 };
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100451
452 macb0: ethernet@fffbc000 {
453 compatible = "cdns,at32ap7000-macb", "cdns,macb";
454 reg = <0xfffbc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200455 interrupts = <25 4 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800456 pinctrl-names = "default";
457 pinctrl-0 = <&pinctrl_macb_rmii>;
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100458 status = "disabled";
459 };
Maxime Ripard93b298b2012-05-11 15:35:38 +0200460
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200461 i2c0: i2c@fff84000 {
462 compatible = "atmel,at91sam9g10-i2c";
463 reg = <0xfff84000 0x100>;
464 interrupts = <12 4 6>;
465 #address-cells = <1>;
466 #size-cells = <0>;
467 status = "disabled";
468 };
469
470 i2c1: i2c@fff88000 {
471 compatible = "atmel,at91sam9g10-i2c";
472 reg = <0xfff88000 0x100>;
473 interrupts = <13 4 6>;
474 #address-cells = <1>;
475 #size-cells = <0>;
476 status = "disabled";
477 };
478
Bo Shen099343c2012-11-07 11:41:41 +0800479 ssc0: ssc@fff9c000 {
480 compatible = "atmel,at91sam9g45-ssc";
481 reg = <0xfff9c000 0x4000>;
482 interrupts = <16 4 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100483 pinctrl-names = "default";
484 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Bo Shen315656b2012-12-13 10:05:07 +0800485 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800486 };
487
488 ssc1: ssc@fffa0000 {
489 compatible = "atmel,at91sam9g45-ssc";
490 reg = <0xfffa0000 0x4000>;
491 interrupts = <17 4 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100492 pinctrl-names = "default";
493 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Bo Shen315656b2012-12-13 10:05:07 +0800494 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800495 };
496
Maxime Ripard93b298b2012-05-11 15:35:38 +0200497 adc0: adc@fffb0000 {
498 compatible = "atmel,at91sam9260-adc";
499 reg = <0xfffb0000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200500 interrupts = <20 4 0>;
Maxime Ripard93b298b2012-05-11 15:35:38 +0200501 atmel,adc-use-external-triggers;
502 atmel,adc-channels-used = <0xff>;
503 atmel,adc-vref = <3300>;
504 atmel,adc-num-channels = <8>;
505 atmel,adc-startup-time = <40>;
506 atmel,adc-channel-base = <0x30>;
507 atmel,adc-drdy-mask = <0x10000>;
508 atmel,adc-status-register = <0x1c>;
509 atmel,adc-trigger-register = <0x08>;
Ludovic Desroches4b50da652013-03-29 10:13:19 +0100510 atmel,adc-res = <8 10>;
511 atmel,adc-res-names = "lowres", "highres";
512 atmel,adc-use-res = "highres";
Maxime Ripard93b298b2012-05-11 15:35:38 +0200513
514 trigger@0 {
515 trigger-name = "external-rising";
516 trigger-value = <0x1>;
517 trigger-external;
518 };
519 trigger@1 {
520 trigger-name = "external-falling";
521 trigger-value = <0x2>;
522 trigger-external;
523 };
524
525 trigger@2 {
526 trigger-name = "external-any";
527 trigger-value = <0x3>;
528 trigger-external;
529 };
530
531 trigger@3 {
532 trigger-name = "continuous";
533 trigger-value = <0x6>;
534 };
535 };
Ludovic Desroches98731372012-11-19 12:23:36 +0100536
537 mmc0: mmc@fff80000 {
538 compatible = "atmel,hsmci";
539 reg = <0xfff80000 0x600>;
540 interrupts = <11 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200541 dmas = <&dma 1 0>;
542 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100543 #address-cells = <1>;
544 #size-cells = <0>;
545 status = "disabled";
546 };
547
548 mmc1: mmc@fffd0000 {
549 compatible = "atmel,hsmci";
550 reg = <0xfffd0000 0x600>;
551 interrupts = <29 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200552 dmas = <&dma 1 13>;
553 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100554 #address-cells = <1>;
555 #size-cells = <0>;
556 status = "disabled";
557 };
Linus Torvaldsdb5b0ae2012-12-13 10:39:26 -0800558
Fabio Porcedda7492e7c2012-11-12 09:37:26 +0100559 watchdog@fffffd40 {
560 compatible = "atmel,at91sam9260-wdt";
561 reg = <0xfffffd40 0x10>;
562 status = "disabled";
563 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800564
565 spi0: spi@fffa4000 {
566 #address-cells = <1>;
567 #size-cells = <0>;
568 compatible = "atmel,at91rm9200-spi";
569 reg = <0xfffa4000 0x200>;
570 interrupts = <14 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800571 pinctrl-names = "default";
572 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800573 status = "disabled";
574 };
575
576 spi1: spi@fffa8000 {
577 #address-cells = <1>;
578 #size-cells = <0>;
579 compatible = "atmel,at91rm9200-spi";
580 reg = <0xfffa8000 0x200>;
581 interrupts = <15 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800582 pinctrl-names = "default";
583 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800584 status = "disabled";
585 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200586 };
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +0800587
588 nand0: nand@40000000 {
589 compatible = "atmel,at91rm9200-nand";
590 #address-cells = <1>;
591 #size-cells = <1>;
592 reg = <0x40000000 0x10000000
593 0xffffe200 0x200
594 >;
595 atmel,nand-addr-offset = <21>;
596 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800597 pinctrl-names = "default";
598 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +0800599 gpios = <&pioC 8 0
600 &pioC 14 0
601 0
602 >;
603 status = "disabled";
604 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800605
606 usb0: ohci@00700000 {
607 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
608 reg = <0x00700000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200609 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800610 status = "disabled";
611 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800612
613 usb1: ehci@00800000 {
614 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
615 reg = <0x00800000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200616 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800617 status = "disabled";
618 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200619 };
Jean-Christophe PLAGNIOL-VILLARD8f24bda2012-02-05 18:32:37 +0800620
621 i2c@0 {
622 compatible = "i2c-gpio";
623 gpios = <&pioA 20 0 /* sda */
624 &pioA 21 0 /* scl */
625 >;
626 i2c-gpio,sda-open-drain;
627 i2c-gpio,scl-open-drain;
628 i2c-gpio,delay-us = <5>; /* ~100 kHz */
629 #address-cells = <1>;
630 #size-cells = <0>;
631 status = "disabled";
632 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200633};