2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
3 * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
4 * AT91SAM9X25, AT91SAM9X35 SoC
6 * Copyright (C) 2012 Atmel,
7 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
9 * Licensed under GPLv2 or later.
12 /include/ "skeleton.dtsi"
15 model = "Atmel AT91SAM9x5 family SoC";
16 compatible = "atmel,at91sam9x5";
17 interrupt-parent = <&aic>;
37 compatible = "arm,arm926ejs";
42 reg = <0x20000000 0x10000000>;
46 compatible = "simple-bus";
52 compatible = "simple-bus";
57 aic: interrupt-controller@fffff000 {
58 #interrupt-cells = <3>;
59 compatible = "atmel,at91rm9200-aic";
61 reg = <0xfffff000 0x200>;
62 atmel,external-irqs = <31>;
65 ramc0: ramc@ffffe800 {
66 compatible = "atmel,at91sam9g45-ddramc";
67 reg = <0xffffe800 0x200>;
71 compatible = "atmel,at91rm9200-pmc";
72 reg = <0xfffffc00 0x100>;
76 compatible = "atmel,at91sam9g45-rstc";
77 reg = <0xfffffe00 0x10>;
81 compatible = "atmel,at91sam9x5-shdwc";
82 reg = <0xfffffe10 0x10>;
86 compatible = "atmel,at91sam9260-pit";
87 reg = <0xfffffe30 0xf>;
91 tcb0: timer@f8008000 {
92 compatible = "atmel,at91sam9x5-tcb";
93 reg = <0xf8008000 0x100>;
94 interrupts = <17 4 0>;
97 tcb1: timer@f800c000 {
98 compatible = "atmel,at91sam9x5-tcb";
99 reg = <0xf800c000 0x100>;
100 interrupts = <17 4 0>;
103 dma0: dma-controller@ffffec00 {
104 compatible = "atmel,at91sam9g45-dma";
105 reg = <0xffffec00 0x200>;
106 interrupts = <20 4 0>;
109 dma1: dma-controller@ffffee00 {
110 compatible = "atmel,at91sam9g45-dma";
111 reg = <0xffffee00 0x200>;
112 interrupts = <21 4 0>;
116 #address-cells = <1>;
118 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
119 ranges = <0xfffff400 0xfffff400 0x800>;
121 /* shared pinctrl settings */
123 pinctrl_dbgu: dbgu-0 {
125 <0 9 0x1 0x0 /* PA9 periph A */
126 0 10 0x1 0x1>; /* PA10 periph A with pullup */
131 pinctrl_usart0: usart0-0 {
133 <0 0 0x1 0x1 /* PA0 periph A with pullup */
134 0 1 0x1 0x0>; /* PA1 periph A */
137 pinctrl_usart0_rts: usart0_rts-0 {
139 <0 2 0x1 0x0>; /* PA2 periph A */
142 pinctrl_usart0_cts: usart0_cts-0 {
144 <0 3 0x1 0x0>; /* PA3 periph A */
149 pinctrl_usart1: usart1-0 {
151 <0 5 0x1 0x1 /* PA5 periph A with pullup */
152 0 6 0x1 0x0>; /* PA6 periph A */
155 pinctrl_usart1_rts: usart1_rts-0 {
157 <3 27 0x3 0x0>; /* PC27 periph C */
160 pinctrl_usart1_cts: usart1_cts-0 {
162 <3 28 0x3 0x0>; /* PC28 periph C */
167 pinctrl_usart2: usart2-0 {
169 <0 7 0x1 0x1 /* PA7 periph A with pullup */
170 0 8 0x1 0x0>; /* PA8 periph A */
173 pinctrl_uart2_rts: uart2_rts-0 {
175 <0 0 0x2 0x0>; /* PB0 periph B */
178 pinctrl_uart2_cts: uart2_cts-0 {
180 <0 1 0x2 0x0>; /* PB1 periph B */
185 pinctrl_uart3: usart3-0 {
187 <3 23 0x2 0x1 /* PC22 periph B with pullup */
188 3 23 0x2 0x0>; /* PC23 periph B */
191 pinctrl_usart3_rts: usart3_rts-0 {
193 <3 24 0x2 0x0>; /* PC24 periph B */
196 pinctrl_usart3_cts: usart3_cts-0 {
198 <3 25 0x2 0x0>; /* PC25 periph B */
203 pinctrl_uart0: uart0-0 {
205 <3 8 0x3 0x0 /* PC8 periph C */
206 3 9 0x3 0x1>; /* PC9 periph C with pullup */
211 pinctrl_uart1: uart1-0 {
213 <3 16 0x3 0x0 /* PC16 periph C */
214 3 17 0x3 0x1>; /* PC17 periph C with pullup */
219 pinctrl_nand: nand-0 {
221 <3 4 0x0 0x1 /* PD5 gpio RDY pin pull_up */
222 3 5 0x0 0x1>; /* PD4 gpio enable pin pull_up */
227 pinctrl_macb0_rmii: macb0_rmii-0 {
229 <1 0 0x1 0x0 /* PB0 periph A */
230 1 1 0x1 0x0 /* PB1 periph A */
231 1 2 0x1 0x0 /* PB2 periph A */
232 1 3 0x1 0x0 /* PB3 periph A */
233 1 4 0x1 0x0 /* PB4 periph A */
234 1 5 0x1 0x0 /* PB5 periph A */
235 1 6 0x1 0x0 /* PB6 periph A */
236 1 7 0x1 0x0 /* PB7 periph A */
237 1 9 0x1 0x0 /* PB9 periph A */
238 1 10 0x1 0x0>; /* PB10 periph A */
241 pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
243 <1 8 0x1 0x0 /* PA8 periph A */
244 1 11 0x1 0x0 /* PA11 periph A */
245 1 12 0x1 0x0 /* PA12 periph A */
246 1 13 0x1 0x0 /* PA13 periph A */
247 1 14 0x1 0x0 /* PA14 periph A */
248 1 15 0x1 0x0 /* PA15 periph A */
249 1 16 0x1 0x0 /* PA16 periph A */
250 1 17 0x1 0x0>; /* PA17 periph A */
255 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
257 <0 17 0x1 0x0 /* PA17 periph A */
258 0 16 0x1 0x1 /* PA16 periph A with pullup */
259 0 15 0x1 0x1>; /* PA15 periph A with pullup */
262 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
264 <0 18 0x1 0x1 /* PA18 periph A with pullup */
265 0 19 0x1 0x1 /* PA19 periph A with pullup */
266 0 20 0x1 0x1>; /* PA20 periph A with pullup */
271 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
273 <0 13 0x2 0x0 /* PA13 periph B */
274 0 12 0x2 0x1 /* PA12 periph B with pullup */
275 0 11 0x2 0x1>; /* PA11 periph B with pullup */
278 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
280 <0 2 0x2 0x1 /* PA2 periph B with pullup */
281 0 3 0x2 0x1 /* PA3 periph B with pullup */
282 0 4 0x2 0x1>; /* PA4 periph B with pullup */
287 pinctrl_ssc0_tx: ssc0_tx-0 {
289 <0 24 0x2 0x0 /* PA24 periph B */
290 0 25 0x2 0x0 /* PA25 periph B */
291 0 26 0x2 0x0>; /* PA26 periph B */
294 pinctrl_ssc0_rx: ssc0_rx-0 {
296 <0 27 0x2 0x0 /* PA27 periph B */
297 0 28 0x2 0x0 /* PA28 periph B */
298 0 29 0x2 0x0>; /* PA29 periph B */
302 pioA: gpio@fffff400 {
303 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
304 reg = <0xfffff400 0x200>;
305 interrupts = <2 4 1>;
308 interrupt-controller;
309 #interrupt-cells = <2>;
312 pioB: gpio@fffff600 {
313 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
314 reg = <0xfffff600 0x200>;
315 interrupts = <2 4 1>;
319 interrupt-controller;
320 #interrupt-cells = <2>;
323 pioC: gpio@fffff800 {
324 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
325 reg = <0xfffff800 0x200>;
326 interrupts = <3 4 1>;
329 interrupt-controller;
330 #interrupt-cells = <2>;
333 pioD: gpio@fffffa00 {
334 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
335 reg = <0xfffffa00 0x200>;
336 interrupts = <3 4 1>;
340 interrupt-controller;
341 #interrupt-cells = <2>;
346 compatible = "atmel,at91sam9g45-ssc";
347 reg = <0xf0010000 0x4000>;
348 interrupts = <28 4 5>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
355 compatible = "atmel,hsmci";
356 reg = <0xf0008000 0x600>;
357 interrupts = <12 4 0>;
358 #address-cells = <1>;
364 compatible = "atmel,hsmci";
365 reg = <0xf000c000 0x600>;
366 interrupts = <26 4 0>;
367 #address-cells = <1>;
372 dbgu: serial@fffff200 {
373 compatible = "atmel,at91sam9260-usart";
374 reg = <0xfffff200 0x200>;
375 interrupts = <1 4 7>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&pinctrl_dbgu>;
381 usart0: serial@f801c000 {
382 compatible = "atmel,at91sam9260-usart";
383 reg = <0xf801c000 0x200>;
384 interrupts = <5 4 5>;
387 pinctrl-names = "default";
388 pinctrl-0 = <&pinctrl_usart0>;
392 usart1: serial@f8020000 {
393 compatible = "atmel,at91sam9260-usart";
394 reg = <0xf8020000 0x200>;
395 interrupts = <6 4 5>;
398 pinctrl-names = "default";
399 pinctrl-0 = <&pinctrl_usart1>;
403 usart2: serial@f8024000 {
404 compatible = "atmel,at91sam9260-usart";
405 reg = <0xf8024000 0x200>;
406 interrupts = <7 4 5>;
409 pinctrl-names = "default";
410 pinctrl-0 = <&pinctrl_usart2>;
414 macb0: ethernet@f802c000 {
415 compatible = "cdns,at32ap7000-macb", "cdns,macb";
416 reg = <0xf802c000 0x100>;
417 interrupts = <24 4 3>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&pinctrl_macb0_rmii>;
423 macb1: ethernet@f8030000 {
424 compatible = "cdns,at32ap7000-macb", "cdns,macb";
425 reg = <0xf8030000 0x100>;
426 interrupts = <27 4 3>;
431 compatible = "atmel,at91sam9x5-i2c";
432 reg = <0xf8010000 0x100>;
433 interrupts = <9 4 6>;
434 #address-cells = <1>;
440 compatible = "atmel,at91sam9x5-i2c";
441 reg = <0xf8014000 0x100>;
442 interrupts = <10 4 6>;
443 #address-cells = <1>;
449 compatible = "atmel,at91sam9x5-i2c";
450 reg = <0xf8018000 0x100>;
451 interrupts = <11 4 6>;
452 #address-cells = <1>;
458 compatible = "atmel,at91sam9260-adc";
459 reg = <0xf804c000 0x100>;
460 interrupts = <19 4 0>;
461 atmel,adc-use-external;
462 atmel,adc-channels-used = <0xffff>;
463 atmel,adc-vref = <3300>;
464 atmel,adc-num-channels = <12>;
465 atmel,adc-startup-time = <40>;
466 atmel,adc-channel-base = <0x50>;
467 atmel,adc-drdy-mask = <0x1000000>;
468 atmel,adc-status-register = <0x30>;
469 atmel,adc-trigger-register = <0xc0>;
472 trigger-name = "external-rising";
473 trigger-value = <0x1>;
478 trigger-name = "external-falling";
479 trigger-value = <0x2>;
484 trigger-name = "external-any";
485 trigger-value = <0x3>;
490 trigger-name = "continuous";
491 trigger-value = <0x6>;
496 nand0: nand@40000000 {
497 compatible = "atmel,at91rm9200-nand";
498 #address-cells = <1>;
500 reg = <0x40000000 0x10000000
502 atmel,nand-addr-offset = <21>;
503 atmel,nand-cmd-offset = <22>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&pinctrl_nand>;
513 usb0: ohci@00600000 {
514 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
515 reg = <0x00600000 0x100000>;
516 interrupts = <22 4 2>;
520 usb1: ehci@00700000 {
521 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
522 reg = <0x00700000 0x100000>;
523 interrupts = <22 4 2>;
529 compatible = "i2c-gpio";
530 gpios = <&pioA 30 0 /* sda */
533 i2c-gpio,sda-open-drain;
534 i2c-gpio,scl-open-drain;
535 i2c-gpio,delay-us = <2>; /* ~100 kHz */
536 #address-cells = <1>;
542 compatible = "i2c-gpio";
543 gpios = <&pioC 0 0 /* sda */
546 i2c-gpio,sda-open-drain;
547 i2c-gpio,scl-open-drain;
548 i2c-gpio,delay-us = <2>; /* ~100 kHz */
549 #address-cells = <1>;
555 compatible = "i2c-gpio";
556 gpios = <&pioB 4 0 /* sda */
559 i2c-gpio,sda-open-drain;
560 i2c-gpio,scl-open-drain;
561 i2c-gpio,delay-us = <2>; /* ~100 kHz */
562 #address-cells = <1>;