2 * at91sam9261.dtsi - Device Tree Include file for AT91SAM9261 SoC
4 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com>
6 * Licensed under GPLv2 only.
9 #include "skeleton.dtsi"
10 #include <dt-bindings/pinctrl/at91.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/clock/at91.h>
16 model = "Atmel AT91SAM9261 family SoC";
17 compatible = "atmel,at91sam9261";
18 interrupt-parent = <&aic>;
40 compatible = "arm,arm926ej-s";
46 reg = <0x20000000 0x08000000>;
49 main_xtal: main_xtal {
50 compatible = "fixed-clock";
52 clock-frequency = <0>;
55 slow_xtal: slow_xtal {
56 compatible = "fixed-clock";
58 clock-frequency = <0>;
62 compatible = "simple-bus";
68 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
69 reg = <0x00500000 0x100000>;
70 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
71 clocks = <&usb>, <&ohci_clk>, <&hclk0>, <&uhpck>;
72 clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
77 compatible = "atmel,at91sam9261-lcdc";
78 reg = <0x00600000 0x1000>;
79 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_fb>;
82 clocks = <&lcd_clk>, <&hclk1>;
83 clock-names = "lcdc_clk", "hclk";
87 nand0: nand@40000000 {
88 compatible = "atmel,at91rm9200-nand";
91 reg = <0x40000000 0x10000000>;
92 atmel,nand-addr-offset = <22>;
93 atmel,nand-cmd-offset = <21>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_nand>;
97 gpios = <&pioC 15 GPIO_ACTIVE_HIGH>,
98 <&pioC 14 GPIO_ACTIVE_HIGH>,
104 compatible = "simple-bus";
105 #address-cells = <1>;
109 tcb0: timer@fffa0000 {
110 compatible = "atmel,at91rm9200-tcb";
111 reg = <0xfffa0000 0x100>;
112 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>,
113 <18 IRQ_TYPE_LEVEL_HIGH 0>,
114 <19 IRQ_TYPE_LEVEL_HIGH 0>;
115 clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>;
116 clock-names = "t0_clk", "t1_clk", "t2_clk";
119 usb1: gadget@fffa4000 {
120 compatible = "atmel,at91rm9200-udc";
121 reg = <0xfffa4000 0x4000>;
122 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
123 clocks = <&usb>, <&udc_clk>, <&udpck>;
124 clock-names = "usb_clk", "udc_clk", "udpck";
129 compatible = "atmel,hsmci";
130 reg = <0xfffa8000 0x600>;
131 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&pinctrl_mmc0_clk>, <&pinctrl_mmc0_slot0_cmd_dat0>, <&pinctrl_mmc0_slot0_dat1_3>;
134 #address-cells = <1>;
136 clocks = <&mci0_clk>;
137 clock-names = "mci_clk";
142 compatible = "atmel,at91sam9261-i2c";
143 pinctrl-names = "default";
144 pinctrl-0 = <&pinctrl_i2c_twi>;
145 reg = <0xfffac000 0x100>;
146 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
147 #address-cells = <1>;
149 clocks = <&twi0_clk>;
153 usart0: serial@fffb0000 {
154 compatible = "atmel,at91sam9260-usart";
155 reg = <0xfffb0000 0x200>;
156 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_usart0>;
161 clocks = <&usart0_clk>;
162 clock-names = "usart";
166 usart1: serial@fffb4000 {
167 compatible = "atmel,at91sam9260-usart";
168 reg = <0xfffb4000 0x200>;
169 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&pinctrl_usart1>;
174 clocks = <&usart1_clk>;
175 clock-names = "usart";
179 usart2: serial@fffb8000{
180 compatible = "atmel,at91sam9260-usart";
181 reg = <0xfffb8000 0x200>;
182 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_usart2>;
187 clocks = <&usart2_clk>;
188 clock-names = "usart";
193 compatible = "atmel,at91rm9200-ssc";
194 reg = <0xfffbc000 0x4000>;
195 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
198 clocks = <&ssc0_clk>;
199 clock-names = "pclk";
204 compatible = "atmel,at91rm9200-ssc";
205 reg = <0xfffc0000 0x4000>;
206 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
207 pinctrl-names = "default";
208 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
209 clocks = <&ssc1_clk>;
210 clock-names = "pclk";
215 compatible = "atmel,at91rm9200-ssc";
216 reg = <0xfffc4000 0x4000>;
217 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
218 pinctrl-names = "default";
219 pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
220 clocks = <&ssc2_clk>;
221 clock-names = "pclk";
226 #address-cells = <1>;
228 compatible = "atmel,at91rm9200-spi";
229 reg = <0xfffc8000 0x200>;
230 cs-gpios = <0>, <0>, <0>, <0>;
231 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_spi0>;
234 clocks = <&spi0_clk>;
235 clock-names = "spi_clk";
240 #address-cells = <1>;
242 compatible = "atmel,at91rm9200-spi";
243 reg = <0xfffcc000 0x200>;
244 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
245 pinctrl-names = "default";
246 pinctrl-0 = <&pinctrl_spi1>;
247 clocks = <&spi1_clk>;
248 clock-names = "spi_clk";
252 ramc: ramc@ffffea00 {
253 compatible = "atmel,at91sam9260-sdramc";
254 reg = <0xffffea00 0x200>;
257 matrix: matrix@ffffee00 {
258 compatible = "atmel,at91sam9260-bus-matrix";
259 reg = <0xffffee00 0x200>;
262 aic: interrupt-controller@fffff000 {
263 #interrupt-cells = <3>;
264 compatible = "atmel,at91rm9200-aic";
265 interrupt-controller;
266 reg = <0xfffff000 0x200>;
267 atmel,external-irqs = <29 30 31>;
270 dbgu: serial@fffff200 {
271 compatible = "atmel,at91sam9260-usart";
272 reg = <0xfffff200 0x200>;
273 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&pinctrl_dbgu>;
277 clock-names = "usart";
282 #address-cells = <1>;
284 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
285 ranges = <0xfffff400 0xfffff400 0x600>;
289 <0xffffffff 0xfffffff7>, /* pioA */
290 <0xffffffff 0xfffffff4>, /* pioB */
291 <0xffffffff 0xffffff07>; /* pioC */
293 /* shared pinctrl settings */
295 pinctrl_dbgu: dbgu-0 {
297 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>,
298 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
303 pinctrl_usart0: usart0-0 {
305 <AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
306 <AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE>;
309 pinctrl_usart0_rts: usart0_rts-0 {
311 <AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
314 pinctrl_usart0_cts: usart0_cts-0 {
316 <AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;
321 pinctrl_usart1: usart1-0 {
323 <AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
324 <AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
327 pinctrl_usart1_rts: usart1_rts-0 {
329 <AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
332 pinctrl_usart1_cts: usart1_cts-0 {
334 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
339 pinctrl_usart2: usart2-0 {
341 <AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
342 <AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
345 pinctrl_usart2_rts: usart2_rts-0 {
347 <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
350 pinctrl_usart2_cts: usart2_cts-0 {
352 <AT91_PIOA 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
357 pinctrl_nand: nand-0 {
359 <AT91_PIOC 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>,
360 <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
365 pinctrl_mmc0_clk: mmc0_clk-0 {
367 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
370 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
372 <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
373 <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
376 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
378 <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
379 <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
380 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
385 pinctrl_ssc0_tx: ssc0_tx-0 {
387 <AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>,
388 <AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>,
389 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
392 pinctrl_ssc0_rx: ssc0_rx-0 {
394 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>,
395 <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>,
396 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
401 pinctrl_ssc1_tx: ssc1_tx-0 {
403 <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>,
404 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>,
405 <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
408 pinctrl_ssc1_rx: ssc1_rx-0 {
410 <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>,
411 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>,
412 <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
417 pinctrl_ssc2_tx: ssc2_tx-0 {
419 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>,
420 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>,
421 <AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>;
424 pinctrl_ssc2_rx: ssc2_rx-0 {
426 <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>,
427 <AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>,
428 <AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;
433 pinctrl_spi0: spi0-0 {
435 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>,
436 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>,
437 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
442 pinctrl_spi1: spi1-0 {
444 <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>,
445 <AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>,
446 <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
451 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
452 atmel,pins = <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
455 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
456 atmel,pins = <AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
459 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
460 atmel,pins = <AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
463 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
464 atmel,pins = <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
467 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
468 atmel,pins = <AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;
471 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
472 atmel,pins = <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;
475 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
476 atmel,pins = <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
479 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
480 atmel,pins = <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
483 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
484 atmel,pins = <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>;
489 pinctrl_i2c_bitbang: i2c-0-bitbang {
491 <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>,
492 <AT91_PIOA 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
494 pinctrl_i2c_twi: i2c-0-twi {
496 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
497 <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;
504 <AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>,
505 <AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>,
506 <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>,
507 <AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
508 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>,
509 <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>,
510 <AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>,
511 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>,
512 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE>,
513 <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>,
514 <AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>,
515 <AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>,
516 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>,
517 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE>,
518 <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE>,
519 <AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE>,
520 <AT91_PIOB 24 AT91_PERIPH_B AT91_PINCTRL_NONE>,
521 <AT91_PIOB 25 AT91_PERIPH_B AT91_PINCTRL_NONE>,
522 <AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE>,
523 <AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE>,
524 <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
528 pioA: gpio@fffff400 {
529 compatible = "atmel,at91rm9200-gpio";
530 reg = <0xfffff400 0x200>;
531 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
534 interrupt-controller;
535 #interrupt-cells = <2>;
536 clocks = <&pioA_clk>;
539 pioB: gpio@fffff600 {
540 compatible = "atmel,at91rm9200-gpio";
541 reg = <0xfffff600 0x200>;
542 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
545 interrupt-controller;
546 #interrupt-cells = <2>;
547 clocks = <&pioB_clk>;
550 pioC: gpio@fffff800 {
551 compatible = "atmel,at91rm9200-gpio";
552 reg = <0xfffff800 0x200>;
553 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
556 interrupt-controller;
557 #interrupt-cells = <2>;
558 clocks = <&pioC_clk>;
563 compatible = "atmel,at91rm9200-pmc";
564 reg = <0xfffffc00 0x100>;
565 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
566 interrupt-controller;
567 #address-cells = <1>;
569 #interrupt-cells = <1>;
571 slow_rc_osc: slow_rc_osc {
572 compatible = "fixed-clock";
574 clock-frequency = <32768>;
575 clock-accuracy = <50000000>;
579 compatible = "atmel,at91sam9260-clk-slow";
581 clocks = <&slow_rc_osc &slow_xtal>;
585 compatible = "atmel,at91rm9200-clk-main";
587 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
588 clocks = <&main_xtal>;
592 compatible = "atmel,at91rm9200-clk-pll";
594 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
597 atmel,clk-input-range = <1000000 32000000>;
598 #atmel,pll-clk-output-range-cells = <4>;
599 atmel,pll-clk-output-ranges = <80000000 200000000 0 1>,
600 <190000000 240000000 2 1>;
604 compatible = "atmel,at91rm9200-clk-pll";
606 interrupts-extended = <&pmc AT91_PMC_LOCKB>;
609 atmel,clk-input-range = <1000000 5000000>;
610 #atmel,pll-clk-output-range-cells = <4>;
611 atmel,pll-clk-output-ranges = <70000000 130000000 1 1>;
615 compatible = "atmel,at91rm9200-clk-master";
617 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
618 clocks = <&clk32k>, <&main>, <&plla>, <&pllb>;
619 atmel,clk-output-range = <0 94000000>;
620 atmel,clk-divisors = <1 2 4 0>;
624 compatible = "atmel,at91rm9200-clk-usb";
626 atmel,clk-divisors = <1 2 4 0>;
631 compatible = "atmel,at91rm9200-clk-programmable";
632 #address-cells = <1>;
634 interrupt-parent = <&pmc>;
635 clocks = <&clk32k>, <&main>, <&plla>, <&pllb>;
640 interrupts = <AT91_PMC_PCKRDY(0)>;
646 interrupts = <AT91_PMC_PCKRDY(1)>;
652 interrupts = <AT91_PMC_PCKRDY(2)>;
658 interrupts = <AT91_PMC_PCKRDY(3)>;
663 compatible = "atmel,at91rm9200-clk-system";
664 #address-cells = <1>;
717 compatible = "atmel,at91rm9200-clk-peripheral";
718 #address-cells = <1>;
737 usart0_clk: usart0_clk {
742 usart1_clk: usart1_clk {
747 usart2_clk: usart2_clk {
820 compatible = "atmel,at91sam9260-rstc";
821 reg = <0xfffffd00 0x10>;
825 compatible = "atmel,at91sam9260-shdwc";
826 reg = <0xfffffd10 0x10>;
829 pit: timer@fffffd30 {
830 compatible = "atmel,at91sam9260-pit";
831 reg = <0xfffffd30 0xf>;
832 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
837 compatible = "atmel,at91sam9260-wdt";
838 reg = <0xfffffd40 0x10>;
839 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
846 compatible = "i2c-gpio";
847 pinctrl-names = "default";
848 pinctrl-0 = <&pinctrl_i2c_bitbang>;
849 gpios = <&pioA 7 GPIO_ACTIVE_HIGH>, /* sda */
850 <&pioA 8 GPIO_ACTIVE_HIGH>; /* scl */
851 i2c-gpio,sda-open-drain;
852 i2c-gpio,scl-open-drain;
853 i2c-gpio,delay-us = <2>; /* ~100 kHz */
854 #address-cells = <1>;