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>;
50 main_xtal: main_xtal {
51 compatible = "fixed-clock";
53 clock-frequency = <0>;
56 slow_xtal: slow_xtal {
57 compatible = "fixed-clock";
59 clock-frequency = <0>;
64 compatible = "mmio-sram";
65 reg = <0x00300000 0x28000>;
69 compatible = "simple-bus";
75 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
76 reg = <0x00500000 0x100000>;
77 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
78 clocks = <&ohci_clk>, <&hclk0>, <&uhpck>;
79 clock-names = "ohci_clk", "hclk", "uhpck";
84 compatible = "atmel,at91sam9261-lcdc";
85 reg = <0x00600000 0x1000>;
86 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_fb>;
89 clocks = <&lcd_clk>, <&hclk1>;
90 clock-names = "lcdc_clk", "hclk";
94 nand0: nand@40000000 {
95 compatible = "atmel,at91rm9200-nand";
98 reg = <0x40000000 0x10000000>;
99 atmel,nand-addr-offset = <22>;
100 atmel,nand-cmd-offset = <21>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_nand>;
104 gpios = <&pioC 15 GPIO_ACTIVE_HIGH>,
105 <&pioC 14 GPIO_ACTIVE_HIGH>,
111 compatible = "simple-bus";
112 #address-cells = <1>;
116 tcb0: timer@fffa0000 {
117 compatible = "atmel,at91rm9200-tcb";
118 reg = <0xfffa0000 0x100>;
119 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>,
120 <18 IRQ_TYPE_LEVEL_HIGH 0>,
121 <19 IRQ_TYPE_LEVEL_HIGH 0>;
122 clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>, <&slow_xtal>;
123 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
126 usb1: gadget@fffa4000 {
127 compatible = "atmel,at91sam9261-udc";
128 reg = <0xfffa4000 0x4000>;
129 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
130 clocks = <&udc_clk>, <&udpck>;
131 clock-names = "pclk", "hclk";
132 atmel,matrix = <&matrix>;
137 compatible = "atmel,hsmci";
138 reg = <0xfffa8000 0x600>;
139 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_mmc0_clk>, <&pinctrl_mmc0_slot0_cmd_dat0>, <&pinctrl_mmc0_slot0_dat1_3>;
142 #address-cells = <1>;
144 clocks = <&mci0_clk>;
145 clock-names = "mci_clk";
150 compatible = "atmel,at91sam9261-i2c";
151 pinctrl-names = "default";
152 pinctrl-0 = <&pinctrl_i2c_twi>;
153 reg = <0xfffac000 0x100>;
154 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
155 #address-cells = <1>;
157 clocks = <&twi0_clk>;
161 usart0: serial@fffb0000 {
162 compatible = "atmel,at91sam9260-usart";
163 reg = <0xfffb0000 0x200>;
164 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_usart0>;
169 clocks = <&usart0_clk>;
170 clock-names = "usart";
174 usart1: serial@fffb4000 {
175 compatible = "atmel,at91sam9260-usart";
176 reg = <0xfffb4000 0x200>;
177 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&pinctrl_usart1>;
182 clocks = <&usart1_clk>;
183 clock-names = "usart";
187 usart2: serial@fffb8000{
188 compatible = "atmel,at91sam9260-usart";
189 reg = <0xfffb8000 0x200>;
190 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&pinctrl_usart2>;
195 clocks = <&usart2_clk>;
196 clock-names = "usart";
201 compatible = "atmel,at91rm9200-ssc";
202 reg = <0xfffbc000 0x4000>;
203 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
206 clocks = <&ssc0_clk>;
207 clock-names = "pclk";
212 compatible = "atmel,at91rm9200-ssc";
213 reg = <0xfffc0000 0x4000>;
214 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
215 pinctrl-names = "default";
216 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
217 clocks = <&ssc1_clk>;
218 clock-names = "pclk";
223 compatible = "atmel,at91rm9200-ssc";
224 reg = <0xfffc4000 0x4000>;
225 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
228 clocks = <&ssc2_clk>;
229 clock-names = "pclk";
234 #address-cells = <1>;
236 compatible = "atmel,at91rm9200-spi";
237 reg = <0xfffc8000 0x200>;
238 cs-gpios = <0>, <0>, <0>, <0>;
239 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_spi0>;
242 clocks = <&spi0_clk>;
243 clock-names = "spi_clk";
248 #address-cells = <1>;
250 compatible = "atmel,at91rm9200-spi";
251 reg = <0xfffcc000 0x200>;
252 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&pinctrl_spi1>;
255 clocks = <&spi1_clk>;
256 clock-names = "spi_clk";
260 ramc: ramc@ffffea00 {
261 compatible = "atmel,at91sam9260-sdramc";
262 reg = <0xffffea00 0x200>;
265 matrix: matrix@ffffee00 {
266 compatible = "atmel,at91sam9260-bus-matrix", "syscon";
267 reg = <0xffffee00 0x200>;
270 aic: interrupt-controller@fffff000 {
271 #interrupt-cells = <3>;
272 compatible = "atmel,at91rm9200-aic";
273 interrupt-controller;
274 reg = <0xfffff000 0x200>;
275 atmel,external-irqs = <29 30 31>;
278 dbgu: serial@fffff200 {
279 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
280 reg = <0xfffff200 0x200>;
281 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&pinctrl_dbgu>;
285 clock-names = "usart";
290 #address-cells = <1>;
292 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
293 ranges = <0xfffff400 0xfffff400 0x600>;
297 <0xffffffff 0xfffffff7>, /* pioA */
298 <0xffffffff 0xfffffff4>, /* pioB */
299 <0xffffffff 0xffffff07>; /* pioC */
301 /* shared pinctrl settings */
303 pinctrl_dbgu: dbgu-0 {
305 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>,
306 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
311 pinctrl_usart0: usart0-0 {
313 <AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
314 <AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE>;
317 pinctrl_usart0_rts: usart0_rts-0 {
319 <AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
322 pinctrl_usart0_cts: usart0_cts-0 {
324 <AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE>;
329 pinctrl_usart1: usart1-0 {
331 <AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
332 <AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE>;
335 pinctrl_usart1_rts: usart1_rts-0 {
337 <AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
340 pinctrl_usart1_cts: usart1_cts-0 {
342 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
347 pinctrl_usart2: usart2-0 {
349 <AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
350 <AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
353 pinctrl_usart2_rts: usart2_rts-0 {
355 <AT91_PIOA 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
358 pinctrl_usart2_cts: usart2_cts-0 {
360 <AT91_PIOA 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
365 pinctrl_nand: nand-0 {
367 <AT91_PIOC 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>,
368 <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
373 pinctrl_mmc0_clk: mmc0_clk-0 {
375 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
378 pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
380 <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
381 <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
384 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
386 <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
387 <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
388 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
393 pinctrl_ssc0_tx: ssc0_tx-0 {
395 <AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_NONE>,
396 <AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>,
397 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
400 pinctrl_ssc0_rx: ssc0_rx-0 {
402 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>,
403 <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>,
404 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
409 pinctrl_ssc1_tx: ssc1_tx-0 {
411 <AT91_PIOA 17 AT91_PERIPH_B AT91_PINCTRL_NONE>,
412 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>,
413 <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
416 pinctrl_ssc1_rx: ssc1_rx-0 {
418 <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>,
419 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>,
420 <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
425 pinctrl_ssc2_tx: ssc2_tx-0 {
427 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>,
428 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>,
429 <AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>;
432 pinctrl_ssc2_rx: ssc2_rx-0 {
434 <AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE>,
435 <AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>,
436 <AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;
441 pinctrl_spi0: spi0-0 {
443 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>,
444 <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>,
445 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
450 pinctrl_spi1: spi1-0 {
452 <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE>,
453 <AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>,
454 <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
459 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
460 atmel,pins = <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
463 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
464 atmel,pins = <AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>;
467 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
468 atmel,pins = <AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
471 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
472 atmel,pins = <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
475 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
476 atmel,pins = <AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;
479 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
480 atmel,pins = <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;
483 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
484 atmel,pins = <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
487 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
488 atmel,pins = <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
491 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
492 atmel,pins = <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>;
497 pinctrl_i2c_bitbang: i2c-0-bitbang {
499 <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>,
500 <AT91_PIOA 8 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
502 pinctrl_i2c_twi: i2c-0-twi {
504 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
505 <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;
512 <AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>,
513 <AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>,
514 <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>,
515 <AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
516 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE>,
517 <AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>,
518 <AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>,
519 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE>,
520 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE>,
521 <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>,
522 <AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>,
523 <AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>,
524 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>,
525 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE>,
526 <AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_NONE>,
527 <AT91_PIOB 23 AT91_PERIPH_B AT91_PINCTRL_NONE>,
528 <AT91_PIOB 24 AT91_PERIPH_B AT91_PINCTRL_NONE>,
529 <AT91_PIOB 25 AT91_PERIPH_B AT91_PINCTRL_NONE>,
530 <AT91_PIOB 26 AT91_PERIPH_B AT91_PINCTRL_NONE>,
531 <AT91_PIOB 27 AT91_PERIPH_B AT91_PINCTRL_NONE>,
532 <AT91_PIOB 28 AT91_PERIPH_B AT91_PINCTRL_NONE>;
536 pioA: gpio@fffff400 {
537 compatible = "atmel,at91rm9200-gpio";
538 reg = <0xfffff400 0x200>;
539 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
542 interrupt-controller;
543 #interrupt-cells = <2>;
544 clocks = <&pioA_clk>;
547 pioB: gpio@fffff600 {
548 compatible = "atmel,at91rm9200-gpio";
549 reg = <0xfffff600 0x200>;
550 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
553 interrupt-controller;
554 #interrupt-cells = <2>;
555 clocks = <&pioB_clk>;
558 pioC: gpio@fffff800 {
559 compatible = "atmel,at91rm9200-gpio";
560 reg = <0xfffff800 0x200>;
561 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
564 interrupt-controller;
565 #interrupt-cells = <2>;
566 clocks = <&pioC_clk>;
571 compatible = "atmel,at91rm9200-pmc", "syscon";
572 reg = <0xfffffc00 0x100>;
573 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
574 interrupt-controller;
575 #address-cells = <1>;
577 #interrupt-cells = <1>;
580 compatible = "atmel,at91rm9200-clk-main-osc";
582 interrupts-extended = <&pmc AT91_PMC_MOSCS>;
583 clocks = <&main_xtal>;
587 compatible = "atmel,at91rm9200-clk-main";
589 clocks = <&main_osc>;
593 compatible = "atmel,at91rm9200-clk-pll";
595 interrupts-extended = <&pmc AT91_PMC_LOCKA>;
598 atmel,clk-input-range = <1000000 32000000>;
599 #atmel,pll-clk-output-range-cells = <4>;
600 atmel,pll-clk-output-ranges = <80000000 200000000 0 1>,
601 <190000000 240000000 2 1>;
605 compatible = "atmel,at91rm9200-clk-pll";
607 interrupts-extended = <&pmc AT91_PMC_LOCKB>;
610 atmel,clk-input-range = <1000000 5000000>;
611 #atmel,pll-clk-output-range-cells = <4>;
612 atmel,pll-clk-output-ranges = <70000000 130000000 1 1>;
616 compatible = "atmel,at91rm9200-clk-master";
618 interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
619 clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
620 atmel,clk-output-range = <0 94000000>;
621 atmel,clk-divisors = <1 2 4 0>;
625 compatible = "atmel,at91rm9200-clk-usb";
627 atmel,clk-divisors = <1 2 4 0>;
632 compatible = "atmel,at91rm9200-clk-programmable";
633 #address-cells = <1>;
635 interrupt-parent = <&pmc>;
636 clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>;
641 interrupts = <AT91_PMC_PCKRDY(0)>;
647 interrupts = <AT91_PMC_PCKRDY(1)>;
653 interrupts = <AT91_PMC_PCKRDY(2)>;
659 interrupts = <AT91_PMC_PCKRDY(3)>;
664 compatible = "atmel,at91rm9200-clk-system";
665 #address-cells = <1>;
718 compatible = "atmel,at91rm9200-clk-peripheral";
719 #address-cells = <1>;
738 usart0_clk: usart0_clk {
743 usart1_clk: usart1_clk {
748 usart2_clk: usart2_clk {
821 compatible = "atmel,at91sam9260-rstc";
822 reg = <0xfffffd00 0x10>;
823 clocks = <&slow_xtal>;
827 compatible = "atmel,at91sam9260-shdwc";
828 reg = <0xfffffd10 0x10>;
829 clocks = <&slow_xtal>;
832 pit: timer@fffffd30 {
833 compatible = "atmel,at91sam9260-pit";
834 reg = <0xfffffd30 0xf>;
835 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
840 compatible = "atmel,at91sam9260-rtt";
841 reg = <0xfffffd20 0x10>;
842 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
843 clocks = <&slow_xtal>;
848 compatible = "atmel,at91sam9260-wdt";
849 reg = <0xfffffd40 0x10>;
850 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
851 clocks = <&slow_xtal>;
855 gpbr: syscon@fffffd50 {
856 compatible = "atmel,at91sam9260-gpbr", "syscon";
857 reg = <0xfffffd50 0x10>;
864 compatible = "i2c-gpio";
865 pinctrl-names = "default";
866 pinctrl-0 = <&pinctrl_i2c_bitbang>;
867 gpios = <&pioA 7 GPIO_ACTIVE_HIGH>, /* sda */
868 <&pioA 8 GPIO_ACTIVE_HIGH>; /* scl */
869 i2c-gpio,sda-open-drain;
870 i2c-gpio,scl-open-drain;
871 i2c-gpio,delay-us = <2>; /* ~100 kHz */
872 #address-cells = <1>;