blob: 8a387a8d61b745fc763c9e13f015896bc3e2bff7 [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;
30 };
31 cpus {
32 cpu@0 {
33 compatible = "arm,arm926ejs";
34 };
35 };
36
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020037 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010038 reg = <0x20000000 0x10000000>;
39 };
40
41 ahb {
42 compatible = "simple-bus";
43 #address-cells = <1>;
44 #size-cells = <1>;
45 ranges;
46
47 apb {
48 compatible = "simple-bus";
49 #address-cells = <1>;
50 #size-cells = <1>;
51 ranges;
52
53 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020054 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010055 compatible = "atmel,at91rm9200-aic";
56 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010057 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080058 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010059 };
60
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080061 ramc0: ramc@ffffe800 {
62 compatible = "atmel,at91sam9g45-ddramc";
63 reg = <0xffffe800 0x200>;
64 };
65
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080066 pmc: pmc@fffffc00 {
67 compatible = "atmel,at91rm9200-pmc";
68 reg = <0xfffffc00 0x100>;
69 };
70
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080071 rstc@fffffe00 {
72 compatible = "atmel,at91sam9g45-rstc";
73 reg = <0xfffffe00 0x10>;
74 };
75
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080076 shdwc@fffffe10 {
77 compatible = "atmel,at91sam9x5-shdwc";
78 reg = <0xfffffe10 0x10>;
79 };
80
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010081 pit: timer@fffffe30 {
82 compatible = "atmel,at91sam9260-pit";
83 reg = <0xfffffe30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020084 interrupts = <1 4 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010085 };
86
87 tcb0: timer@f8008000 {
88 compatible = "atmel,at91sam9x5-tcb";
89 reg = <0xf8008000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020090 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010091 };
92
93 tcb1: timer@f800c000 {
94 compatible = "atmel,at91sam9x5-tcb";
95 reg = <0xf800c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020096 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010097 };
98
99 dma0: dma-controller@ffffec00 {
100 compatible = "atmel,at91sam9g45-dma";
101 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200102 interrupts = <20 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100103 };
104
105 dma1: dma-controller@ffffee00 {
106 compatible = "atmel,at91sam9g45-dma";
107 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200108 interrupts = <21 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100109 };
110
111 pioA: gpio@fffff400 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200112 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100113 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200114 interrupts = <2 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100115 #gpio-cells = <2>;
116 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100117 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200118 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100119 };
120
121 pioB: gpio@fffff600 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200122 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100123 reg = <0xfffff600 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200124 interrupts = <2 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100125 #gpio-cells = <2>;
126 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100127 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200128 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100129 };
130
131 pioC: gpio@fffff800 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200132 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100133 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200134 interrupts = <3 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100135 #gpio-cells = <2>;
136 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100137 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200138 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100139 };
140
141 pioD: gpio@fffffa00 {
Nicolas Ferre582d5fb2010-07-20 19:18:51 +0200142 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100143 reg = <0xfffffa00 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200144 interrupts = <3 4 1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100145 #gpio-cells = <2>;
146 gpio-controller;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100147 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200148 #interrupt-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100149 };
150
151 dbgu: serial@fffff200 {
152 compatible = "atmel,at91sam9260-usart";
153 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200154 interrupts = <1 4 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100155 status = "disabled";
156 };
157
158 usart0: serial@f801c000 {
159 compatible = "atmel,at91sam9260-usart";
160 reg = <0xf801c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200161 interrupts = <5 4 5>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100162 atmel,use-dma-rx;
163 atmel,use-dma-tx;
164 status = "disabled";
165 };
166
167 usart1: serial@f8020000 {
168 compatible = "atmel,at91sam9260-usart";
169 reg = <0xf8020000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200170 interrupts = <6 4 5>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100171 atmel,use-dma-rx;
172 atmel,use-dma-tx;
173 status = "disabled";
174 };
175
176 usart2: serial@f8024000 {
177 compatible = "atmel,at91sam9260-usart";
178 reg = <0xf8024000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200179 interrupts = <7 4 5>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100180 atmel,use-dma-rx;
181 atmel,use-dma-tx;
182 status = "disabled";
183 };
184
185 macb0: ethernet@f802c000 {
186 compatible = "cdns,at32ap7000-macb", "cdns,macb";
187 reg = <0xf802c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200188 interrupts = <24 4 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100189 status = "disabled";
190 };
191
192 macb1: ethernet@f8030000 {
193 compatible = "cdns,at32ap7000-macb", "cdns,macb";
194 reg = <0xf8030000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200195 interrupts = <27 4 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100196 status = "disabled";
197 };
Maxime Ripardd029f372012-05-11 15:35:39 +0200198
199 adc0: adc@f804c000 {
200 compatible = "atmel,at91sam9260-adc";
201 reg = <0xf804c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200202 interrupts = <19 4 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200203 atmel,adc-use-external;
204 atmel,adc-channels-used = <0xffff>;
205 atmel,adc-vref = <3300>;
206 atmel,adc-num-channels = <12>;
207 atmel,adc-startup-time = <40>;
208 atmel,adc-channel-base = <0x50>;
209 atmel,adc-drdy-mask = <0x1000000>;
210 atmel,adc-status-register = <0x30>;
211 atmel,adc-trigger-register = <0xc0>;
212
213 trigger@0 {
214 trigger-name = "external-rising";
215 trigger-value = <0x1>;
216 trigger-external;
217 };
218
219 trigger@1 {
220 trigger-name = "external-falling";
221 trigger-value = <0x2>;
222 trigger-external;
223 };
224
225 trigger@2 {
226 trigger-name = "external-any";
227 trigger-value = <0x3>;
228 trigger-external;
229 };
230
231 trigger@3 {
232 trigger-name = "continuous";
233 trigger-value = <0x6>;
234 };
235 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100236 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800237
238 nand0: nand@40000000 {
239 compatible = "atmel,at91rm9200-nand";
240 #address-cells = <1>;
241 #size-cells = <1>;
242 reg = <0x40000000 0x10000000
243 >;
244 atmel,nand-addr-offset = <21>;
245 atmel,nand-cmd-offset = <22>;
Nicolas Ferre43528082012-03-22 14:47:40 +0100246 gpios = <&pioD 5 0
247 &pioD 4 0
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800248 0
249 >;
250 status = "disabled";
251 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800252
253 usb0: ohci@00600000 {
254 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
255 reg = <0x00600000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200256 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800257 status = "disabled";
258 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800259
260 usb1: ehci@00700000 {
261 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
262 reg = <0x00700000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200263 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800264 status = "disabled";
265 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100266 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800267
268 i2c@0 {
269 compatible = "i2c-gpio";
270 gpios = <&pioA 30 0 /* sda */
271 &pioA 31 0 /* scl */
272 >;
273 i2c-gpio,sda-open-drain;
274 i2c-gpio,scl-open-drain;
275 i2c-gpio,delay-us = <2>; /* ~100 kHz */
276 #address-cells = <1>;
277 #size-cells = <0>;
278 status = "disabled";
279 };
280
281 i2c@1 {
282 compatible = "i2c-gpio";
283 gpios = <&pioC 0 0 /* sda */
284 &pioC 1 0 /* scl */
285 >;
286 i2c-gpio,sda-open-drain;
287 i2c-gpio,scl-open-drain;
288 i2c-gpio,delay-us = <2>; /* ~100 kHz */
289 #address-cells = <1>;
290 #size-cells = <0>;
291 status = "disabled";
292 };
293
294 i2c@2 {
295 compatible = "i2c-gpio";
296 gpios = <&pioB 4 0 /* sda */
297 &pioB 5 0 /* scl */
298 >;
299 i2c-gpio,sda-open-drain;
300 i2c-gpio,scl-open-drain;
301 i2c-gpio,delay-us = <2>; /* ~100 kHz */
302 #address-cells = <1>;
303 #size-cells = <0>;
304 status = "disabled";
305 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100306};