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

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

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

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

74 ramc0: ramc@ffffff00 {
75 compatible = "atmel,at91rm9200-sdramc";
76 reg = <0xffffff00 0x100>;
77 };
78
79 pmc: pmc@fffffc00 {
80 compatible = "atmel,at91rm9200-pmc";
81 reg = <0xfffffc00 0x100>;
82 };
83
84 st: timer@fffffd00 {
85 compatible = "atmel,at91rm9200-st";
86 reg = <0xfffffd00 0x100>;
87 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
88 };
89
90 tcb0: timer@fffa0000 {
91 compatible = "atmel,at91rm9200-tcb";
92 reg = <0xfffa0000 0x100>;
93 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0
94 18 IRQ_TYPE_LEVEL_HIGH 0
95 19 IRQ_TYPE_LEVEL_HIGH 0>;
96 };
97
98 tcb1: timer@fffa4000 {
99 compatible = "atmel,at91rm9200-tcb";
100 reg = <0xfffa4000 0x100>;
101 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0
102 21 IRQ_TYPE_LEVEL_HIGH 0
103 22 IRQ_TYPE_LEVEL_HIGH 0>;
104 };
105
106 i2c0: i2c@fffb8000 {
107 compatible = "atmel,at91rm9200-i2c";
108 reg = <0xfffb8000 0x4000>;
109 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_twi>;
112 #address-cells = <1>;
113 #size-cells = <0>;
114 status = "disabled";
115 };
116
117 mmc0: mmc@fffb4000 {
118 compatible = "atmel,hsmci";
119 reg = <0xfffb4000 0x4000>;
120 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
121 #address-cells = <1>;
122 #size-cells = <0>;
123 pinctrl-names = "default";
124 status = "disabled";
125 };
126
127 ssc0: ssc@fffd0000 {
128 compatible = "atmel,at91rm9200-ssc";
129 reg = <0xfffd0000 0x4000>;
130 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
133 status = "disable";
134 };
135
136 ssc1: ssc@fffd4000 {
137 compatible = "atmel,at91rm9200-ssc";
138 reg = <0xfffd4000 0x4000>;
139 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
142 status = "disable";
143 };
144
145 ssc2: ssc@fffd8000 {
146 compatible = "atmel,at91rm9200-ssc";
147 reg = <0xfffd8000 0x4000>;
148 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
151 status = "disable";
152 };
153
154 macb0: ethernet@fffbc000 {
155 compatible = "cdns,at91rm9200-emac", "cdns,emac";
156 reg = <0xfffbc000 0x4000>;
157 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
158 phy-mode = "rmii";
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_macb_rmii>;
161 status = "disabled";
162 };
163
164 pinctrl@fffff400 {
165 #address-cells = <1>;
166 #size-cells = <1>;
167 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
168 ranges = <0xfffff400 0xfffff400 0x800>;

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

491 pioA: gpio@fffff400 {
492 compatible = "atmel,at91rm9200-gpio";
493 reg = <0xfffff400 0x200>;
494 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
495 #gpio-cells = <2>;
496 gpio-controller;
497 interrupt-controller;
498 #interrupt-cells = <2>;
499 };
500
501 pioB: gpio@fffff600 {
502 compatible = "atmel,at91rm9200-gpio";
503 reg = <0xfffff600 0x200>;
504 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
505 #gpio-cells = <2>;
506 gpio-controller;
507 interrupt-controller;
508 #interrupt-cells = <2>;
509 };
510
511 pioC: gpio@fffff800 {
512 compatible = "atmel,at91rm9200-gpio";
513 reg = <0xfffff800 0x200>;
514 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
515 #gpio-cells = <2>;
516 gpio-controller;
517 interrupt-controller;
518 #interrupt-cells = <2>;
519 };
520
521 pioD: gpio@fffffa00 {
522 compatible = "atmel,at91rm9200-gpio";
523 reg = <0xfffffa00 0x200>;
524 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
525 #gpio-cells = <2>;
526 gpio-controller;
527 interrupt-controller;
528 #interrupt-cells = <2>;
529 };
530 };
531
532 dbgu: serial@fffff200 {
533 compatible = "atmel,at91rm9200-usart";
534 reg = <0xfffff200 0x200>;
535 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&pinctrl_dbgu>;
538 status = "disabled";
539 };
540
541 usart0: serial@fffc0000 {
542 compatible = "atmel,at91rm9200-usart";
543 reg = <0xfffc0000 0x200>;
544 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
545 atmel,use-dma-rx;
546 atmel,use-dma-tx;
547 pinctrl-names = "default";
548 pinctrl-0 = <&pinctrl_uart0>;
549 status = "disabled";
550 };
551
552 usart1: serial@fffc4000 {
553 compatible = "atmel,at91rm9200-usart";
554 reg = <0xfffc4000 0x200>;
555 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
556 atmel,use-dma-rx;
557 atmel,use-dma-tx;
558 pinctrl-names = "default";
559 pinctrl-0 = <&pinctrl_uart1>;
560 status = "disabled";
561 };
562
563 usart2: serial@fffc8000 {
564 compatible = "atmel,at91rm9200-usart";
565 reg = <0xfffc8000 0x200>;
566 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
567 atmel,use-dma-rx;
568 atmel,use-dma-tx;
569 pinctrl-names = "default";
570 pinctrl-0 = <&pinctrl_uart2>;
571 status = "disabled";
572 };
573
574 usart3: serial@fffcc000 {
575 compatible = "atmel,at91rm9200-usart";
576 reg = <0xfffcc000 0x200>;
577 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
578 atmel,use-dma-rx;
579 atmel,use-dma-tx;
580 pinctrl-names = "default";
581 pinctrl-0 = <&pinctrl_uart3>;
582 status = "disabled";
583 };
584
585 usb1: gadget@fffb0000 {
586 compatible = "atmel,at91rm9200-udc";
587 reg = <0xfffb0000 0x4000>;
588 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
589 status = "disabled";
590 };
591
592 spi0: spi@fffe0000 {
593 #address-cells = <1>;
594 #size-cells = <0>;
595 compatible = "atmel,at91rm9200-spi";
596 reg = <0xfffe0000 0x200>;
597 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
598 pinctrl-names = "default";
599 pinctrl-0 = <&pinctrl_spi0>;
600 status = "disabled";
601 };
602 };
603
604 nand0: nand@40000000 {
605 compatible = "atmel,at91rm9200-nand";
606 #address-cells = <1>;
607 #size-cells = <1>;

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

617 >;
618 status = "disabled";
619 };
620
621 usb0: ohci@00300000 {
622 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
623 reg = <0x00300000 0x100000>;
624 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
625 status = "disabled";
626 };
627 };
628
629 i2c@0 {
630 compatible = "i2c-gpio";
631 gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */
632 &pioA 26 GPIO_ACTIVE_HIGH /* scl */
633 >;
634 i2c-gpio,sda-open-drain;
635 i2c-gpio,scl-open-drain;
636 i2c-gpio,delay-us = <2>; /* ~100 kHz */
637 pinctrl-names = "default";
638 pinctrl-0 = <&pinctrl_twi_gpio>;
639 #address-cells = <1>;
640 #size-cells = <0>;
641 status = "disabled";
642 };
643};