blob: edef4521cef42b2d6bf5fa34244e29679e187dff [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +08001/*
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
13/ {
14 model = "Atmel AT91SAM9260 family SoC";
15 compatible = "atmel,at91sam9260";
16 interrupt-parent = <&aic>;
17
18 aliases {
19 serial0 = &dbgu;
20 serial1 = &usart0;
21 serial2 = &usart1;
22 serial3 = &usart2;
23 serial4 = &usart3;
24 serial5 = &usart4;
25 serial6 = &usart5;
26 gpio0 = &pioA;
27 gpio1 = &pioB;
28 gpio2 = &pioC;
29 tcb0 = &tcb0;
30 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020031 i2c0 = &i2c0;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080032 };
33 cpus {
34 cpu@0 {
35 compatible = "arm,arm926ejs";
36 };
37 };
38
39 memory {
40 reg = <0x20000000 0x04000000>;
41 };
42
43 ahb {
44 compatible = "simple-bus";
45 #address-cells = <1>;
46 #size-cells = <1>;
47 ranges;
48
49 apb {
50 compatible = "simple-bus";
51 #address-cells = <1>;
52 #size-cells = <1>;
53 ranges;
54
55 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020056 #interrupt-cells = <3>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080057 compatible = "atmel,at91rm9200-aic";
58 interrupt-controller;
59 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080060 atmel,external-irqs = <29 30 31>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080061 };
62
63 ramc0: ramc@ffffea00 {
64 compatible = "atmel,at91sam9260-sdramc";
65 reg = <0xffffea00 0x200>;
66 };
67
68 pmc: pmc@fffffc00 {
69 compatible = "atmel,at91rm9200-pmc";
70 reg = <0xfffffc00 0x100>;
71 };
72
73 rstc@fffffd00 {
74 compatible = "atmel,at91sam9260-rstc";
75 reg = <0xfffffd00 0x10>;
76 };
77
78 shdwc@fffffd10 {
79 compatible = "atmel,at91sam9260-shdwc";
80 reg = <0xfffffd10 0x10>;
81 };
82
83 pit: timer@fffffd30 {
84 compatible = "atmel,at91sam9260-pit";
85 reg = <0xfffffd30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020086 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080087 };
88
89 tcb0: timer@fffa0000 {
90 compatible = "atmel,at91rm9200-tcb";
91 reg = <0xfffa0000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020092 interrupts = <17 4 0 18 4 0 19 4 0>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080093 };
94
95 tcb1: timer@fffdc000 {
96 compatible = "atmel,at91rm9200-tcb";
97 reg = <0xfffdc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020098 interrupts = <26 4 0 27 4 0 28 4 0>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080099 };
100
101 pioA: gpio@fffff400 {
102 compatible = "atmel,at91rm9200-gpio";
103 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200104 interrupts = <2 4 1>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800105 #gpio-cells = <2>;
106 gpio-controller;
107 interrupt-controller;
108 };
109
110 pioB: gpio@fffff600 {
111 compatible = "atmel,at91rm9200-gpio";
112 reg = <0xfffff600 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200113 interrupts = <3 4 1>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800114 #gpio-cells = <2>;
115 gpio-controller;
116 interrupt-controller;
117 };
118
119 pioC: gpio@fffff800 {
120 compatible = "atmel,at91rm9200-gpio";
121 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200122 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800123 #gpio-cells = <2>;
124 gpio-controller;
125 interrupt-controller;
126 };
127
128 dbgu: serial@fffff200 {
129 compatible = "atmel,at91sam9260-usart";
130 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200131 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800132 status = "disabled";
133 };
134
135 usart0: serial@fffb0000 {
136 compatible = "atmel,at91sam9260-usart";
137 reg = <0xfffb0000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200138 interrupts = <6 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800139 atmel,use-dma-rx;
140 atmel,use-dma-tx;
141 status = "disabled";
142 };
143
144 usart1: serial@fffb4000 {
145 compatible = "atmel,at91sam9260-usart";
146 reg = <0xfffb4000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200147 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800148 atmel,use-dma-rx;
149 atmel,use-dma-tx;
150 status = "disabled";
151 };
152
153 usart2: serial@fffb8000 {
154 compatible = "atmel,at91sam9260-usart";
155 reg = <0xfffb8000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200156 interrupts = <8 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800157 atmel,use-dma-rx;
158 atmel,use-dma-tx;
159 status = "disabled";
160 };
161
162 usart3: serial@fffd0000 {
163 compatible = "atmel,at91sam9260-usart";
164 reg = <0xfffd0000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200165 interrupts = <23 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800166 atmel,use-dma-rx;
167 atmel,use-dma-tx;
168 status = "disabled";
169 };
170
171 usart4: serial@fffd4000 {
172 compatible = "atmel,at91sam9260-usart";
173 reg = <0xfffd4000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200174 interrupts = <24 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800175 atmel,use-dma-rx;
176 atmel,use-dma-tx;
177 status = "disabled";
178 };
179
180 usart5: serial@fffd8000 {
181 compatible = "atmel,at91sam9260-usart";
182 reg = <0xfffd8000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200183 interrupts = <25 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800184 atmel,use-dma-rx;
185 atmel,use-dma-tx;
186 status = "disabled";
187 };
188
189 macb0: ethernet@fffc4000 {
190 compatible = "cdns,at32ap7000-macb", "cdns,macb";
191 reg = <0xfffc4000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200192 interrupts = <21 4 3>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800193 status = "disabled";
194 };
195
196 usb1: gadget@fffa4000 {
197 compatible = "atmel,at91rm9200-udc";
198 reg = <0xfffa4000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200199 interrupts = <10 4 2>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800200 status = "disabled";
201 };
Nicolas Ferre73d68d92012-05-16 17:37:06 +0200202
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200203 i2c0: i2c@fffac000 {
204 compatible = "atmel,at91sam9260-i2c";
205 reg = <0xfffac000 0x100>;
206 interrupts = <11 4 6>;
207 #address-cells = <1>;
208 #size-cells = <0>;
209 status = "disabled";
210 };
211
Nicolas Ferre73d68d92012-05-16 17:37:06 +0200212 adc0: adc@fffe0000 {
213 compatible = "atmel,at91sam9260-adc";
214 reg = <0xfffe0000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200215 interrupts = <5 4 0>;
Nicolas Ferre73d68d92012-05-16 17:37:06 +0200216 atmel,adc-use-external-triggers;
217 atmel,adc-channels-used = <0xf>;
218 atmel,adc-vref = <3300>;
219 atmel,adc-num-channels = <4>;
220 atmel,adc-startup-time = <15>;
221 atmel,adc-channel-base = <0x30>;
222 atmel,adc-drdy-mask = <0x10000>;
223 atmel,adc-status-register = <0x1c>;
224 atmel,adc-trigger-register = <0x04>;
225
226 trigger@0 {
227 trigger-name = "timer-counter-0";
228 trigger-value = <0x1>;
229 };
230 trigger@1 {
231 trigger-name = "timer-counter-1";
232 trigger-value = <0x3>;
233 };
234
235 trigger@2 {
236 trigger-name = "timer-counter-2";
237 trigger-value = <0x5>;
238 };
239
240 trigger@3 {
241 trigger-name = "external";
242 trigger-value = <0x13>;
243 trigger-external;
244 };
245 };
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800246 };
247
248 nand0: nand@40000000 {
249 compatible = "atmel,at91rm9200-nand";
250 #address-cells = <1>;
251 #size-cells = <1>;
252 reg = <0x40000000 0x10000000
253 0xffffe800 0x200
254 >;
255 atmel,nand-addr-offset = <21>;
256 atmel,nand-cmd-offset = <22>;
257 gpios = <&pioC 13 0
258 &pioC 14 0
259 0
260 >;
261 status = "disabled";
262 };
263
264 usb0: ohci@00500000 {
265 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
266 reg = <0x00500000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200267 interrupts = <20 4 2>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800268 status = "disabled";
269 };
270 };
271
272 i2c@0 {
273 compatible = "i2c-gpio";
274 gpios = <&pioA 23 0 /* sda */
275 &pioA 24 0 /* scl */
276 >;
277 i2c-gpio,sda-open-drain;
278 i2c-gpio,scl-open-drain;
279 i2c-gpio,delay-us = <2>; /* ~100 kHz */
280 #address-cells = <1>;
281 #size-cells = <0>;
282 status = "disabled";
283 };
284};