at91: regroup gpio and pinctrl under the same ranges
[deliverable/linux.git] / arch / arm / boot / dts / at91sam9260.dtsi
CommitLineData
5b6089cb
JCPV
1/*
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;
05dcd361 31 i2c0 = &i2c0;
5b6089cb
JCPV
32 };
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 {
f8a073ee 56 #interrupt-cells = <3>;
5b6089cb
JCPV
57 compatible = "atmel,at91rm9200-aic";
58 interrupt-controller;
59 reg = <0xfffff000 0x200>;
c6573943 60 atmel,external-irqs = <29 30 31>;
5b6089cb
JCPV
61 };
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>;
f8a073ee 86 interrupts = <1 4 7>;
5b6089cb
JCPV
87 };
88
89 tcb0: timer@fffa0000 {
90 compatible = "atmel,at91rm9200-tcb";
91 reg = <0xfffa0000 0x100>;
f8a073ee 92 interrupts = <17 4 0 18 4 0 19 4 0>;
5b6089cb
JCPV
93 };
94
95 tcb1: timer@fffdc000 {
96 compatible = "atmel,at91rm9200-tcb";
97 reg = <0xfffdc000 0x100>;
f8a073ee 98 interrupts = <26 4 0 27 4 0 28 4 0>;
5b6089cb
JCPV
99 };
100
e4541ff2
JCPV
101 pinctrl@fffff400 {
102 #address-cells = <1>;
103 #size-cells = <1>;
104 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
105 ranges = <0xfffff400 0xfffff400 0x600>;
106
107 pioA: gpio@fffff400 {
108 compatible = "atmel,at91rm9200-gpio";
109 reg = <0xfffff400 0x200>;
110 interrupts = <2 4 1>;
111 #gpio-cells = <2>;
112 gpio-controller;
113 interrupt-controller;
114 #interrupt-cells = <2>;
115 };
116
117 pioB: gpio@fffff600 {
118 compatible = "atmel,at91rm9200-gpio";
119 reg = <0xfffff600 0x200>;
120 interrupts = <3 4 1>;
121 #gpio-cells = <2>;
122 gpio-controller;
123 interrupt-controller;
124 #interrupt-cells = <2>;
125 };
126
127 pioC: gpio@fffff800 {
128 compatible = "atmel,at91rm9200-gpio";
129 reg = <0xfffff800 0x200>;
130 interrupts = <4 4 1>;
131 #gpio-cells = <2>;
132 gpio-controller;
133 interrupt-controller;
134 #interrupt-cells = <2>;
135 };
5b6089cb
JCPV
136 };
137
138 dbgu: serial@fffff200 {
139 compatible = "atmel,at91sam9260-usart";
140 reg = <0xfffff200 0x200>;
f8a073ee 141 interrupts = <1 4 7>;
5b6089cb
JCPV
142 status = "disabled";
143 };
144
145 usart0: serial@fffb0000 {
146 compatible = "atmel,at91sam9260-usart";
147 reg = <0xfffb0000 0x200>;
f8a073ee 148 interrupts = <6 4 5>;
5b6089cb
JCPV
149 atmel,use-dma-rx;
150 atmel,use-dma-tx;
151 status = "disabled";
152 };
153
154 usart1: serial@fffb4000 {
155 compatible = "atmel,at91sam9260-usart";
156 reg = <0xfffb4000 0x200>;
f8a073ee 157 interrupts = <7 4 5>;
5b6089cb
JCPV
158 atmel,use-dma-rx;
159 atmel,use-dma-tx;
160 status = "disabled";
161 };
162
163 usart2: serial@fffb8000 {
164 compatible = "atmel,at91sam9260-usart";
165 reg = <0xfffb8000 0x200>;
f8a073ee 166 interrupts = <8 4 5>;
5b6089cb
JCPV
167 atmel,use-dma-rx;
168 atmel,use-dma-tx;
169 status = "disabled";
170 };
171
172 usart3: serial@fffd0000 {
173 compatible = "atmel,at91sam9260-usart";
174 reg = <0xfffd0000 0x200>;
f8a073ee 175 interrupts = <23 4 5>;
5b6089cb
JCPV
176 atmel,use-dma-rx;
177 atmel,use-dma-tx;
178 status = "disabled";
179 };
180
181 usart4: serial@fffd4000 {
182 compatible = "atmel,at91sam9260-usart";
183 reg = <0xfffd4000 0x200>;
f8a073ee 184 interrupts = <24 4 5>;
5b6089cb
JCPV
185 atmel,use-dma-rx;
186 atmel,use-dma-tx;
187 status = "disabled";
188 };
189
190 usart5: serial@fffd8000 {
191 compatible = "atmel,at91sam9260-usart";
192 reg = <0xfffd8000 0x200>;
f8a073ee 193 interrupts = <25 4 5>;
5b6089cb
JCPV
194 atmel,use-dma-rx;
195 atmel,use-dma-tx;
196 status = "disabled";
197 };
198
199 macb0: ethernet@fffc4000 {
200 compatible = "cdns,at32ap7000-macb", "cdns,macb";
201 reg = <0xfffc4000 0x100>;
f8a073ee 202 interrupts = <21 4 3>;
5b6089cb
JCPV
203 status = "disabled";
204 };
205
206 usb1: gadget@fffa4000 {
207 compatible = "atmel,at91rm9200-udc";
208 reg = <0xfffa4000 0x4000>;
f8a073ee 209 interrupts = <10 4 2>;
5b6089cb
JCPV
210 status = "disabled";
211 };
73d68d91 212
05dcd361
LD
213 i2c0: i2c@fffac000 {
214 compatible = "atmel,at91sam9260-i2c";
215 reg = <0xfffac000 0x100>;
216 interrupts = <11 4 6>;
217 #address-cells = <1>;
218 #size-cells = <0>;
219 status = "disabled";
220 };
221
73d68d91
NF
222 adc0: adc@fffe0000 {
223 compatible = "atmel,at91sam9260-adc";
224 reg = <0xfffe0000 0x100>;
f8a073ee 225 interrupts = <5 4 0>;
73d68d91
NF
226 atmel,adc-use-external-triggers;
227 atmel,adc-channels-used = <0xf>;
228 atmel,adc-vref = <3300>;
229 atmel,adc-num-channels = <4>;
230 atmel,adc-startup-time = <15>;
231 atmel,adc-channel-base = <0x30>;
232 atmel,adc-drdy-mask = <0x10000>;
233 atmel,adc-status-register = <0x1c>;
234 atmel,adc-trigger-register = <0x04>;
235
236 trigger@0 {
237 trigger-name = "timer-counter-0";
238 trigger-value = <0x1>;
239 };
240 trigger@1 {
241 trigger-name = "timer-counter-1";
242 trigger-value = <0x3>;
243 };
244
245 trigger@2 {
246 trigger-name = "timer-counter-2";
247 trigger-value = <0x5>;
248 };
249
250 trigger@3 {
251 trigger-name = "external";
252 trigger-value = <0x13>;
253 trigger-external;
254 };
255 };
5b6089cb
JCPV
256 };
257
258 nand0: nand@40000000 {
259 compatible = "atmel,at91rm9200-nand";
260 #address-cells = <1>;
261 #size-cells = <1>;
262 reg = <0x40000000 0x10000000
263 0xffffe800 0x200
264 >;
265 atmel,nand-addr-offset = <21>;
266 atmel,nand-cmd-offset = <22>;
267 gpios = <&pioC 13 0
268 &pioC 14 0
269 0
270 >;
271 status = "disabled";
272 };
273
274 usb0: ohci@00500000 {
275 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
276 reg = <0x00500000 0x100000>;
f8a073ee 277 interrupts = <20 4 2>;
5b6089cb
JCPV
278 status = "disabled";
279 };
280 };
281
282 i2c@0 {
283 compatible = "i2c-gpio";
284 gpios = <&pioA 23 0 /* sda */
285 &pioA 24 0 /* scl */
286 >;
287 i2c-gpio,sda-open-drain;
288 i2c-gpio,scl-open-drain;
289 i2c-gpio,delay-us = <2>; /* ~100 kHz */
290 #address-cells = <1>;
291 #size-cells = <0>;
292 status = "disabled";
293 };
294};
This page took 0.054595 seconds and 5 git commands to generate.