blob: 195019b7ca0e046073361a587862c885c8fbfb7e [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001/*
2 * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
3 *
4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2 only.
7 */
8
9/include/ "skeleton.dtsi"
10
11/ {
12 model = "Atmel AT91SAM9263 family SoC";
13 compatible = "atmel,at91sam9263";
14 interrupt-parent = <&aic>;
15
16 aliases {
17 serial0 = &dbgu;
18 serial1 = &usart0;
19 serial2 = &usart1;
20 serial3 = &usart2;
21 gpio0 = &pioA;
22 gpio1 = &pioB;
23 gpio2 = &pioC;
24 gpio3 = &pioD;
25 gpio4 = &pioE;
26 tcb0 = &tcb0;
27 };
28 cpus {
29 cpu@0 {
30 compatible = "arm,arm926ejs";
31 };
32 };
33
34 memory {
35 reg = <0x20000000 0x08000000>;
36 };
37
38 ahb {
39 compatible = "simple-bus";
40 #address-cells = <1>;
41 #size-cells = <1>;
42 ranges;
43
44 apb {
45 compatible = "simple-bus";
46 #address-cells = <1>;
47 #size-cells = <1>;
48 ranges;
49
50 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020051 #interrupt-cells = <3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080052 compatible = "atmel,at91rm9200-aic";
53 interrupt-controller;
54 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080055 atmel,external-irqs = <30 31>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080056 };
57
58 pmc: pmc@fffffc00 {
59 compatible = "atmel,at91rm9200-pmc";
60 reg = <0xfffffc00 0x100>;
61 };
62
63 ramc: ramc@ffffe200 {
64 compatible = "atmel,at91sam9260-sdramc";
65 reg = <0xffffe200 0x200
66 0xffffe800 0x200>;
67 };
68
69 pit: timer@fffffd30 {
70 compatible = "atmel,at91sam9260-pit";
71 reg = <0xfffffd30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020072 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080073 };
74
75 tcb0: timer@fff7c000 {
76 compatible = "atmel,at91rm9200-tcb";
77 reg = <0xfff7c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020078 interrupts = <19 4 0>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080079 };
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 pioA: gpio@fffff200 {
92 compatible = "atmel,at91rm9200-gpio";
93 reg = <0xfffff200 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020094 interrupts = <2 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080095 #gpio-cells = <2>;
96 gpio-controller;
97 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +020098 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080099 };
100
101 pioB: gpio@fffff400 {
102 compatible = "atmel,at91rm9200-gpio";
103 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200104 interrupts = <3 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800105 #gpio-cells = <2>;
106 gpio-controller;
107 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200108 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800109 };
110
111 pioC: gpio@fffff600 {
112 compatible = "atmel,at91rm9200-gpio";
113 reg = <0xfffff600 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200114 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800115 #gpio-cells = <2>;
116 gpio-controller;
117 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200118 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800119 };
120
121 pioD: gpio@fffff800 {
122 compatible = "atmel,at91rm9200-gpio";
123 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200124 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800125 #gpio-cells = <2>;
126 gpio-controller;
127 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200128 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800129 };
130
131 pioE: gpio@fffffa00 {
132 compatible = "atmel,at91rm9200-gpio";
133 reg = <0xfffffa00 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200134 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800135 #gpio-cells = <2>;
136 gpio-controller;
137 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200138 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800139 };
140
141 dbgu: serial@ffffee00 {
142 compatible = "atmel,at91sam9260-usart";
143 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200144 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800145 status = "disabled";
146 };
147
148 usart0: serial@fff8c000 {
149 compatible = "atmel,at91sam9260-usart";
150 reg = <0xfff8c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200151 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800152 atmel,use-dma-rx;
153 atmel,use-dma-tx;
154 status = "disabled";
155 };
156
157 usart1: serial@fff90000 {
158 compatible = "atmel,at91sam9260-usart";
159 reg = <0xfff90000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200160 interrupts = <8 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800161 atmel,use-dma-rx;
162 atmel,use-dma-tx;
163 status = "disabled";
164 };
165
166 usart2: serial@fff94000 {
167 compatible = "atmel,at91sam9260-usart";
168 reg = <0xfff94000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200169 interrupts = <9 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800170 atmel,use-dma-rx;
171 atmel,use-dma-tx;
172 status = "disabled";
173 };
174
175 macb0: ethernet@fffbc000 {
176 compatible = "cdns,at32ap7000-macb", "cdns,macb";
177 reg = <0xfffbc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200178 interrupts = <21 4 3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800179 status = "disabled";
180 };
181
182 usb1: gadget@fff78000 {
183 compatible = "atmel,at91rm9200-udc";
184 reg = <0xfff78000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200185 interrupts = <24 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800186 status = "disabled";
187 };
188 };
189
190 nand0: nand@40000000 {
191 compatible = "atmel,at91rm9200-nand";
192 #address-cells = <1>;
193 #size-cells = <1>;
194 reg = <0x40000000 0x10000000
195 0xffffe000 0x200
196 >;
197 atmel,nand-addr-offset = <21>;
198 atmel,nand-cmd-offset = <22>;
199 gpios = <&pioA 22 0
200 &pioD 15 0
201 0
202 >;
203 status = "disabled";
204 };
205
206 usb0: ohci@00a00000 {
207 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
208 reg = <0x00a00000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200209 interrupts = <29 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800210 status = "disabled";
211 };
212 };
213
214 i2c@0 {
215 compatible = "i2c-gpio";
216 gpios = <&pioB 4 0 /* sda */
217 &pioB 5 0 /* scl */
218 >;
219 i2c-gpio,sda-open-drain;
220 i2c-gpio,scl-open-drain;
221 i2c-gpio,delay-us = <2>; /* ~100 kHz */
222 #address-cells = <1>;
223 #size-cells = <0>;
224 status = "disabled";
225 };
226};