blob: 69667d0ac347f142a51c5acc704e731763ec2144 [file] [log] [blame]
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001/*
2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
3 * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
4 * AT91SAM9X25, AT91SAM9X35 SoC
5 *
6 * Copyright (C) 2012 Atmel,
7 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
8 *
9 * Licensed under GPLv2 or later.
10 */
11
12/include/ "skeleton.dtsi"
13
14/ {
15 model = "Atmel AT91SAM9x5 family SoC";
16 compatible = "atmel,at91sam9x5";
17 interrupt-parent = <&aic>;
18
19 aliases {
20 serial0 = &dbgu;
21 serial1 = &usart0;
22 serial2 = &usart1;
23 serial3 = &usart2;
24 gpio0 = &pioA;
25 gpio1 = &pioB;
26 gpio2 = &pioC;
27 gpio3 = &pioD;
28 tcb0 = &tcb0;
29 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020030 i2c0 = &i2c0;
31 i2c1 = &i2c1;
32 i2c2 = &i2c2;
Bo Shen099343c2012-11-07 11:41:41 +080033 ssc0 = &ssc0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010034 };
35 cpus {
36 cpu@0 {
37 compatible = "arm,arm926ejs";
38 };
39 };
40
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020041 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010042 reg = <0x20000000 0x10000000>;
43 };
44
45 ahb {
46 compatible = "simple-bus";
47 #address-cells = <1>;
48 #size-cells = <1>;
49 ranges;
50
51 apb {
52 compatible = "simple-bus";
53 #address-cells = <1>;
54 #size-cells = <1>;
55 ranges;
56
57 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020058 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010059 compatible = "atmel,at91rm9200-aic";
60 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010061 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080062 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010063 };
64
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080065 ramc0: ramc@ffffe800 {
66 compatible = "atmel,at91sam9g45-ddramc";
67 reg = <0xffffe800 0x200>;
68 };
69
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080070 pmc: pmc@fffffc00 {
71 compatible = "atmel,at91rm9200-pmc";
72 reg = <0xfffffc00 0x100>;
73 };
74
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080075 rstc@fffffe00 {
76 compatible = "atmel,at91sam9g45-rstc";
77 reg = <0xfffffe00 0x10>;
78 };
79
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080080 shdwc@fffffe10 {
81 compatible = "atmel,at91sam9x5-shdwc";
82 reg = <0xfffffe10 0x10>;
83 };
84
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010085 pit: timer@fffffe30 {
86 compatible = "atmel,at91sam9260-pit";
87 reg = <0xfffffe30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020088 interrupts = <1 4 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010089 };
90
Bo Shen099343c2012-11-07 11:41:41 +080091 ssc0: ssc@f0010000 {
92 compatible = "atmel,at91sam9g45-ssc";
93 reg = <0xf0010000 0x4000>;
94 interrupts = <28 4 5>;
95 status = "disable";
96 };
97
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010098 tcb0: timer@f8008000 {
99 compatible = "atmel,at91sam9x5-tcb";
100 reg = <0xf8008000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200101 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100102 };
103
104 tcb1: timer@f800c000 {
105 compatible = "atmel,at91sam9x5-tcb";
106 reg = <0xf800c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200107 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100108 };
109
110 dma0: dma-controller@ffffec00 {
111 compatible = "atmel,at91sam9g45-dma";
112 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200113 interrupts = <20 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100114 };
115
116 dma1: dma-controller@ffffee00 {
117 compatible = "atmel,at91sam9g45-dma";
118 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200119 interrupts = <21 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100120 };
121
122 pioA: gpio@fffff400 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200123 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100124 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200125 interrupts = <2 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100126 #gpio-cells = <2>;
127 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100128 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200129 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100130 };
131
132 pioB: gpio@fffff600 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200133 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100134 reg = <0xfffff600 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200135 interrupts = <2 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100136 #gpio-cells = <2>;
137 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100138 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200139 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100140 };
141
142 pioC: gpio@fffff800 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200143 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100144 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200145 interrupts = <3 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100146 #gpio-cells = <2>;
147 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100148 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200149 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100150 };
151
152 pioD: gpio@fffffa00 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200153 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100154 reg = <0xfffffa00 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200155 interrupts = <3 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100156 #gpio-cells = <2>;
157 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100158 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200159 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100160 };
161
162 dbgu: serial@fffff200 {
163 compatible = "atmel,at91sam9260-usart";
164 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200165 interrupts = <1 4 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100166 status = "disabled";
167 };
168
169 usart0: serial@f801c000 {
170 compatible = "atmel,at91sam9260-usart";
171 reg = <0xf801c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200172 interrupts = <5 4 5>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100173 atmel,use-dma-rx;
174 atmel,use-dma-tx;
175 status = "disabled";
176 };
177
178 usart1: serial@f8020000 {
179 compatible = "atmel,at91sam9260-usart";
180 reg = <0xf8020000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200181 interrupts = <6 4 5>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100182 atmel,use-dma-rx;
183 atmel,use-dma-tx;
184 status = "disabled";
185 };
186
187 usart2: serial@f8024000 {
188 compatible = "atmel,at91sam9260-usart";
189 reg = <0xf8024000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200190 interrupts = <7 4 5>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100191 atmel,use-dma-rx;
192 atmel,use-dma-tx;
193 status = "disabled";
194 };
195
196 macb0: ethernet@f802c000 {
197 compatible = "cdns,at32ap7000-macb", "cdns,macb";
198 reg = <0xf802c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200199 interrupts = <24 4 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100200 status = "disabled";
201 };
202
203 macb1: ethernet@f8030000 {
204 compatible = "cdns,at32ap7000-macb", "cdns,macb";
205 reg = <0xf8030000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200206 interrupts = <27 4 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100207 status = "disabled";
208 };
Maxime Ripardd029f372012-05-11 15:35:39 +0200209
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200210 i2c0: i2c@f8010000 {
211 compatible = "atmel,at91sam9x5-i2c";
212 reg = <0xf8010000 0x100>;
213 interrupts = <9 4 6>;
214 #address-cells = <1>;
215 #size-cells = <0>;
216 status = "disabled";
217 };
218
219 i2c1: i2c@f8014000 {
220 compatible = "atmel,at91sam9x5-i2c";
221 reg = <0xf8014000 0x100>;
222 interrupts = <10 4 6>;
223 #address-cells = <1>;
224 #size-cells = <0>;
225 status = "disabled";
226 };
227
228 i2c2: i2c@f8018000 {
229 compatible = "atmel,at91sam9x5-i2c";
230 reg = <0xf8018000 0x100>;
231 interrupts = <11 4 6>;
232 #address-cells = <1>;
233 #size-cells = <0>;
234 status = "disabled";
235 };
236
Maxime Ripardd029f372012-05-11 15:35:39 +0200237 adc0: adc@f804c000 {
238 compatible = "atmel,at91sam9260-adc";
239 reg = <0xf804c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200240 interrupts = <19 4 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200241 atmel,adc-use-external;
242 atmel,adc-channels-used = <0xffff>;
243 atmel,adc-vref = <3300>;
244 atmel,adc-num-channels = <12>;
245 atmel,adc-startup-time = <40>;
246 atmel,adc-channel-base = <0x50>;
247 atmel,adc-drdy-mask = <0x1000000>;
248 atmel,adc-status-register = <0x30>;
249 atmel,adc-trigger-register = <0xc0>;
250
251 trigger@0 {
252 trigger-name = "external-rising";
253 trigger-value = <0x1>;
254 trigger-external;
255 };
256
257 trigger@1 {
258 trigger-name = "external-falling";
259 trigger-value = <0x2>;
260 trigger-external;
261 };
262
263 trigger@2 {
264 trigger-name = "external-any";
265 trigger-value = <0x3>;
266 trigger-external;
267 };
268
269 trigger@3 {
270 trigger-name = "continuous";
271 trigger-value = <0x6>;
272 };
273 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100274 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800275
276 nand0: nand@40000000 {
277 compatible = "atmel,at91rm9200-nand";
278 #address-cells = <1>;
279 #size-cells = <1>;
280 reg = <0x40000000 0x10000000
281 >;
282 atmel,nand-addr-offset = <21>;
283 atmel,nand-cmd-offset = <22>;
Nicolas Ferre43528082012-03-22 14:47:40 +0100284 gpios = <&pioD 5 0
285 &pioD 4 0
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800286 0
287 >;
288 status = "disabled";
289 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800290
291 usb0: ohci@00600000 {
292 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
293 reg = <0x00600000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200294 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800295 status = "disabled";
296 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800297
298 usb1: ehci@00700000 {
299 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
300 reg = <0x00700000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200301 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800302 status = "disabled";
303 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100304 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800305
306 i2c@0 {
307 compatible = "i2c-gpio";
308 gpios = <&pioA 30 0 /* sda */
309 &pioA 31 0 /* scl */
310 >;
311 i2c-gpio,sda-open-drain;
312 i2c-gpio,scl-open-drain;
313 i2c-gpio,delay-us = <2>; /* ~100 kHz */
314 #address-cells = <1>;
315 #size-cells = <0>;
316 status = "disabled";
317 };
318
319 i2c@1 {
320 compatible = "i2c-gpio";
321 gpios = <&pioC 0 0 /* sda */
322 &pioC 1 0 /* scl */
323 >;
324 i2c-gpio,sda-open-drain;
325 i2c-gpio,scl-open-drain;
326 i2c-gpio,delay-us = <2>; /* ~100 kHz */
327 #address-cells = <1>;
328 #size-cells = <0>;
329 status = "disabled";
330 };
331
332 i2c@2 {
333 compatible = "i2c-gpio";
334 gpios = <&pioB 4 0 /* sda */
335 &pioB 5 0 /* scl */
336 >;
337 i2c-gpio,sda-open-drain;
338 i2c-gpio,scl-open-drain;
339 i2c-gpio,delay-us = <2>; /* ~100 kHz */
340 #address-cells = <1>;
341 #size-cells = <0>;
342 status = "disabled";
343 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100344};