blob: ffd450fbde106d9d9a3887e01fe99f48a1cbd466 [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
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;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020030 i2c0 = &i2c0;
31 i2c1 = &i2c1;
32 i2c2 = &i2c2;
Bo Shen099343c2012-11-07 11:41:41 +080033 ssc0 = &ssc0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010034 };
35 cpus {
36 cpu@0 {
37 compatible = "arm,arm926ejs";
38 };
39 };
40
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020041 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010042 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 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020058 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010059 compatible = "atmel,at91rm9200-aic";
60 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010061 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080062 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010063 };
64
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080065 ramc0: ramc@ffffe800 {
66 compatible = "atmel,at91sam9g45-ddramc";
67 reg = <0xffffe800 0x200>;
68 };
69
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080070 pmc: pmc@fffffc00 {
71 compatible = "atmel,at91rm9200-pmc";
72 reg = <0xfffffc00 0x100>;
73 };
74
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080075 rstc@fffffe00 {
76 compatible = "atmel,at91sam9g45-rstc";
77 reg = <0xfffffe00 0x10>;
78 };
79
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080080 shdwc@fffffe10 {
81 compatible = "atmel,at91sam9x5-shdwc";
82 reg = <0xfffffe10 0x10>;
83 };
84
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010085 pit: timer@fffffe30 {
86 compatible = "atmel,at91sam9260-pit";
87 reg = <0xfffffe30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020088 interrupts = <1 4 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010089 };
90
91 tcb0: timer@f8008000 {
92 compatible = "atmel,at91sam9x5-tcb";
93 reg = <0xf8008000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020094 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010095 };
96
97 tcb1: timer@f800c000 {
98 compatible = "atmel,at91sam9x5-tcb";
99 reg = <0xf800c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200100 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100101 };
102
103 dma0: dma-controller@ffffec00 {
104 compatible = "atmel,at91sam9g45-dma";
105 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200106 interrupts = <20 4 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200107 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100108 };
109
110 dma1: dma-controller@ffffee00 {
111 compatible = "atmel,at91sam9g45-dma";
112 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200113 interrupts = <21 4 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200114 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100115 };
116
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800117 pinctrl@fffff400 {
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800118 #address-cells = <1>;
119 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800120 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800121 ranges = <0xfffff400 0xfffff400 0x800>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100122
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800123 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800124 dbgu {
125 pinctrl_dbgu: dbgu-0 {
126 atmel,pins =
127 <0 9 0x1 0x0 /* PA9 periph A */
128 0 10 0x1 0x1>; /* PA10 periph A with pullup */
129 };
130 };
131
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800132 usart0 {
133 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800134 atmel,pins =
135 <0 0 0x1 0x1 /* PA0 periph A with pullup */
136 0 1 0x1 0x0>; /* PA1 periph A */
137 };
138
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800139 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800140 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800141 <0 2 0x1 0x0>; /* PA2 periph A */
142 };
143
144 pinctrl_usart0_cts: usart0_cts-0 {
145 atmel,pins =
146 <0 3 0x1 0x0>; /* PA3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800147 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000148
149 pinctrl_usart0_sck: usart0_sck-0 {
150 atmel,pins =
151 <0 4 0x1 0x0>; /* PA4 periph A */
152 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800153 };
154
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800155 usart1 {
156 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800157 atmel,pins =
158 <0 5 0x1 0x1 /* PA5 periph A with pullup */
159 0 6 0x1 0x0>; /* PA6 periph A */
160 };
161
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800162 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800163 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000164 <2 27 0x3 0x0>; /* PC27 periph C */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800165 };
166
167 pinctrl_usart1_cts: usart1_cts-0 {
168 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000169 <2 28 0x3 0x0>; /* PC28 periph C */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800170 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000171
172 pinctrl_usart1_sck: usart1_sck-0 {
173 atmel,pins =
174 <2 28 0x3 0x0>; /* PC29 periph C */
175 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800176 };
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 <0 7 0x1 0x1 /* PA7 periph A with pullup */
182 0 8 0x1 0x0>; /* PA8 periph A */
183 };
184
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800185 pinctrl_uart2_rts: uart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800186 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000187 <1 0 0x2 0x0>; /* PB0 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800188 };
189
190 pinctrl_uart2_cts: uart2_cts-0 {
191 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000192 <1 1 0x2 0x0>; /* PB1 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800193 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000194
195 pinctrl_usart2_sck: usart2_sck-0 {
196 atmel,pins =
197 <1 2 0x2 0x0>; /* PB2 periph B */
198 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800199 };
200
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800201 usart3 {
Robert Nelson65a0fe02013-01-28 09:43:36 -0600202 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800203 atmel,pins =
Douglas Gilbert7d4cfec2013-01-30 10:09:17 +0100204 <2 22 0x2 0x1 /* PC22 periph B with pullup */
Richard Genoudc89cec32013-01-18 16:41:21 +0000205 2 23 0x2 0x0>; /* PC23 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800206 };
207
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800208 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800209 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000210 <2 24 0x2 0x0>; /* PC24 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800211 };
212
213 pinctrl_usart3_cts: usart3_cts-0 {
214 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000215 <2 25 0x2 0x0>; /* PC25 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800216 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000217
218 pinctrl_usart3_sck: usart3_sck-0 {
219 atmel,pins =
220 <2 26 0x2 0x0>; /* PC26 periph B */
221 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800222 };
223
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800224 uart0 {
225 pinctrl_uart0: uart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800226 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000227 <2 8 0x3 0x0 /* PC8 periph C */
228 2 9 0x3 0x1>; /* PC9 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800229 };
230 };
231
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800232 uart1 {
233 pinctrl_uart1: uart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800234 atmel,pins =
Richard Genoudc89cec32013-01-18 16:41:21 +0000235 <2 16 0x3 0x0 /* PC16 periph C */
236 2 17 0x3 0x1>; /* PC17 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800237 };
238 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800239
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800240 nand {
241 pinctrl_nand: nand-0 {
242 atmel,pins =
243 <3 4 0x0 0x1 /* PD5 gpio RDY pin pull_up */
244 3 5 0x0 0x1>; /* PD4 gpio enable pin pull_up */
245 };
246 };
247
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800248 macb0 {
249 pinctrl_macb0_rmii: macb0_rmii-0 {
250 atmel,pins =
251 <1 0 0x1 0x0 /* PB0 periph A */
252 1 1 0x1 0x0 /* PB1 periph A */
253 1 2 0x1 0x0 /* PB2 periph A */
254 1 3 0x1 0x0 /* PB3 periph A */
255 1 4 0x1 0x0 /* PB4 periph A */
256 1 5 0x1 0x0 /* PB5 periph A */
257 1 6 0x1 0x0 /* PB6 periph A */
258 1 7 0x1 0x0 /* PB7 periph A */
259 1 9 0x1 0x0 /* PB9 periph A */
260 1 10 0x1 0x0>; /* PB10 periph A */
261 };
262
263 pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
264 atmel,pins =
Douglas Gilbert8461c2f2013-01-23 09:50:02 +0100265 <1 8 0x1 0x0 /* PB8 periph A */
266 1 11 0x1 0x0 /* PB11 periph A */
267 1 12 0x1 0x0 /* PB12 periph A */
268 1 13 0x1 0x0 /* PB13 periph A */
269 1 14 0x1 0x0 /* PB14 periph A */
270 1 15 0x1 0x0 /* PB15 periph A */
271 1 16 0x1 0x0 /* PB16 periph A */
272 1 17 0x1 0x0>; /* PB17 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800273 };
274 };
275
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800276 mmc0 {
277 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
278 atmel,pins =
279 <0 17 0x1 0x0 /* PA17 periph A */
280 0 16 0x1 0x1 /* PA16 periph A with pullup */
281 0 15 0x1 0x1>; /* PA15 periph A with pullup */
282 };
283
284 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
285 atmel,pins =
286 <0 18 0x1 0x1 /* PA18 periph A with pullup */
287 0 19 0x1 0x1 /* PA19 periph A with pullup */
288 0 20 0x1 0x1>; /* PA20 periph A with pullup */
289 };
290 };
291
292 mmc1 {
293 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
294 atmel,pins =
295 <0 13 0x2 0x0 /* PA13 periph B */
296 0 12 0x2 0x1 /* PA12 periph B with pullup */
297 0 11 0x2 0x1>; /* PA11 periph B with pullup */
298 };
299
300 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
301 atmel,pins =
302 <0 2 0x2 0x1 /* PA2 periph B with pullup */
303 0 3 0x2 0x1 /* PA3 periph B with pullup */
304 0 4 0x2 0x1>; /* PA4 periph B with pullup */
305 };
306 };
307
Bo Shen544ae6b2013-01-11 15:08:30 +0100308 ssc0 {
309 pinctrl_ssc0_tx: ssc0_tx-0 {
310 atmel,pins =
311 <0 24 0x2 0x0 /* PA24 periph B */
312 0 25 0x2 0x0 /* PA25 periph B */
313 0 26 0x2 0x0>; /* PA26 periph B */
314 };
315
316 pinctrl_ssc0_rx: ssc0_rx-0 {
317 atmel,pins =
318 <0 27 0x2 0x0 /* PA27 periph B */
319 0 28 0x2 0x0 /* PA28 periph B */
320 0 29 0x2 0x0>; /* PA29 periph B */
321 };
322 };
323
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800324 pioA: gpio@fffff400 {
325 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
326 reg = <0xfffff400 0x200>;
327 interrupts = <2 4 1>;
328 #gpio-cells = <2>;
329 gpio-controller;
330 interrupt-controller;
331 #interrupt-cells = <2>;
332 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100333
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800334 pioB: gpio@fffff600 {
335 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
336 reg = <0xfffff600 0x200>;
337 interrupts = <2 4 1>;
338 #gpio-cells = <2>;
339 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800340 #gpio-lines = <19>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800341 interrupt-controller;
342 #interrupt-cells = <2>;
343 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100344
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800345 pioC: gpio@fffff800 {
346 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
347 reg = <0xfffff800 0x200>;
348 interrupts = <3 4 1>;
349 #gpio-cells = <2>;
350 gpio-controller;
351 interrupt-controller;
352 #interrupt-cells = <2>;
353 };
354
355 pioD: gpio@fffffa00 {
356 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
357 reg = <0xfffffa00 0x200>;
358 interrupts = <3 4 1>;
359 #gpio-cells = <2>;
360 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800361 #gpio-lines = <22>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800362 interrupt-controller;
363 #interrupt-cells = <2>;
364 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100365 };
366
Bo Shen544ae6b2013-01-11 15:08:30 +0100367 ssc0: ssc@f0010000 {
368 compatible = "atmel,at91sam9g45-ssc";
369 reg = <0xf0010000 0x4000>;
370 interrupts = <28 4 5>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
373 status = "disabled";
374 };
375
Ludovic Desroches98731372012-11-19 12:23:36 +0100376 mmc0: mmc@f0008000 {
377 compatible = "atmel,hsmci";
378 reg = <0xf0008000 0x600>;
379 interrupts = <12 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200380 dmas = <&dma0 1 0>;
381 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100382 #address-cells = <1>;
383 #size-cells = <0>;
384 status = "disabled";
385 };
386
387 mmc1: mmc@f000c000 {
388 compatible = "atmel,hsmci";
389 reg = <0xf000c000 0x600>;
390 interrupts = <26 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200391 dmas = <&dma1 1 0>;
392 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100393 #address-cells = <1>;
394 #size-cells = <0>;
395 status = "disabled";
396 };
397
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100398 dbgu: serial@fffff200 {
399 compatible = "atmel,at91sam9260-usart";
400 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200401 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800402 pinctrl-names = "default";
403 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100404 status = "disabled";
405 };
406
407 usart0: serial@f801c000 {
408 compatible = "atmel,at91sam9260-usart";
409 reg = <0xf801c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200410 interrupts = <5 4 5>;
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 Ferre467f1cf2012-01-26 11:59:20 +0100413 status = "disabled";
414 };
415
416 usart1: serial@f8020000 {
417 compatible = "atmel,at91sam9260-usart";
418 reg = <0xf8020000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200419 interrupts = <6 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800420 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800421 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100422 status = "disabled";
423 };
424
425 usart2: serial@f8024000 {
426 compatible = "atmel,at91sam9260-usart";
427 reg = <0xf8024000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200428 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800429 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800430 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100431 status = "disabled";
432 };
433
434 macb0: ethernet@f802c000 {
435 compatible = "cdns,at32ap7000-macb", "cdns,macb";
436 reg = <0xf802c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200437 interrupts = <24 4 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800438 pinctrl-names = "default";
439 pinctrl-0 = <&pinctrl_macb0_rmii>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100440 status = "disabled";
441 };
442
443 macb1: ethernet@f8030000 {
444 compatible = "cdns,at32ap7000-macb", "cdns,macb";
445 reg = <0xf8030000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200446 interrupts = <27 4 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100447 status = "disabled";
448 };
Maxime Ripardd029f372012-05-11 15:35:39 +0200449
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200450 i2c0: i2c@f8010000 {
451 compatible = "atmel,at91sam9x5-i2c";
452 reg = <0xf8010000 0x100>;
453 interrupts = <9 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200454 dmas = <&dma0 1 7>,
455 <&dma0 1 8>;
456 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200457 #address-cells = <1>;
458 #size-cells = <0>;
459 status = "disabled";
460 };
461
462 i2c1: i2c@f8014000 {
463 compatible = "atmel,at91sam9x5-i2c";
464 reg = <0xf8014000 0x100>;
465 interrupts = <10 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200466 dmas = <&dma1 1 5>,
467 <&dma1 1 6>;
468 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200469 #address-cells = <1>;
470 #size-cells = <0>;
471 status = "disabled";
472 };
473
474 i2c2: i2c@f8018000 {
475 compatible = "atmel,at91sam9x5-i2c";
476 reg = <0xf8018000 0x100>;
477 interrupts = <11 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200478 dmas = <&dma0 1 9>,
479 <&dma0 1 10>;
480 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200481 #address-cells = <1>;
482 #size-cells = <0>;
483 status = "disabled";
484 };
485
Maxime Ripardd029f372012-05-11 15:35:39 +0200486 adc0: adc@f804c000 {
487 compatible = "atmel,at91sam9260-adc";
488 reg = <0xf804c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200489 interrupts = <19 4 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200490 atmel,adc-use-external;
491 atmel,adc-channels-used = <0xffff>;
492 atmel,adc-vref = <3300>;
493 atmel,adc-num-channels = <12>;
494 atmel,adc-startup-time = <40>;
495 atmel,adc-channel-base = <0x50>;
496 atmel,adc-drdy-mask = <0x1000000>;
497 atmel,adc-status-register = <0x30>;
498 atmel,adc-trigger-register = <0xc0>;
499
500 trigger@0 {
501 trigger-name = "external-rising";
502 trigger-value = <0x1>;
503 trigger-external;
504 };
505
506 trigger@1 {
507 trigger-name = "external-falling";
508 trigger-value = <0x2>;
509 trigger-external;
510 };
511
512 trigger@2 {
513 trigger-name = "external-any";
514 trigger-value = <0x3>;
515 trigger-external;
516 };
517
518 trigger@3 {
519 trigger-name = "continuous";
520 trigger-value = <0x6>;
521 };
522 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100523 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800524
525 nand0: nand@40000000 {
526 compatible = "atmel,at91rm9200-nand";
527 #address-cells = <1>;
528 #size-cells = <1>;
529 reg = <0x40000000 0x10000000
Josh Wu5314bc22013-01-23 20:47:09 +0800530 0xffffe000 0x600 /* PMECC Registers */
531 0xffffe600 0x200 /* PMECC Error Location Registers */
532 0x00108000 0x18000 /* PMECC looup table in ROM code */
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800533 >;
Josh Wu5314bc22013-01-23 20:47:09 +0800534 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800535 atmel,nand-addr-offset = <21>;
536 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800537 pinctrl-names = "default";
538 pinctrl-0 = <&pinctrl_nand>;
Nicolas Ferre43528082012-03-22 14:47:40 +0100539 gpios = <&pioD 5 0
540 &pioD 4 0
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800541 0
542 >;
543 status = "disabled";
544 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800545
546 usb0: ohci@00600000 {
547 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
548 reg = <0x00600000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200549 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800550 status = "disabled";
551 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800552
553 usb1: ehci@00700000 {
554 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
555 reg = <0x00700000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200556 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800557 status = "disabled";
558 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100559 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800560
561 i2c@0 {
562 compatible = "i2c-gpio";
563 gpios = <&pioA 30 0 /* sda */
564 &pioA 31 0 /* scl */
565 >;
566 i2c-gpio,sda-open-drain;
567 i2c-gpio,scl-open-drain;
568 i2c-gpio,delay-us = <2>; /* ~100 kHz */
569 #address-cells = <1>;
570 #size-cells = <0>;
571 status = "disabled";
572 };
573
574 i2c@1 {
575 compatible = "i2c-gpio";
576 gpios = <&pioC 0 0 /* sda */
577 &pioC 1 0 /* scl */
578 >;
579 i2c-gpio,sda-open-drain;
580 i2c-gpio,scl-open-drain;
581 i2c-gpio,delay-us = <2>; /* ~100 kHz */
582 #address-cells = <1>;
583 #size-cells = <0>;
584 status = "disabled";
585 };
586
587 i2c@2 {
588 compatible = "i2c-gpio";
589 gpios = <&pioB 4 0 /* sda */
590 &pioB 5 0 /* scl */
591 >;
592 i2c-gpio,sda-open-drain;
593 i2c-gpio,scl-open-drain;
594 i2c-gpio,delay-us = <2>; /* ~100 kHz */
595 #address-cells = <1>;
596 #size-cells = <0>;
597 status = "disabled";
598 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100599};