blob: 7c95f76398de401ac166af8f32d4a34a6b918e79 [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;
31 };
32 cpus {
33 cpu@0 {
34 compatible = "arm,arm926ejs";
35 };
36 };
37
38 memory {
39 reg = <0x20000000 0x04000000>;
40 };
41
42 ahb {
43 compatible = "simple-bus";
44 #address-cells = <1>;
45 #size-cells = <1>;
46 ranges;
47
48 apb {
49 compatible = "simple-bus";
50 #address-cells = <1>;
51 #size-cells = <1>;
52 ranges;
53
54 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020055 #interrupt-cells = <3>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080056 compatible = "atmel,at91rm9200-aic";
57 interrupt-controller;
58 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080059 atmel,external-irqs = <29 30 31>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080060 };
61
62 ramc0: ramc@ffffea00 {
63 compatible = "atmel,at91sam9260-sdramc";
64 reg = <0xffffea00 0x200>;
65 };
66
67 pmc: pmc@fffffc00 {
68 compatible = "atmel,at91rm9200-pmc";
69 reg = <0xfffffc00 0x100>;
70 };
71
72 rstc@fffffd00 {
73 compatible = "atmel,at91sam9260-rstc";
74 reg = <0xfffffd00 0x10>;
75 };
76
77 shdwc@fffffd10 {
78 compatible = "atmel,at91sam9260-shdwc";
79 reg = <0xfffffd10 0x10>;
80 };
81
82 pit: timer@fffffd30 {
83 compatible = "atmel,at91sam9260-pit";
84 reg = <0xfffffd30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020085 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080086 };
87
88 tcb0: timer@fffa0000 {
89 compatible = "atmel,at91rm9200-tcb";
90 reg = <0xfffa0000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020091 interrupts = <17 4 0 18 4 0 19 4 0>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080092 };
93
94 tcb1: timer@fffdc000 {
95 compatible = "atmel,at91rm9200-tcb";
96 reg = <0xfffdc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020097 interrupts = <26 4 0 27 4 0 28 4 0>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +080098 };
99
100 pioA: gpio@fffff400 {
101 compatible = "atmel,at91rm9200-gpio";
102 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200103 interrupts = <2 4 1>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800104 #gpio-cells = <2>;
105 gpio-controller;
106 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200107 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800108 };
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;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200117 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800118 };
119
120 pioC: gpio@fffff800 {
121 compatible = "atmel,at91rm9200-gpio";
122 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200123 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800124 #gpio-cells = <2>;
125 gpio-controller;
126 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200127 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800128 };
129
130 dbgu: serial@fffff200 {
131 compatible = "atmel,at91sam9260-usart";
132 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200133 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800134 status = "disabled";
135 };
136
137 usart0: serial@fffb0000 {
138 compatible = "atmel,at91sam9260-usart";
139 reg = <0xfffb0000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200140 interrupts = <6 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800141 atmel,use-dma-rx;
142 atmel,use-dma-tx;
143 status = "disabled";
144 };
145
146 usart1: serial@fffb4000 {
147 compatible = "atmel,at91sam9260-usart";
148 reg = <0xfffb4000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200149 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800150 atmel,use-dma-rx;
151 atmel,use-dma-tx;
152 status = "disabled";
153 };
154
155 usart2: serial@fffb8000 {
156 compatible = "atmel,at91sam9260-usart";
157 reg = <0xfffb8000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200158 interrupts = <8 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800159 atmel,use-dma-rx;
160 atmel,use-dma-tx;
161 status = "disabled";
162 };
163
164 usart3: serial@fffd0000 {
165 compatible = "atmel,at91sam9260-usart";
166 reg = <0xfffd0000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200167 interrupts = <23 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800168 atmel,use-dma-rx;
169 atmel,use-dma-tx;
170 status = "disabled";
171 };
172
173 usart4: serial@fffd4000 {
174 compatible = "atmel,at91sam9260-usart";
175 reg = <0xfffd4000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200176 interrupts = <24 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800177 atmel,use-dma-rx;
178 atmel,use-dma-tx;
179 status = "disabled";
180 };
181
182 usart5: serial@fffd8000 {
183 compatible = "atmel,at91sam9260-usart";
184 reg = <0xfffd8000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200185 interrupts = <25 4 5>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800186 atmel,use-dma-rx;
187 atmel,use-dma-tx;
188 status = "disabled";
189 };
190
191 macb0: ethernet@fffc4000 {
192 compatible = "cdns,at32ap7000-macb", "cdns,macb";
193 reg = <0xfffc4000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200194 interrupts = <21 4 3>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800195 status = "disabled";
196 };
197
198 usb1: gadget@fffa4000 {
199 compatible = "atmel,at91rm9200-udc";
200 reg = <0xfffa4000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200201 interrupts = <10 4 2>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800202 status = "disabled";
203 };
Nicolas Ferre73d68d92012-05-16 17:37:06 +0200204
205 adc0: adc@fffe0000 {
206 compatible = "atmel,at91sam9260-adc";
207 reg = <0xfffe0000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200208 interrupts = <5 4 0>;
Nicolas Ferre73d68d92012-05-16 17:37:06 +0200209 atmel,adc-use-external-triggers;
210 atmel,adc-channels-used = <0xf>;
211 atmel,adc-vref = <3300>;
212 atmel,adc-num-channels = <4>;
213 atmel,adc-startup-time = <15>;
214 atmel,adc-channel-base = <0x30>;
215 atmel,adc-drdy-mask = <0x10000>;
216 atmel,adc-status-register = <0x1c>;
217 atmel,adc-trigger-register = <0x04>;
218
219 trigger@0 {
220 trigger-name = "timer-counter-0";
221 trigger-value = <0x1>;
222 };
223 trigger@1 {
224 trigger-name = "timer-counter-1";
225 trigger-value = <0x3>;
226 };
227
228 trigger@2 {
229 trigger-name = "timer-counter-2";
230 trigger-value = <0x5>;
231 };
232
233 trigger@3 {
234 trigger-name = "external";
235 trigger-value = <0x13>;
236 trigger-external;
237 };
238 };
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800239 };
240
241 nand0: nand@40000000 {
242 compatible = "atmel,at91rm9200-nand";
243 #address-cells = <1>;
244 #size-cells = <1>;
245 reg = <0x40000000 0x10000000
246 0xffffe800 0x200
247 >;
248 atmel,nand-addr-offset = <21>;
249 atmel,nand-cmd-offset = <22>;
250 gpios = <&pioC 13 0
251 &pioC 14 0
252 0
253 >;
254 status = "disabled";
255 };
256
257 usb0: ohci@00500000 {
258 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
259 reg = <0x00500000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200260 interrupts = <20 4 2>;
Jean-Christophe PLAGNIOL-VILLARD5b6089c2012-04-09 19:26:33 +0800261 status = "disabled";
262 };
263 };
264
265 i2c@0 {
266 compatible = "i2c-gpio";
267 gpios = <&pioA 23 0 /* sda */
268 &pioA 24 0 /* scl */
269 >;
270 i2c-gpio,sda-open-drain;
271 i2c-gpio,scl-open-drain;
272 i2c-gpio,delay-us = <2>; /* ~100 kHz */
273 #address-cells = <1>;
274 #size-cells = <0>;
275 status = "disabled";
276 };
277};