2 * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC
4 * Copyright (C) 2011 Atmel,
5 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
6 * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
8 * Licensed under GPLv2 or later.
11 /include/ "skeleton.dtsi"
14 model = "Atmel AT91SAM9260 family SoC";
15 compatible = "atmel,at91sam9260";
16 interrupt-parent = <&aic>;
36 compatible = "arm,arm926ejs";
41 reg = <0x20000000 0x04000000>;
45 compatible = "simple-bus";
51 compatible = "simple-bus";
56 aic: interrupt-controller@fffff000 {
57 #interrupt-cells = <3>;
58 compatible = "atmel,at91rm9200-aic";
60 reg = <0xfffff000 0x200>;
61 atmel,external-irqs = <29 30 31>;
64 ramc0: ramc@ffffea00 {
65 compatible = "atmel,at91sam9260-sdramc";
66 reg = <0xffffea00 0x200>;
70 compatible = "atmel,at91rm9200-pmc";
71 reg = <0xfffffc00 0x100>;
75 compatible = "atmel,at91sam9260-rstc";
76 reg = <0xfffffd00 0x10>;
80 compatible = "atmel,at91sam9260-shdwc";
81 reg = <0xfffffd10 0x10>;
85 compatible = "atmel,at91sam9260-pit";
86 reg = <0xfffffd30 0xf>;
90 tcb0: timer@fffa0000 {
91 compatible = "atmel,at91rm9200-tcb";
92 reg = <0xfffa0000 0x100>;
93 interrupts = <17 4 0 18 4 0 19 4 0>;
96 tcb1: timer@fffdc000 {
97 compatible = "atmel,at91rm9200-tcb";
98 reg = <0xfffdc000 0x100>;
99 interrupts = <26 4 0 27 4 0 28 4 0>;
103 #address-cells = <1>;
105 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
106 ranges = <0xfffff400 0xfffff400 0x600>;
110 0xffffffff 0xffc00c3b /* pioA */
111 0xffffffff 0x7fff3ccf /* pioB */
112 0xffffffff 0x007fffff /* pioC */
115 /* shared pinctrl settings */
117 pinctrl_dbgu: dbgu-0 {
119 <1 14 0x1 0x0 /* PB14 periph A */
120 1 15 0x1 0x1>; /* PB15 periph with pullup */
125 pinctrl_usart0: usart0-0 {
127 <1 4 0x1 0x0 /* PB4 periph A */
128 1 5 0x1 0x0>; /* PB5 periph A */
131 pinctrl_usart0_rts: usart0_rts-0 {
133 <1 26 0x1 0x0>; /* PB26 periph A */
136 pinctrl_usart0_cts: usart0_cts-0 {
138 <1 27 0x1 0x0>; /* PB27 periph A */
141 pinctrl_usart0_dtr_dsr: usart0_dtr_dsr-0 {
143 <1 24 0x1 0x0 /* PB24 periph A */
144 1 22 0x1 0x0>; /* PB22 periph A */
147 pinctrl_usart0_dcd: usart0_dcd-0 {
149 <1 23 0x1 0x0>; /* PB23 periph A */
152 pinctrl_usart0_ri: usart0_ri-0 {
154 <1 25 0x1 0x0>; /* PB25 periph A */
159 pinctrl_usart1: usart1-0 {
161 <2 6 0x1 0x1 /* PB6 periph A with pullup */
162 2 7 0x1 0x0>; /* PB7 periph A */
165 pinctrl_usart1_rts: usart1_rts-0 {
167 <1 28 0x1 0x0>; /* PB28 periph A */
170 pinctrl_usart1_cts: usart1_cts-0 {
172 <1 29 0x1 0x0>; /* PB29 periph A */
177 pinctrl_usart2: usart2-0 {
179 <1 8 0x1 0x1 /* PB8 periph A with pullup */
180 1 9 0x1 0x0>; /* PB9 periph A */
183 pinctrl_usart2_rts: usart2_rts-0 {
185 <0 4 0x1 0x0>; /* PA4 periph A */
188 pinctrl_usart2_cts: usart2_cts-0 {
190 <0 5 0x1 0x0>; /* PA5 periph A */
195 pinctrl_usart3: usart3-0 {
197 <2 10 0x1 0x1 /* PB10 periph A with pullup */
198 2 11 0x1 0x0>; /* PB11 periph A */
201 pinctrl_usart3_rts: usart3_rts-0 {
203 <3 8 0x2 0x0>; /* PB8 periph B */
206 pinctrl_usart3_cts: usart3_cts-0 {
208 <3 10 0x2 0x0>; /* PB10 periph B */
213 pinctrl_uart0: uart0-0 {
215 <0 31 0x2 0x1 /* PA31 periph B with pullup */
216 0 30 0x2 0x0>; /* PA30 periph B */
221 pinctrl_uart1: uart1-0 {
223 <2 12 0x1 0x1 /* PB12 periph A with pullup */
224 2 13 0x1 0x0>; /* PB13 periph A */
229 pinctrl_nand: nand-0 {
231 <2 13 0x0 0x1 /* PC13 gpio RDY pin pull_up */
232 2 14 0x0 0x1>; /* PC14 gpio enable pin pull_up */
237 pinctrl_macb_rmii: macb_rmii-0 {
239 <0 12 0x1 0x0 /* PA12 periph A */
240 0 13 0x1 0x0 /* PA13 periph A */
241 0 14 0x1 0x0 /* PA14 periph A */
242 0 15 0x1 0x0 /* PA15 periph A */
243 0 16 0x1 0x0 /* PA16 periph A */
244 0 17 0x1 0x0 /* PA17 periph A */
245 0 18 0x1 0x0 /* PA18 periph A */
246 0 19 0x1 0x0 /* PA19 periph A */
247 0 20 0x1 0x0 /* PA20 periph A */
248 0 21 0x1 0x0>; /* PA21 periph A */
251 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
253 <0 22 0x2 0x0 /* PA22 periph B */
254 0 23 0x2 0x0 /* PA23 periph B */
255 0 24 0x2 0x0 /* PA24 periph B */
256 0 25 0x2 0x0 /* PA25 periph B */
257 0 26 0x2 0x0 /* PA26 periph B */
258 0 27 0x2 0x0 /* PA27 periph B */
259 0 28 0x2 0x0 /* PA28 periph B */
260 0 29 0x2 0x0>; /* PA29 periph B */
263 pinctrl_macb_rmii_mii_alt: macb_rmii_mii-1 {
265 <0 10 0x2 0x0 /* PA10 periph B */
266 0 11 0x2 0x0 /* PA11 periph B */
267 0 24 0x2 0x0 /* PA24 periph B */
268 0 25 0x2 0x0 /* PA25 periph B */
269 0 26 0x2 0x0 /* PA26 periph B */
270 0 27 0x2 0x0 /* PA27 periph B */
271 0 28 0x2 0x0 /* PA28 periph B */
272 0 29 0x2 0x0>; /* PA29 periph B */
277 pinctrl_mmc0_clk: mmc0_clk-0 {
279 <0 8 0x1 0x0>; /* PA8 periph A */
282 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
284 <0 7 0x1 0x1 /* PA7 periph A with pullup */
285 0 6 0x1 0x1>; /* PA6 periph A with pullup */
288 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
290 <0 9 0x1 0x1 /* PA9 periph A with pullup */
291 0 10 0x1 0x1 /* PA10 periph A with pullup */
292 0 11 0x1 0x1>; /* PA11 periph A with pullup */
295 pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
297 <0 1 0x2 0x1 /* PA1 periph B with pullup */
298 0 0 0x2 0x1>; /* PA0 periph B with pullup */
301 pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
303 <0 5 0x2 0x1 /* PA5 periph B with pullup */
304 0 4 0x2 0x1 /* PA4 periph B with pullup */
305 0 3 0x2 0x1>; /* PA3 periph B with pullup */
310 pinctrl_ssc0_tx: ssc0_tx-0 {
312 <1 16 0x1 0x0 /* PB16 periph A */
313 1 17 0x1 0x0 /* PB17 periph A */
314 1 18 0x1 0x0>; /* PB18 periph A */
317 pinctrl_ssc0_rx: ssc0_rx-0 {
319 <1 19 0x1 0x0 /* PB19 periph A */
320 1 20 0x1 0x0 /* PB20 periph A */
321 1 21 0x1 0x0>; /* PB21 periph A */
325 pioA: gpio@fffff400 {
326 compatible = "atmel,at91rm9200-gpio";
327 reg = <0xfffff400 0x200>;
328 interrupts = <2 4 1>;
331 interrupt-controller;
332 #interrupt-cells = <2>;
335 pioB: gpio@fffff600 {
336 compatible = "atmel,at91rm9200-gpio";
337 reg = <0xfffff600 0x200>;
338 interrupts = <3 4 1>;
341 interrupt-controller;
342 #interrupt-cells = <2>;
345 pioC: gpio@fffff800 {
346 compatible = "atmel,at91rm9200-gpio";
347 reg = <0xfffff800 0x200>;
348 interrupts = <4 4 1>;
351 interrupt-controller;
352 #interrupt-cells = <2>;
356 dbgu: serial@fffff200 {
357 compatible = "atmel,at91sam9260-usart";
358 reg = <0xfffff200 0x200>;
359 interrupts = <1 4 7>;
360 pinctrl-names = "default";
361 pinctrl-0 = <&pinctrl_dbgu>;
365 usart0: serial@fffb0000 {
366 compatible = "atmel,at91sam9260-usart";
367 reg = <0xfffb0000 0x200>;
368 interrupts = <6 4 5>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&pinctrl_usart0>;
376 usart1: serial@fffb4000 {
377 compatible = "atmel,at91sam9260-usart";
378 reg = <0xfffb4000 0x200>;
379 interrupts = <7 4 5>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&pinctrl_usart1>;
387 usart2: serial@fffb8000 {
388 compatible = "atmel,at91sam9260-usart";
389 reg = <0xfffb8000 0x200>;
390 interrupts = <8 4 5>;
393 pinctrl-names = "default";
394 pinctrl-0 = <&pinctrl_usart2>;
398 usart3: serial@fffd0000 {
399 compatible = "atmel,at91sam9260-usart";
400 reg = <0xfffd0000 0x200>;
401 interrupts = <23 4 5>;
404 pinctrl-names = "default";
405 pinctrl-0 = <&pinctrl_usart3>;
409 uart0: serial@fffd4000 {
410 compatible = "atmel,at91sam9260-usart";
411 reg = <0xfffd4000 0x200>;
412 interrupts = <24 4 5>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&pinctrl_uart0>;
420 uart1: serial@fffd8000 {
421 compatible = "atmel,at91sam9260-usart";
422 reg = <0xfffd8000 0x200>;
423 interrupts = <25 4 5>;
426 pinctrl-names = "default";
427 pinctrl-0 = <&pinctrl_uart1>;
431 macb0: ethernet@fffc4000 {
432 compatible = "cdns,at32ap7000-macb", "cdns,macb";
433 reg = <0xfffc4000 0x100>;
434 interrupts = <21 4 3>;
435 pinctrl-names = "default";
436 pinctrl-0 = <&pinctrl_macb_rmii>;
440 usb1: gadget@fffa4000 {
441 compatible = "atmel,at91rm9200-udc";
442 reg = <0xfffa4000 0x4000>;
443 interrupts = <10 4 2>;
448 compatible = "atmel,at91sam9260-i2c";
449 reg = <0xfffac000 0x100>;
450 interrupts = <11 4 6>;
451 #address-cells = <1>;
457 compatible = "atmel,hsmci";
458 reg = <0xfffa8000 0x600>;
459 interrupts = <9 4 0>;
460 #address-cells = <1>;
466 compatible = "atmel,at91rm9200-ssc";
467 reg = <0xfffbc000 0x4000>;
468 interrupts = <14 4 5>;
469 pinctrl-names = "default";
470 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
475 compatible = "atmel,at91sam9260-adc";
476 reg = <0xfffe0000 0x100>;
477 interrupts = <5 4 0>;
478 atmel,adc-use-external-triggers;
479 atmel,adc-channels-used = <0xf>;
480 atmel,adc-vref = <3300>;
481 atmel,adc-num-channels = <4>;
482 atmel,adc-startup-time = <15>;
483 atmel,adc-channel-base = <0x30>;
484 atmel,adc-drdy-mask = <0x10000>;
485 atmel,adc-status-register = <0x1c>;
486 atmel,adc-trigger-register = <0x04>;
489 trigger-name = "timer-counter-0";
490 trigger-value = <0x1>;
493 trigger-name = "timer-counter-1";
494 trigger-value = <0x3>;
498 trigger-name = "timer-counter-2";
499 trigger-value = <0x5>;
503 trigger-name = "external";
504 trigger-value = <0x13>;
510 compatible = "atmel,at91sam9260-wdt";
511 reg = <0xfffffd40 0x10>;
516 nand0: nand@40000000 {
517 compatible = "atmel,at91rm9200-nand";
518 #address-cells = <1>;
520 reg = <0x40000000 0x10000000
523 atmel,nand-addr-offset = <21>;
524 atmel,nand-cmd-offset = <22>;
525 pinctrl-names = "default";
526 pinctrl-0 = <&pinctrl_nand>;
534 usb0: ohci@00500000 {
535 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
536 reg = <0x00500000 0x100000>;
537 interrupts = <20 4 2>;
543 compatible = "i2c-gpio";
544 gpios = <&pioA 23 0 /* sda */
547 i2c-gpio,sda-open-drain;
548 i2c-gpio,scl-open-drain;
549 i2c-gpio,delay-us = <2>; /* ~100 kHz */
550 #address-cells = <1>;