2 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
3 * applies to AT91SAM9G45, AT91SAM9M10,
4 * AT91SAM9G46, AT91SAM9M11 SoC
6 * Copyright (C) 2011 Atmel,
7 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
9 * Licensed under GPLv2 or later.
12 /include/ "skeleton.dtsi"
15 model = "Atmel AT91SAM9G45 family SoC";
16 compatible = "atmel,at91sam9g45";
17 interrupt-parent = <&aic>;
37 compatible = "arm,arm926ejs";
42 reg = <0x70000000 0x10000000>;
46 compatible = "simple-bus";
52 compatible = "simple-bus";
57 aic: interrupt-controller@fffff000 {
58 #interrupt-cells = <3>;
59 compatible = "atmel,at91rm9200-aic";
61 reg = <0xfffff000 0x200>;
62 atmel,external-irqs = <31>;
65 ramc0: ramc@ffffe400 {
66 compatible = "atmel,at91sam9g45-ddramc";
67 reg = <0xffffe400 0x200
72 compatible = "atmel,at91rm9200-pmc";
73 reg = <0xfffffc00 0x100>;
77 compatible = "atmel,at91sam9g45-rstc";
78 reg = <0xfffffd00 0x10>;
82 compatible = "atmel,at91sam9260-pit";
83 reg = <0xfffffd30 0xf>;
89 compatible = "atmel,at91sam9rl-shdwc";
90 reg = <0xfffffd10 0x10>;
93 tcb0: timer@fff7c000 {
94 compatible = "atmel,at91rm9200-tcb";
95 reg = <0xfff7c000 0x100>;
96 interrupts = <18 4 0>;
99 tcb1: timer@fffd4000 {
100 compatible = "atmel,at91rm9200-tcb";
101 reg = <0xfffd4000 0x100>;
102 interrupts = <18 4 0>;
105 dma: dma-controller@ffffec00 {
106 compatible = "atmel,at91sam9g45-dma";
107 reg = <0xffffec00 0x200>;
108 interrupts = <21 4 0>;
112 #address-cells = <1>;
114 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
115 ranges = <0xfffff200 0xfffff200 0xa00>;
119 0xffffffff 0xffc003ff /* pioA */
120 0xffffffff 0x800f8f00 /* pioB */
121 0xffffffff 0x00000e00 /* pioC */
122 0xffffffff 0xff0c1381 /* pioD */
123 0xffffffff 0x81ffff81 /* pioE */
126 /* shared pinctrl settings */
128 pinctrl_dbgu: dbgu-0 {
130 <1 12 0x1 0x0 /* PB12 periph A */
131 1 13 0x1 0x0>; /* PB13 periph A */
136 pinctrl_usart0: usart0-0 {
138 <1 19 0x1 0x1 /* PB19 periph A with pullup */
139 1 18 0x1 0x0>; /* PB18 periph A */
142 pinctrl_usart0_rts: usart0_rts-0 {
144 <1 17 0x2 0x0>; /* PB17 periph B */
147 pinctrl_usart0_cts: usart0_cts-0 {
149 <1 15 0x2 0x0>; /* PB15 periph B */
154 pinctrl_usart1: usart1-0 {
156 <1 4 0x1 0x1 /* PB4 periph A with pullup */
157 1 5 0x1 0x0>; /* PB5 periph A */
160 pinctrl_usart1_rts: usart1_rts-0 {
162 <3 16 0x1 0x0>; /* PD16 periph A */
165 pinctrl_usart1_cts: usart1_cts-0 {
167 <3 17 0x1 0x0>; /* PD17 periph A */
172 pinctrl_usart2: usart2-0 {
174 <1 6 0x1 0x1 /* PB6 periph A with pullup */
175 1 7 0x1 0x0>; /* PB7 periph A */
178 pinctrl_usart2_rts: usart2_rts-0 {
180 <2 9 0x2 0x0>; /* PC9 periph B */
183 pinctrl_usart2_cts: usart2_cts-0 {
185 <2 11 0x2 0x0>; /* PC11 periph B */
190 pinctrl_usart3: usart3-0 {
192 <1 8 0x1 0x1 /* PB9 periph A with pullup */
193 1 9 0x1 0x0>; /* PB8 periph A */
196 pinctrl_usart3_rts: usart3_rts-0 {
198 <0 23 0x2 0x0>; /* PA23 periph B */
201 pinctrl_usart3_cts: usart3_cts-0 {
203 <0 24 0x2 0x0>; /* PA24 periph B */
208 pinctrl_nand: nand-0 {
210 <2 8 0x0 0x1 /* PC8 gpio RDY pin pull_up*/
211 2 14 0x0 0x1>; /* PC14 gpio enable pin pull_up */
216 pinctrl_macb_rmii: macb_rmii-0 {
218 <0 10 0x1 0x0 /* PA10 periph A */
219 0 11 0x1 0x0 /* PA11 periph A */
220 0 12 0x1 0x0 /* PA12 periph A */
221 0 13 0x1 0x0 /* PA13 periph A */
222 0 14 0x1 0x0 /* PA14 periph A */
223 0 15 0x1 0x0 /* PA15 periph A */
224 0 16 0x1 0x0 /* PA16 periph A */
225 0 17 0x1 0x0 /* PA17 periph A */
226 0 18 0x1 0x0 /* PA18 periph A */
227 0 19 0x1 0x0>; /* PA19 periph A */
230 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
232 <0 6 0x2 0x0 /* PA6 periph B */
233 0 7 0x2 0x0 /* PA7 periph B */
234 0 8 0x2 0x0 /* PA8 periph B */
235 0 9 0x2 0x0 /* PA9 periph B */
236 0 27 0x2 0x0 /* PA27 periph B */
237 0 28 0x2 0x0 /* PA28 periph B */
238 0 29 0x2 0x0 /* PA29 periph B */
239 0 30 0x2 0x0>; /* PA30 periph B */
243 pioA: gpio@fffff200 {
244 compatible = "atmel,at91rm9200-gpio";
245 reg = <0xfffff200 0x200>;
246 interrupts = <2 4 1>;
249 interrupt-controller;
250 #interrupt-cells = <2>;
253 pioB: gpio@fffff400 {
254 compatible = "atmel,at91rm9200-gpio";
255 reg = <0xfffff400 0x200>;
256 interrupts = <3 4 1>;
259 interrupt-controller;
260 #interrupt-cells = <2>;
263 pioC: gpio@fffff600 {
264 compatible = "atmel,at91rm9200-gpio";
265 reg = <0xfffff600 0x200>;
266 interrupts = <4 4 1>;
269 interrupt-controller;
270 #interrupt-cells = <2>;
273 pioD: gpio@fffff800 {
274 compatible = "atmel,at91rm9200-gpio";
275 reg = <0xfffff800 0x200>;
276 interrupts = <5 4 1>;
279 interrupt-controller;
280 #interrupt-cells = <2>;
283 pioE: gpio@fffffa00 {
284 compatible = "atmel,at91rm9200-gpio";
285 reg = <0xfffffa00 0x200>;
286 interrupts = <5 4 1>;
289 interrupt-controller;
290 #interrupt-cells = <2>;
294 dbgu: serial@ffffee00 {
295 compatible = "atmel,at91sam9260-usart";
296 reg = <0xffffee00 0x200>;
297 interrupts = <1 4 7>;
298 pinctrl-names = "default";
299 pinctrl-0 = <&pinctrl_dbgu>;
303 usart0: serial@fff8c000 {
304 compatible = "atmel,at91sam9260-usart";
305 reg = <0xfff8c000 0x200>;
306 interrupts = <7 4 5>;
309 pinctrl-names = "default";
310 pinctrl-0 = <&pinctrl_usart0>;
314 usart1: serial@fff90000 {
315 compatible = "atmel,at91sam9260-usart";
316 reg = <0xfff90000 0x200>;
317 interrupts = <8 4 5>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&pinctrl_usart1>;
325 usart2: serial@fff94000 {
326 compatible = "atmel,at91sam9260-usart";
327 reg = <0xfff94000 0x200>;
328 interrupts = <9 4 5>;
331 pinctrl-names = "default";
332 pinctrl-0 = <&pinctrl_usart2>;
336 usart3: serial@fff98000 {
337 compatible = "atmel,at91sam9260-usart";
338 reg = <0xfff98000 0x200>;
339 interrupts = <10 4 5>;
342 pinctrl-names = "default";
343 pinctrl-0 = <&pinctrl_usart3>;
347 macb0: ethernet@fffbc000 {
348 compatible = "cdns,at32ap7000-macb", "cdns,macb";
349 reg = <0xfffbc000 0x100>;
350 interrupts = <25 4 3>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&pinctrl_macb_rmii>;
357 compatible = "atmel,at91sam9g10-i2c";
358 reg = <0xfff84000 0x100>;
359 interrupts = <12 4 6>;
360 #address-cells = <1>;
366 compatible = "atmel,at91sam9g10-i2c";
367 reg = <0xfff88000 0x100>;
368 interrupts = <13 4 6>;
369 #address-cells = <1>;
375 compatible = "atmel,at91sam9260-adc";
376 reg = <0xfffb0000 0x100>;
377 interrupts = <20 4 0>;
378 atmel,adc-use-external-triggers;
379 atmel,adc-channels-used = <0xff>;
380 atmel,adc-vref = <3300>;
381 atmel,adc-num-channels = <8>;
382 atmel,adc-startup-time = <40>;
383 atmel,adc-channel-base = <0x30>;
384 atmel,adc-drdy-mask = <0x10000>;
385 atmel,adc-status-register = <0x1c>;
386 atmel,adc-trigger-register = <0x08>;
389 trigger-name = "external-rising";
390 trigger-value = <0x1>;
394 trigger-name = "external-falling";
395 trigger-value = <0x2>;
400 trigger-name = "external-any";
401 trigger-value = <0x3>;
406 trigger-name = "continuous";
407 trigger-value = <0x6>;
412 nand0: nand@40000000 {
413 compatible = "atmel,at91rm9200-nand";
414 #address-cells = <1>;
416 reg = <0x40000000 0x10000000
419 atmel,nand-addr-offset = <21>;
420 atmel,nand-cmd-offset = <22>;
421 pinctrl-names = "default";
422 pinctrl-0 = <&pinctrl_nand>;
430 usb0: ohci@00700000 {
431 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
432 reg = <0x00700000 0x100000>;
433 interrupts = <22 4 2>;
437 usb1: ehci@00800000 {
438 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
439 reg = <0x00800000 0x100000>;
440 interrupts = <22 4 2>;
446 compatible = "i2c-gpio";
447 gpios = <&pioA 20 0 /* sda */
450 i2c-gpio,sda-open-drain;
451 i2c-gpio,scl-open-drain;
452 i2c-gpio,delay-us = <5>; /* ~100 kHz */
453 #address-cells = <1>;