blob: 949b8ea2ec0d4a86f48e822e4088d540f320fbc2 [file] [log] [blame]
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001/*
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
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 Ferre467f1cf2012-01-26 11:59:20 +010014
15/ {
16 model = "Atmel AT91SAM9x5 family SoC";
17 compatible = "atmel,at91sam9x5";
18 interrupt-parent = <&aic>;
19
20 aliases {
21 serial0 = &dbgu;
22 serial1 = &usart0;
23 serial2 = &usart1;
24 serial3 = &usart2;
25 gpio0 = &pioA;
26 gpio1 = &pioB;
27 gpio2 = &pioC;
28 gpio3 = &pioD;
29 tcb0 = &tcb0;
30 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020031 i2c0 = &i2c0;
32 i2c1 = &i2c1;
33 i2c2 = &i2c2;
Bo Shen099343c2012-11-07 11:41:41 +080034 ssc0 = &ssc0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010035 };
36 cpus {
37 cpu@0 {
38 compatible = "arm,arm926ejs";
39 };
40 };
41
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020042 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010043 reg = <0x20000000 0x10000000>;
44 };
45
46 ahb {
47 compatible = "simple-bus";
48 #address-cells = <1>;
49 #size-cells = <1>;
50 ranges;
51
52 apb {
53 compatible = "simple-bus";
54 #address-cells = <1>;
55 #size-cells = <1>;
56 ranges;
57
58 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020059 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010060 compatible = "atmel,at91rm9200-aic";
61 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010062 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080063 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010064 };
65
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080066 ramc0: ramc@ffffe800 {
67 compatible = "atmel,at91sam9g45-ddramc";
68 reg = <0xffffe800 0x200>;
69 };
70
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080071 pmc: pmc@fffffc00 {
72 compatible = "atmel,at91rm9200-pmc";
73 reg = <0xfffffc00 0x100>;
74 };
75
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080076 rstc@fffffe00 {
77 compatible = "atmel,at91sam9g45-rstc";
78 reg = <0xfffffe00 0x10>;
79 };
80
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080081 shdwc@fffffe10 {
82 compatible = "atmel,at91sam9x5-shdwc";
83 reg = <0xfffffe10 0x10>;
84 };
85
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010086 pit: timer@fffffe30 {
87 compatible = "atmel,at91sam9260-pit";
88 reg = <0xfffffe30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020089 interrupts = <1 4 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010090 };
91
92 tcb0: timer@f8008000 {
93 compatible = "atmel,at91sam9x5-tcb";
94 reg = <0xf8008000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020095 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010096 };
97
98 tcb1: timer@f800c000 {
99 compatible = "atmel,at91sam9x5-tcb";
100 reg = <0xf800c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200101 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100102 };
103
104 dma0: dma-controller@ffffec00 {
105 compatible = "atmel,at91sam9g45-dma";
106 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200107 interrupts = <20 4 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200108 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100109 };
110
111 dma1: dma-controller@ffffee00 {
112 compatible = "atmel,at91sam9g45-dma";
113 reg = <0xffffee00 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 Ferre467f1cf2012-01-26 11:59:20 +0100116 };
117
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800118 pinctrl@fffff400 {
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800119 #address-cells = <1>;
120 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800121 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800122 ranges = <0xfffff400 0xfffff400 0x800>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100123
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800124 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800125 dbgu {
126 pinctrl_dbgu: dbgu-0 {
127 atmel,pins =
128 <0 9 0x1 0x0 /* PA9 periph A */
129 0 10 0x1 0x1>; /* PA10 periph A with pullup */
130 };
131 };
132
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800133 usart0 {
134 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800135 atmel,pins =
136 <0 0 0x1 0x1 /* PA0 periph A with pullup */
137 0 1 0x1 0x0>; /* PA1 periph A */
138 };
139
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800140 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800141 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800142 <0 2 0x1 0x0>; /* PA2 periph A */
143 };
144
145 pinctrl_usart0_cts: usart0_cts-0 {
146 atmel,pins =
147 <0 3 0x1 0x0>; /* PA3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800148 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000149
150 pinctrl_usart0_sck: usart0_sck-0 {
151 atmel,pins =
152 <0 4 0x1 0x0>; /* PA4 periph A */
153 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800154 };
155
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800156 usart1 {
157 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800158 atmel,pins =
159 <0 5 0x1 0x1 /* PA5 periph A with pullup */
160 0 6 0x1 0x0>; /* PA6 periph A */
161 };
162
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800163 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800164 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000165 <2 27 0x3 0x0>; /* PC27 periph C */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800166 };
167
168 pinctrl_usart1_cts: usart1_cts-0 {
169 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000170 <2 28 0x3 0x0>; /* PC28 periph C */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800171 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000172
173 pinctrl_usart1_sck: usart1_sck-0 {
174 atmel,pins =
175 <2 28 0x3 0x0>; /* PC29 periph C */
176 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800177 };
178
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800179 usart2 {
180 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800181 atmel,pins =
182 <0 7 0x1 0x1 /* PA7 periph A with pullup */
183 0 8 0x1 0x0>; /* PA8 periph A */
184 };
185
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800186 pinctrl_uart2_rts: uart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800187 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000188 <1 0 0x2 0x0>; /* PB0 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800189 };
190
191 pinctrl_uart2_cts: uart2_cts-0 {
192 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000193 <1 1 0x2 0x0>; /* PB1 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800194 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000195
196 pinctrl_usart2_sck: usart2_sck-0 {
197 atmel,pins =
198 <1 2 0x2 0x0>; /* PB2 periph B */
199 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800200 };
201
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800202 usart3 {
Robert Nelson65a0fe02013-01-28 09:43:36 -0600203 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800204 atmel,pins =
Douglas Gilbert7d4cfec2013-01-30 10:09:17 +0100205 <2 22 0x2 0x1 /* PC22 periph B with pullup */
Richard Genoudc89cec32013-01-18 16:41:21 +0000206 2 23 0x2 0x0>; /* PC23 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800207 };
208
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800209 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800210 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000211 <2 24 0x2 0x0>; /* PC24 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800212 };
213
214 pinctrl_usart3_cts: usart3_cts-0 {
215 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000216 <2 25 0x2 0x0>; /* PC25 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800217 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000218
219 pinctrl_usart3_sck: usart3_sck-0 {
220 atmel,pins =
221 <2 26 0x2 0x0>; /* PC26 periph B */
222 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800223 };
224
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800225 uart0 {
226 pinctrl_uart0: uart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800227 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000228 <2 8 0x3 0x0 /* PC8 periph C */
229 2 9 0x3 0x1>; /* PC9 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800230 };
231 };
232
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800233 uart1 {
234 pinctrl_uart1: uart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800235 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000236 <2 16 0x3 0x0 /* PC16 periph C */
237 2 17 0x3 0x1>; /* PC17 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800238 };
239 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800240
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800241 nand {
242 pinctrl_nand: nand-0 {
243 atmel,pins =
Richard Genoud7f064722013-03-11 15:12:40 +0100244 <3 0 0x1 0x0 /* PD0 periph A Read Enable */
245 3 1 0x1 0x0 /* PD1 periph A Write Enable */
246 3 2 0x1 0x0 /* PD2 periph A Address Latch Enable */
247 3 3 0x1 0x0 /* PD3 periph A Command Latch Enable */
248 3 4 0x0 0x1 /* PD4 gpio Chip Enable pin pull_up */
249 3 5 0x0 0x1 /* PD5 gpio RDY/BUSY pin pull_up */
250 3 6 0x1 0x0 /* PD6 periph A Data bit 0 */
251 3 7 0x1 0x0 /* PD7 periph A Data bit 1 */
252 3 8 0x1 0x0 /* PD8 periph A Data bit 2 */
253 3 9 0x1 0x0 /* PD9 periph A Data bit 3 */
254 3 10 0x1 0x0 /* PD10 periph A Data bit 4 */
255 3 11 0x1 0x0 /* PD11 periph A Data bit 5 */
256 3 12 0x1 0x0 /* PD12 periph A Data bit 6 */
257 3 13 0x1 0x0>; /* PD13 periph A Data bit 7 */
258 };
259
260 pinctrl_nand_16bits: nand_16bits-0 {
261 atmel,pins =
262 <3 14 0x1 0x0 /* PD14 periph A Data bit 8 */
263 3 15 0x1 0x0 /* PD15 periph A Data bit 9 */
264 3 16 0x1 0x0 /* PD16 periph A Data bit 10 */
265 3 17 0x1 0x0 /* PD17 periph A Data bit 11 */
266 3 18 0x1 0x0 /* PD18 periph A Data bit 12 */
267 3 19 0x1 0x0 /* PD19 periph A Data bit 13 */
268 3 20 0x1 0x0 /* PD20 periph A Data bit 14 */
269 3 21 0x1 0x0>; /* PD21 periph A Data bit 15 */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800270 };
271 };
272
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800273 macb0 {
274 pinctrl_macb0_rmii: macb0_rmii-0 {
275 atmel,pins =
276 <1 0 0x1 0x0 /* PB0 periph A */
277 1 1 0x1 0x0 /* PB1 periph A */
278 1 2 0x1 0x0 /* PB2 periph A */
279 1 3 0x1 0x0 /* PB3 periph A */
280 1 4 0x1 0x0 /* PB4 periph A */
281 1 5 0x1 0x0 /* PB5 periph A */
282 1 6 0x1 0x0 /* PB6 periph A */
283 1 7 0x1 0x0 /* PB7 periph A */
284 1 9 0x1 0x0 /* PB9 periph A */
285 1 10 0x1 0x0>; /* PB10 periph A */
286 };
287
288 pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
289 atmel,pins =
Douglas Gilbert8461c2f2013-01-23 09:50:02 +0100290 <1 8 0x1 0x0 /* PB8 periph A */
291 1 11 0x1 0x0 /* PB11 periph A */
292 1 12 0x1 0x0 /* PB12 periph A */
293 1 13 0x1 0x0 /* PB13 periph A */
294 1 14 0x1 0x0 /* PB14 periph A */
295 1 15 0x1 0x0 /* PB15 periph A */
296 1 16 0x1 0x0 /* PB16 periph A */
297 1 17 0x1 0x0>; /* PB17 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800298 };
299 };
300
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800301 mmc0 {
302 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
303 atmel,pins =
304 <0 17 0x1 0x0 /* PA17 periph A */
305 0 16 0x1 0x1 /* PA16 periph A with pullup */
306 0 15 0x1 0x1>; /* PA15 periph A with pullup */
307 };
308
309 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
310 atmel,pins =
311 <0 18 0x1 0x1 /* PA18 periph A with pullup */
312 0 19 0x1 0x1 /* PA19 periph A with pullup */
313 0 20 0x1 0x1>; /* PA20 periph A with pullup */
314 };
315 };
316
317 mmc1 {
318 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
319 atmel,pins =
320 <0 13 0x2 0x0 /* PA13 periph B */
321 0 12 0x2 0x1 /* PA12 periph B with pullup */
322 0 11 0x2 0x1>; /* PA11 periph B with pullup */
323 };
324
325 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
326 atmel,pins =
327 <0 2 0x2 0x1 /* PA2 periph B with pullup */
328 0 3 0x2 0x1 /* PA3 periph B with pullup */
329 0 4 0x2 0x1>; /* PA4 periph B with pullup */
330 };
331 };
332
Bo Shen544ae6b2013-01-11 15:08:30 +0100333 ssc0 {
334 pinctrl_ssc0_tx: ssc0_tx-0 {
335 atmel,pins =
336 <0 24 0x2 0x0 /* PA24 periph B */
337 0 25 0x2 0x0 /* PA25 periph B */
338 0 26 0x2 0x0>; /* PA26 periph B */
339 };
340
341 pinctrl_ssc0_rx: ssc0_rx-0 {
342 atmel,pins =
343 <0 27 0x2 0x0 /* PA27 periph B */
344 0 28 0x2 0x0 /* PA28 periph B */
345 0 29 0x2 0x0>; /* PA29 periph B */
346 };
347 };
348
Wenyou Yanga68b7282013-04-03 14:03:52 +0800349 spi0 {
350 pinctrl_spi0: spi0-0 {
351 atmel,pins =
352 <0 11 0x1 0x0 /* PA11 periph A SPI0_MISO pin */
353 0 12 0x1 0x0 /* PA12 periph A SPI0_MOSI pin */
354 0 13 0x1 0x0>; /* PA13 periph A SPI0_SPCK pin */
355 };
356 };
357
358 spi1 {
359 pinctrl_spi1: spi1-0 {
360 atmel,pins =
361 <0 21 0x2 0x0 /* PA21 periph B SPI1_MISO pin */
362 0 22 0x2 0x0 /* PA22 periph B SPI1_MOSI pin */
363 0 23 0x2 0x0>; /* PA23 periph B SPI1_SPCK pin */
364 };
365 };
366
Richard Genoude9a72ee2013-03-12 17:54:45 +0100367 i2c0 {
368 pinctrl_i2c0: i2c0-0 {
369 atmel,pins =
370 <0 30 0x1 0x0 /* PA30 periph A I2C0 data */
371 0 31 0x1 0x0>; /* PA31 periph A I2C0 clock */
372 };
373 };
374
375 i2c1 {
376 pinctrl_i2c1: i2c1-0 {
377 atmel,pins =
378 <2 0 0x3 0x0 /* PC0 periph C I2C1 data */
379 2 1 0x3 0x0>; /* PC1 periph C I2C1 clock */
380 };
381 };
382
383 i2c2 {
384 pinctrl_i2c2: i2c2-0 {
385 atmel,pins =
386 <1 4 0x2 0x0 /* PB4 periph B I2C2 data */
387 1 5 0x2 0x0>; /* PB5 periph B I2C2 clock */
388 };
389 };
390
Richard Genoud463c9c72013-03-12 17:54:46 +0100391 i2c_gpio0 {
392 pinctrl_i2c_gpio0: i2c_gpio0-0 {
393 atmel,pins =
394 <0 30 0x0 0x2 /* PA30 gpio multidrive I2C0 data */
395 0 31 0x0 0x2>; /* PA31 gpio multidrive I2C0 clock */
396 };
397 };
398
399 i2c_gpio1 {
400 pinctrl_i2c_gpio1: i2c_gpio1-0 {
401 atmel,pins =
402 <2 0 0x0 0x2 /* PC0 gpio multidrive I2C1 data */
403 2 1 0x0 0x2>; /* PC1 gpio multidrive I2C1 clock */
404 };
405 };
406
407 i2c_gpio2 {
408 pinctrl_i2c_gpio2: i2c_gpio2-0 {
409 atmel,pins =
410 <1 4 0x0 0x2 /* PB4 gpio multidrive I2C2 data */
411 1 5 0x0 0x2>; /* PB5 gpio multidrive I2C2 clock */
412 };
413 };
414
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800415 pioA: gpio@fffff400 {
416 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
417 reg = <0xfffff400 0x200>;
418 interrupts = <2 4 1>;
419 #gpio-cells = <2>;
420 gpio-controller;
421 interrupt-controller;
422 #interrupt-cells = <2>;
423 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100424
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800425 pioB: gpio@fffff600 {
426 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
427 reg = <0xfffff600 0x200>;
428 interrupts = <2 4 1>;
429 #gpio-cells = <2>;
430 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800431 #gpio-lines = <19>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800432 interrupt-controller;
433 #interrupt-cells = <2>;
434 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100435
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800436 pioC: gpio@fffff800 {
437 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
438 reg = <0xfffff800 0x200>;
439 interrupts = <3 4 1>;
440 #gpio-cells = <2>;
441 gpio-controller;
442 interrupt-controller;
443 #interrupt-cells = <2>;
444 };
445
446 pioD: gpio@fffffa00 {
447 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
448 reg = <0xfffffa00 0x200>;
449 interrupts = <3 4 1>;
450 #gpio-cells = <2>;
451 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800452 #gpio-lines = <22>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800453 interrupt-controller;
454 #interrupt-cells = <2>;
455 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100456 };
457
Bo Shen544ae6b2013-01-11 15:08:30 +0100458 ssc0: ssc@f0010000 {
459 compatible = "atmel,at91sam9g45-ssc";
460 reg = <0xf0010000 0x4000>;
461 interrupts = <28 4 5>;
462 pinctrl-names = "default";
463 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
464 status = "disabled";
465 };
466
Ludovic Desroches98731372012-11-19 12:23:36 +0100467 mmc0: mmc@f0008000 {
468 compatible = "atmel,hsmci";
469 reg = <0xf0008000 0x600>;
470 interrupts = <12 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200471 dmas = <&dma0 1 0>;
472 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100473 #address-cells = <1>;
474 #size-cells = <0>;
475 status = "disabled";
476 };
477
478 mmc1: mmc@f000c000 {
479 compatible = "atmel,hsmci";
480 reg = <0xf000c000 0x600>;
481 interrupts = <26 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200482 dmas = <&dma1 1 0>;
483 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100484 #address-cells = <1>;
485 #size-cells = <0>;
486 status = "disabled";
487 };
488
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100489 dbgu: serial@fffff200 {
490 compatible = "atmel,at91sam9260-usart";
491 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200492 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800493 pinctrl-names = "default";
494 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100495 status = "disabled";
496 };
497
498 usart0: serial@f801c000 {
499 compatible = "atmel,at91sam9260-usart";
500 reg = <0xf801c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200501 interrupts = <5 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800502 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800503 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100504 status = "disabled";
505 };
506
507 usart1: serial@f8020000 {
508 compatible = "atmel,at91sam9260-usart";
509 reg = <0xf8020000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200510 interrupts = <6 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800511 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800512 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100513 status = "disabled";
514 };
515
516 usart2: serial@f8024000 {
517 compatible = "atmel,at91sam9260-usart";
518 reg = <0xf8024000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200519 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800520 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800521 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100522 status = "disabled";
523 };
524
525 macb0: ethernet@f802c000 {
526 compatible = "cdns,at32ap7000-macb", "cdns,macb";
527 reg = <0xf802c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200528 interrupts = <24 4 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800529 pinctrl-names = "default";
530 pinctrl-0 = <&pinctrl_macb0_rmii>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100531 status = "disabled";
532 };
533
534 macb1: ethernet@f8030000 {
535 compatible = "cdns,at32ap7000-macb", "cdns,macb";
536 reg = <0xf8030000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200537 interrupts = <27 4 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100538 status = "disabled";
539 };
Maxime Ripardd029f372012-05-11 15:35:39 +0200540
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200541 i2c0: i2c@f8010000 {
542 compatible = "atmel,at91sam9x5-i2c";
543 reg = <0xf8010000 0x100>;
544 interrupts = <9 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200545 dmas = <&dma0 1 7>,
546 <&dma0 1 8>;
547 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200548 #address-cells = <1>;
549 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100550 pinctrl-names = "default";
551 pinctrl-0 = <&pinctrl_i2c0>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200552 status = "disabled";
553 };
554
555 i2c1: i2c@f8014000 {
556 compatible = "atmel,at91sam9x5-i2c";
557 reg = <0xf8014000 0x100>;
558 interrupts = <10 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200559 dmas = <&dma1 1 5>,
560 <&dma1 1 6>;
561 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200562 #address-cells = <1>;
563 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100564 pinctrl-names = "default";
565 pinctrl-0 = <&pinctrl_i2c1>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200566 status = "disabled";
567 };
568
569 i2c2: i2c@f8018000 {
570 compatible = "atmel,at91sam9x5-i2c";
571 reg = <0xf8018000 0x100>;
572 interrupts = <11 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200573 dmas = <&dma0 1 9>,
574 <&dma0 1 10>;
575 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200576 #address-cells = <1>;
577 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100578 pinctrl-names = "default";
579 pinctrl-0 = <&pinctrl_i2c2>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200580 status = "disabled";
581 };
582
Maxime Ripardd029f372012-05-11 15:35:39 +0200583 adc0: adc@f804c000 {
584 compatible = "atmel,at91sam9260-adc";
585 reg = <0xf804c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200586 interrupts = <19 4 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200587 atmel,adc-use-external;
588 atmel,adc-channels-used = <0xffff>;
589 atmel,adc-vref = <3300>;
590 atmel,adc-num-channels = <12>;
591 atmel,adc-startup-time = <40>;
592 atmel,adc-channel-base = <0x50>;
593 atmel,adc-drdy-mask = <0x1000000>;
594 atmel,adc-status-register = <0x30>;
595 atmel,adc-trigger-register = <0xc0>;
Ludovic Desroches4b50da652013-03-29 10:13:19 +0100596 atmel,adc-res = <8 10>;
597 atmel,adc-res-names = "lowres", "highres";
598 atmel,adc-use-res = "highres";
Maxime Ripardd029f372012-05-11 15:35:39 +0200599
600 trigger@0 {
601 trigger-name = "external-rising";
602 trigger-value = <0x1>;
603 trigger-external;
604 };
605
606 trigger@1 {
607 trigger-name = "external-falling";
608 trigger-value = <0x2>;
609 trigger-external;
610 };
611
612 trigger@2 {
613 trigger-name = "external-any";
614 trigger-value = <0x3>;
615 trigger-external;
616 };
617
618 trigger@3 {
619 trigger-name = "continuous";
620 trigger-value = <0x6>;
621 };
622 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800623
624 spi0: spi@f0000000 {
625 #address-cells = <1>;
626 #size-cells = <0>;
627 compatible = "atmel,at91rm9200-spi";
628 reg = <0xf0000000 0x100>;
629 interrupts = <13 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800630 pinctrl-names = "default";
631 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800632 status = "disabled";
633 };
634
635 spi1: spi@f0004000 {
636 #address-cells = <1>;
637 #size-cells = <0>;
638 compatible = "atmel,at91rm9200-spi";
639 reg = <0xf0004000 0x100>;
640 interrupts = <14 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800641 pinctrl-names = "default";
642 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800643 status = "disabled";
644 };
Linus Torvaldsdfab34a2013-05-02 09:28:03 -0700645
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100646 rtc@fffffeb0 {
647 compatible = "atmel,at91rm9200-rtc";
648 reg = <0xfffffeb0 0x40>;
649 interrupts = <1 4 7>;
650 status = "disabled";
651 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100652 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800653
654 nand0: nand@40000000 {
655 compatible = "atmel,at91rm9200-nand";
656 #address-cells = <1>;
657 #size-cells = <1>;
658 reg = <0x40000000 0x10000000
Josh Wu5314bc22013-01-23 20:47:09 +0800659 0xffffe000 0x600 /* PMECC Registers */
660 0xffffe600 0x200 /* PMECC Error Location Registers */
661 0x00108000 0x18000 /* PMECC looup table in ROM code */
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800662 >;
Josh Wu5314bc22013-01-23 20:47:09 +0800663 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800664 atmel,nand-addr-offset = <21>;
665 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800666 pinctrl-names = "default";
667 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800668 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
669 &pioD 4 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800670 0
671 >;
672 status = "disabled";
673 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800674
675 usb0: ohci@00600000 {
676 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
677 reg = <0x00600000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200678 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800679 status = "disabled";
680 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800681
682 usb1: ehci@00700000 {
683 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
684 reg = <0x00700000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200685 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800686 status = "disabled";
687 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100688 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800689
690 i2c@0 {
691 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800692 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
693 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800694 >;
695 i2c-gpio,sda-open-drain;
696 i2c-gpio,scl-open-drain;
697 i2c-gpio,delay-us = <2>; /* ~100 kHz */
698 #address-cells = <1>;
699 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100700 pinctrl-names = "default";
701 pinctrl-0 = <&pinctrl_i2c_gpio0>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800702 status = "disabled";
703 };
704
705 i2c@1 {
706 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800707 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
708 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800709 >;
710 i2c-gpio,sda-open-drain;
711 i2c-gpio,scl-open-drain;
712 i2c-gpio,delay-us = <2>; /* ~100 kHz */
713 #address-cells = <1>;
714 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100715 pinctrl-names = "default";
716 pinctrl-0 = <&pinctrl_i2c_gpio1>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800717 status = "disabled";
718 };
719
720 i2c@2 {
721 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800722 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
723 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800724 >;
725 i2c-gpio,sda-open-drain;
726 i2c-gpio,scl-open-drain;
727 i2c-gpio,delay-us = <2>; /* ~100 kHz */
728 #address-cells = <1>;
729 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100730 pinctrl-names = "default";
731 pinctrl-0 = <&pinctrl_i2c_gpio2>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800732 status = "disabled";
733 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100734};