2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
3 * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
4 * AT91SAM9X25, AT91SAM9X35 SoC
6 * Copyright (C) 2012 Atmel,
7 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
9 * Licensed under GPLv2 or later.
12 /include/ "skeleton.dtsi"
15 model = "Atmel AT91SAM9x5 family SoC";
16 compatible = "atmel,at91sam9x5";
17 interrupt-parent = <&aic>;
36 compatible = "arm,arm926ejs";
41 reg = <0x20000000 0x10000000>;
45 compatible = "simple-bus";
51 compatible = "simple-bus";
56 aic: interrupt-controller@fffff000 {
57 #interrupt-cells = <3>;
58 compatible = "atmel,at91rm9200-aic";
60 reg = <0xfffff000 0x200>;
61 atmel,external-irqs = <31>;
64 ramc0: ramc@ffffe800 {
65 compatible = "atmel,at91sam9g45-ddramc";
66 reg = <0xffffe800 0x200>;
70 compatible = "atmel,at91rm9200-pmc";
71 reg = <0xfffffc00 0x100>;
75 compatible = "atmel,at91sam9g45-rstc";
76 reg = <0xfffffe00 0x10>;
80 compatible = "atmel,at91sam9x5-shdwc";
81 reg = <0xfffffe10 0x10>;
85 compatible = "atmel,at91sam9260-pit";
86 reg = <0xfffffe30 0xf>;
90 tcb0: timer@f8008000 {
91 compatible = "atmel,at91sam9x5-tcb";
92 reg = <0xf8008000 0x100>;
93 interrupts = <17 4 0>;
96 tcb1: timer@f800c000 {
97 compatible = "atmel,at91sam9x5-tcb";
98 reg = <0xf800c000 0x100>;
99 interrupts = <17 4 0>;
102 dma0: dma-controller@ffffec00 {
103 compatible = "atmel,at91sam9g45-dma";
104 reg = <0xffffec00 0x200>;
105 interrupts = <20 4 0>;
108 dma1: dma-controller@ffffee00 {
109 compatible = "atmel,at91sam9g45-dma";
110 reg = <0xffffee00 0x200>;
111 interrupts = <21 4 0>;
115 #address-cells = <1>;
117 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
118 ranges = <0xfffff400 0xfffff400 0x800>;
120 /* shared pinctrl settings */
122 pinctrl_dbgu: dbgu-0 {
124 <0 9 0x1 0x0 /* PA9 periph A */
125 0 10 0x1 0x1>; /* PA10 periph A with pullup */
130 pinctrl_usart0: usart0-0 {
132 <0 0 0x1 0x1 /* PA0 periph A with pullup */
133 0 1 0x1 0x0>; /* PA1 periph A */
136 pinctrl_usart0_rts_cts: usart0_rts_cts-0 {
138 <0 2 0x1 0x0 /* PA2 periph A */
139 0 3 0x1 0x0>; /* PA3 periph A */
144 pinctrl_usart1: usart1-0 {
146 <0 5 0x1 0x1 /* PA5 periph A with pullup */
147 0 6 0x1 0x0>; /* PA6 periph A */
150 pinctrl_usart1_rts_cts: usart1_rts_cts-0 {
152 <3 27 0x3 0x0 /* PC27 periph C */
153 3 28 0x3 0x0>; /* PC28 periph C */
158 pinctrl_usart2: usart2-0 {
160 <0 7 0x1 0x1 /* PA7 periph A with pullup */
161 0 8 0x1 0x0>; /* PA8 periph A */
164 pinctrl_uart2_rts_cts: uart2_rts_cts-0 {
166 <0 0 0x2 0x0 /* PB0 periph B */
167 0 1 0x2 0x0>; /* PB1 periph B */
172 pinctrl_uart3: usart3-0 {
174 <3 23 0x2 0x1 /* PC22 periph B with pullup */
175 3 23 0x2 0x0>; /* PC23 periph B */
178 pinctrl_usart3_rts_cts: usart3_rts_cts-0 {
180 <3 24 0x2 0x0 /* PC24 periph B */
181 3 25 0x2 0x0>; /* PC25 periph B */
186 pinctrl_uart0: uart0-0 {
188 <3 8 0x3 0x0 /* PC8 periph C */
189 3 9 0x3 0x1>; /* PC9 periph C with pullup */
194 pinctrl_uart1: uart1-0 {
196 <3 16 0x3 0x0 /* PC16 periph C */
197 3 17 0x3 0x1>; /* PC17 periph C with pullup */
202 pinctrl_nand: nand-0 {
204 <3 4 0x0 0x1 /* PD5 gpio RDY pin pull_up */
205 3 5 0x0 0x1>; /* PD4 gpio enable pin pull_up */
210 pinctrl_macb0_rmii: macb0_rmii-0 {
212 <1 0 0x1 0x0 /* PB0 periph A */
213 1 1 0x1 0x0 /* PB1 periph A */
214 1 2 0x1 0x0 /* PB2 periph A */
215 1 3 0x1 0x0 /* PB3 periph A */
216 1 4 0x1 0x0 /* PB4 periph A */
217 1 5 0x1 0x0 /* PB5 periph A */
218 1 6 0x1 0x0 /* PB6 periph A */
219 1 7 0x1 0x0 /* PB7 periph A */
220 1 9 0x1 0x0 /* PB9 periph A */
221 1 10 0x1 0x0>; /* PB10 periph A */
224 pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
226 <1 8 0x1 0x0 /* PA8 periph A */
227 1 11 0x1 0x0 /* PA11 periph A */
228 1 12 0x1 0x0 /* PA12 periph A */
229 1 13 0x1 0x0 /* PA13 periph A */
230 1 14 0x1 0x0 /* PA14 periph A */
231 1 15 0x1 0x0 /* PA15 periph A */
232 1 16 0x1 0x0 /* PA16 periph A */
233 1 17 0x1 0x0>; /* PA17 periph A */
237 pioA: gpio@fffff400 {
238 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
239 reg = <0xfffff400 0x200>;
240 interrupts = <2 4 1>;
243 interrupt-controller;
244 #interrupt-cells = <2>;
247 pioB: gpio@fffff600 {
248 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
249 reg = <0xfffff600 0x200>;
250 interrupts = <2 4 1>;
254 interrupt-controller;
255 #interrupt-cells = <2>;
258 pioC: gpio@fffff800 {
259 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
260 reg = <0xfffff800 0x200>;
261 interrupts = <3 4 1>;
264 interrupt-controller;
265 #interrupt-cells = <2>;
268 pioD: gpio@fffffa00 {
269 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
270 reg = <0xfffffa00 0x200>;
271 interrupts = <3 4 1>;
275 interrupt-controller;
276 #interrupt-cells = <2>;
280 dbgu: serial@fffff200 {
281 compatible = "atmel,at91sam9260-usart";
282 reg = <0xfffff200 0x200>;
283 interrupts = <1 4 7>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_dbgu>;
289 usart0: serial@f801c000 {
290 compatible = "atmel,at91sam9260-usart";
291 reg = <0xf801c000 0x200>;
292 interrupts = <5 4 5>;
295 pinctrl-names = "default";
296 pinctrl-0 = <&pinctrl_usart0>;
300 usart1: serial@f8020000 {
301 compatible = "atmel,at91sam9260-usart";
302 reg = <0xf8020000 0x200>;
303 interrupts = <6 4 5>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_usart1>;
311 usart2: serial@f8024000 {
312 compatible = "atmel,at91sam9260-usart";
313 reg = <0xf8024000 0x200>;
314 interrupts = <7 4 5>;
317 pinctrl-names = "default";
318 pinctrl-0 = <&pinctrl_usart2>;
322 macb0: ethernet@f802c000 {
323 compatible = "cdns,at32ap7000-macb", "cdns,macb";
324 reg = <0xf802c000 0x100>;
325 interrupts = <24 4 3>;
326 pinctrl-names = "default";
327 pinctrl-0 = <&pinctrl_macb0_rmii>;
331 macb1: ethernet@f8030000 {
332 compatible = "cdns,at32ap7000-macb", "cdns,macb";
333 reg = <0xf8030000 0x100>;
334 interrupts = <27 4 3>;
339 compatible = "atmel,at91sam9x5-i2c";
340 reg = <0xf8010000 0x100>;
341 interrupts = <9 4 6>;
342 #address-cells = <1>;
348 compatible = "atmel,at91sam9x5-i2c";
349 reg = <0xf8014000 0x100>;
350 interrupts = <10 4 6>;
351 #address-cells = <1>;
357 compatible = "atmel,at91sam9x5-i2c";
358 reg = <0xf8018000 0x100>;
359 interrupts = <11 4 6>;
360 #address-cells = <1>;
366 compatible = "atmel,at91sam9260-adc";
367 reg = <0xf804c000 0x100>;
368 interrupts = <19 4 0>;
369 atmel,adc-use-external;
370 atmel,adc-channels-used = <0xffff>;
371 atmel,adc-vref = <3300>;
372 atmel,adc-num-channels = <12>;
373 atmel,adc-startup-time = <40>;
374 atmel,adc-channel-base = <0x50>;
375 atmel,adc-drdy-mask = <0x1000000>;
376 atmel,adc-status-register = <0x30>;
377 atmel,adc-trigger-register = <0xc0>;
380 trigger-name = "external-rising";
381 trigger-value = <0x1>;
386 trigger-name = "external-falling";
387 trigger-value = <0x2>;
392 trigger-name = "external-any";
393 trigger-value = <0x3>;
398 trigger-name = "continuous";
399 trigger-value = <0x6>;
404 nand0: nand@40000000 {
405 compatible = "atmel,at91rm9200-nand";
406 #address-cells = <1>;
408 reg = <0x40000000 0x10000000
410 atmel,nand-addr-offset = <21>;
411 atmel,nand-cmd-offset = <22>;
412 pinctrl-names = "default";
413 pinctrl-0 = <&pinctrl_nand>;
421 usb0: ohci@00600000 {
422 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
423 reg = <0x00600000 0x100000>;
424 interrupts = <22 4 2>;
428 usb1: ehci@00700000 {
429 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
430 reg = <0x00700000 0x100000>;
431 interrupts = <22 4 2>;
437 compatible = "i2c-gpio";
438 gpios = <&pioA 30 0 /* sda */
441 i2c-gpio,sda-open-drain;
442 i2c-gpio,scl-open-drain;
443 i2c-gpio,delay-us = <2>; /* ~100 kHz */
444 #address-cells = <1>;
450 compatible = "i2c-gpio";
451 gpios = <&pioC 0 0 /* sda */
454 i2c-gpio,sda-open-drain;
455 i2c-gpio,scl-open-drain;
456 i2c-gpio,delay-us = <2>; /* ~100 kHz */
457 #address-cells = <1>;
463 compatible = "i2c-gpio";
464 gpios = <&pioB 4 0 /* sda */
467 i2c-gpio,sda-open-drain;
468 i2c-gpio,scl-open-drain;
469 i2c-gpio,delay-us = <2>; /* ~100 kHz */
470 #address-cells = <1>;