Deleted Added
sdiff udiff text old ( 262573 ) new ( 270864 )
full compact
1/*
2 * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC
3 *
4 * Copyright (C) 2011 Atmel,
5 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
6 * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7 *
8 * Licensed under GPLv2 or later.
9 */
10
11#include "skeleton.dtsi"
12#include <dt-bindings/pinctrl/at91.h>
13#include <dt-bindings/interrupt-controller/irq.h>
14#include <dt-bindings/gpio/gpio.h>
15
16/ {
17 model = "Atmel AT91SAM9260 family SoC";
18 compatible = "atmel,at91sam9260";
19 interrupt-parent = <&aic>;
20
21 aliases {
22 serial0 = &dbgu;

--- 20 unchanged lines hidden (view full) ---

43 device_type = "cpu";
44 };
45 };
46
47 memory {
48 reg = <0x20000000 0x04000000>;
49 };
50
51 ahb {
52 compatible = "simple-bus";
53 #address-cells = <1>;
54 #size-cells = <1>;
55 ranges;
56
57 apb {
58 compatible = "simple-bus";

--- 10 unchanged lines hidden (view full) ---

69 };
70
71 ramc0: ramc@ffffea00 {
72 compatible = "atmel,at91sam9260-sdramc";
73 reg = <0xffffea00 0x200>;
74 };
75
76 pmc: pmc@fffffc00 {
77 compatible = "atmel,at91rm9200-pmc";
78 reg = <0xfffffc00 0x100>;
79 };
80
81 rstc@fffffd00 {
82 compatible = "atmel,at91sam9260-rstc";
83 reg = <0xfffffd00 0x10>;
84 };
85
86 shdwc@fffffd10 {
87 compatible = "atmel,at91sam9260-shdwc";
88 reg = <0xfffffd10 0x10>;
89 };
90
91 pit: timer@fffffd30 {
92 compatible = "atmel,at91sam9260-pit";
93 reg = <0xfffffd30 0xf>;
94 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
95 };
96
97 tcb0: timer@fffa0000 {
98 compatible = "atmel,at91rm9200-tcb";
99 reg = <0xfffa0000 0x100>;
100 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0
101 18 IRQ_TYPE_LEVEL_HIGH 0
102 19 IRQ_TYPE_LEVEL_HIGH 0>;
103 };
104
105 tcb1: timer@fffdc000 {
106 compatible = "atmel,at91rm9200-tcb";
107 reg = <0xfffdc000 0x100>;
108 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0
109 27 IRQ_TYPE_LEVEL_HIGH 0
110 28 IRQ_TYPE_LEVEL_HIGH 0>;
111 };
112
113 pinctrl@fffff400 {
114 #address-cells = <1>;
115 #size-cells = <1>;
116 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
117 ranges = <0xfffff400 0xfffff400 0x600>;
118

--- 319 unchanged lines hidden (view full) ---

438 pioA: gpio@fffff400 {
439 compatible = "atmel,at91rm9200-gpio";
440 reg = <0xfffff400 0x200>;
441 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
442 #gpio-cells = <2>;
443 gpio-controller;
444 interrupt-controller;
445 #interrupt-cells = <2>;
446 };
447
448 pioB: gpio@fffff600 {
449 compatible = "atmel,at91rm9200-gpio";
450 reg = <0xfffff600 0x200>;
451 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
452 #gpio-cells = <2>;
453 gpio-controller;
454 interrupt-controller;
455 #interrupt-cells = <2>;
456 };
457
458 pioC: gpio@fffff800 {
459 compatible = "atmel,at91rm9200-gpio";
460 reg = <0xfffff800 0x200>;
461 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
462 #gpio-cells = <2>;
463 gpio-controller;
464 interrupt-controller;
465 #interrupt-cells = <2>;
466 };
467 };
468
469 dbgu: serial@fffff200 {
470 compatible = "atmel,at91sam9260-usart";
471 reg = <0xfffff200 0x200>;
472 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
473 pinctrl-names = "default";
474 pinctrl-0 = <&pinctrl_dbgu>;
475 status = "disabled";
476 };
477
478 usart0: serial@fffb0000 {
479 compatible = "atmel,at91sam9260-usart";
480 reg = <0xfffb0000 0x200>;
481 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
482 atmel,use-dma-rx;
483 atmel,use-dma-tx;
484 pinctrl-names = "default";
485 pinctrl-0 = <&pinctrl_usart0>;
486 status = "disabled";
487 };
488
489 usart1: serial@fffb4000 {
490 compatible = "atmel,at91sam9260-usart";
491 reg = <0xfffb4000 0x200>;
492 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
493 atmel,use-dma-rx;
494 atmel,use-dma-tx;
495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_usart1>;
497 status = "disabled";
498 };
499
500 usart2: serial@fffb8000 {
501 compatible = "atmel,at91sam9260-usart";
502 reg = <0xfffb8000 0x200>;
503 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
504 atmel,use-dma-rx;
505 atmel,use-dma-tx;
506 pinctrl-names = "default";
507 pinctrl-0 = <&pinctrl_usart2>;
508 status = "disabled";
509 };
510
511 usart3: serial@fffd0000 {
512 compatible = "atmel,at91sam9260-usart";
513 reg = <0xfffd0000 0x200>;
514 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
515 atmel,use-dma-rx;
516 atmel,use-dma-tx;
517 pinctrl-names = "default";
518 pinctrl-0 = <&pinctrl_usart3>;
519 status = "disabled";
520 };
521
522 uart0: serial@fffd4000 {
523 compatible = "atmel,at91sam9260-usart";
524 reg = <0xfffd4000 0x200>;
525 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 5>;
526 atmel,use-dma-rx;
527 atmel,use-dma-tx;
528 pinctrl-names = "default";
529 pinctrl-0 = <&pinctrl_uart0>;
530 status = "disabled";
531 };
532
533 uart1: serial@fffd8000 {
534 compatible = "atmel,at91sam9260-usart";
535 reg = <0xfffd8000 0x200>;
536 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 5>;
537 atmel,use-dma-rx;
538 atmel,use-dma-tx;
539 pinctrl-names = "default";
540 pinctrl-0 = <&pinctrl_uart1>;
541 status = "disabled";
542 };
543
544 macb0: ethernet@fffc4000 {
545 compatible = "cdns,at32ap7000-macb", "cdns,macb";
546 reg = <0xfffc4000 0x100>;
547 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
548 pinctrl-names = "default";
549 pinctrl-0 = <&pinctrl_macb_rmii>;
550 status = "disabled";
551 };
552
553 usb1: gadget@fffa4000 {
554 compatible = "atmel,at91rm9200-udc";
555 reg = <0xfffa4000 0x4000>;
556 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
557 status = "disabled";
558 };
559
560 i2c0: i2c@fffac000 {
561 compatible = "atmel,at91sam9260-i2c";
562 reg = <0xfffac000 0x100>;
563 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
564 #address-cells = <1>;
565 #size-cells = <0>;
566 status = "disabled";
567 };
568
569 mmc0: mmc@fffa8000 {
570 compatible = "atmel,hsmci";
571 reg = <0xfffa8000 0x600>;
572 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
573 #address-cells = <1>;
574 #size-cells = <0>;
575 pinctrl-names = "default";
576 status = "disabled";
577 };
578
579 ssc0: ssc@fffbc000 {
580 compatible = "atmel,at91rm9200-ssc";
581 reg = <0xfffbc000 0x4000>;
582 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
583 pinctrl-names = "default";
584 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
585 status = "disabled";
586 };
587
588 spi0: spi@fffc8000 {
589 #address-cells = <1>;
590 #size-cells = <0>;
591 compatible = "atmel,at91rm9200-spi";
592 reg = <0xfffc8000 0x200>;
593 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
594 pinctrl-names = "default";
595 pinctrl-0 = <&pinctrl_spi0>;
596 status = "disabled";
597 };
598
599 spi1: spi@fffcc000 {
600 #address-cells = <1>;
601 #size-cells = <0>;
602 compatible = "atmel,at91rm9200-spi";
603 reg = <0xfffcc000 0x200>;
604 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
605 pinctrl-names = "default";
606 pinctrl-0 = <&pinctrl_spi1>;
607 status = "disabled";
608 };
609
610 adc0: adc@fffe0000 {
611 compatible = "atmel,at91sam9260-adc";
612 reg = <0xfffe0000 0x100>;
613 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 0>;
614 atmel,adc-use-external-triggers;
615 atmel,adc-channels-used = <0xf>;
616 atmel,adc-vref = <3300>;
617 atmel,adc-num-channels = <4>;
618 atmel,adc-startup-time = <15>;
619 atmel,adc-channel-base = <0x30>;
620 atmel,adc-drdy-mask = <0x10000>;
621 atmel,adc-status-register = <0x1c>;
622 atmel,adc-trigger-register = <0x04>;
623 atmel,adc-res = <8 10>;
624 atmel,adc-res-names = "lowres", "highres";
625 atmel,adc-use-res = "highres";
626
627 trigger@0 {
628 trigger-name = "timer-counter-0";
629 trigger-value = <0x1>;
630 };
631 trigger@1 {
632 trigger-name = "timer-counter-1";
633 trigger-value = <0x3>;
634 };
635
636 trigger@2 {
637 trigger-name = "timer-counter-2";
638 trigger-value = <0x5>;
639 };
640
641 trigger@3 {
642 trigger-name = "external";
643 trigger-value = <0x13>;
644 trigger-external;
645 };
646 };
647
648 watchdog@fffffd40 {
649 compatible = "atmel,at91sam9260-wdt";
650 reg = <0xfffffd40 0x10>;
651 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;

--- 22 unchanged lines hidden (view full) ---

674 >;
675 status = "disabled";
676 };
677
678 usb0: ohci@00500000 {
679 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
680 reg = <0x00500000 0x100000>;
681 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
682 status = "disabled";
683 };
684 };
685
686 i2c@0 {
687 compatible = "i2c-gpio";
688 gpios = <&pioA 23 GPIO_ACTIVE_HIGH /* sda */
689 &pioA 24 GPIO_ACTIVE_HIGH /* scl */
690 >;
691 i2c-gpio,sda-open-drain;
692 i2c-gpio,scl-open-drain;
693 i2c-gpio,delay-us = <2>; /* ~100 kHz */
694 #address-cells = <1>;
695 #size-cells = <0>;
696 pinctrl-names = "default";
697 pinctrl-0 = <&pinctrl_i2c_gpio0>;
698 status = "disabled";
699 };
700};