2 * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC
4 * Copyright (C) 2012 Atmel,
5 * 2012 Hong Xu <hong.xu@atmel.com>
7 * Licensed under GPLv2 or later.
10 /include/ "skeleton.dtsi"
13 model = "Atmel AT91SAM9N12 SoC";
14 compatible = "atmel,at91sam9n12";
15 interrupt-parent = <&aic>;
34 compatible = "arm,arm926ejs";
39 reg = <0x20000000 0x10000000>;
43 compatible = "simple-bus";
49 compatible = "simple-bus";
54 aic: interrupt-controller@fffff000 {
55 #interrupt-cells = <3>;
56 compatible = "atmel,at91rm9200-aic";
58 reg = <0xfffff000 0x200>;
61 ramc0: ramc@ffffe800 {
62 compatible = "atmel,at91sam9g45-ddramc";
63 reg = <0xffffe800 0x200>;
67 compatible = "atmel,at91rm9200-pmc";
68 reg = <0xfffffc00 0x100>;
72 compatible = "atmel,at91sam9g45-rstc";
73 reg = <0xfffffe00 0x10>;
77 compatible = "atmel,at91sam9260-pit";
78 reg = <0xfffffe30 0xf>;
83 compatible = "atmel,at91sam9x5-shdwc";
84 reg = <0xfffffe10 0x10>;
88 compatible = "atmel,hsmci";
89 reg = <0xf0008000 0x600>;
90 interrupts = <12 4 0>;
96 tcb0: timer@f8008000 {
97 compatible = "atmel,at91sam9x5-tcb";
98 reg = <0xf8008000 0x100>;
99 interrupts = <17 4 0>;
102 tcb1: timer@f800c000 {
103 compatible = "atmel,at91sam9x5-tcb";
104 reg = <0xf800c000 0x100>;
105 interrupts = <17 4 0>;
108 dma: dma-controller@ffffec00 {
109 compatible = "atmel,at91sam9g45-dma";
110 reg = <0xffffec00 0x200>;
111 interrupts = <20 4 0>;
115 #address-cells = <1>;
117 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
118 ranges = <0xfffff400 0xfffff400 0x800>;
122 0xffffffff 0xffe07983 0x00000000 /* pioA */
123 0x00040000 0x00047e0f 0x00000000 /* pioB */
124 0xfdffffff 0x07c00000 0xb83fffff /* pioC */
125 0x003fffff 0x003f8000 0x00000000 /* pioD */
128 /* shared pinctrl settings */
130 pinctrl_dbgu: dbgu-0 {
132 <0 9 0x1 0x0 /* PA9 periph A */
133 0 10 0x1 0x1>; /* PA10 periph with pullup */
138 pinctrl_usart0: usart0-0 {
140 <0 1 0x1 0x1 /* PA1 periph A with pullup */
141 0 0 0x1 0x0>; /* PA0 periph A */
144 pinctrl_usart0_rts: usart0_rts-0 {
146 <0 2 0x1 0x0>; /* PA2 periph A */
149 pinctrl_usart0_cts: usart0_cts-0 {
151 <0 3 0x1 0x0>; /* PA3 periph A */
156 pinctrl_usart1: usart1-0 {
158 <0 6 0x1 0x1 /* PA6 periph A with pullup */
159 0 5 0x1 0x0>; /* PA5 periph A */
164 pinctrl_usart2: usart2-0 {
166 <0 8 0x1 0x1 /* PA8 periph A with pullup */
167 0 7 0x1 0x0>; /* PA7 periph A */
170 pinctrl_usart2_rts: usart2_rts-0 {
172 <1 0 0x2 0x0>; /* PB0 periph B */
175 pinctrl_usart2_cts: usart2_cts-0 {
177 <1 1 0x2 0x0>; /* PB1 periph B */
182 pinctrl_usart3: usart3-0 {
184 <2 23 0x2 0x1 /* PC23 periph B with pullup */
185 2 22 0x2 0x0>; /* PC22 periph B */
188 pinctrl_usart3_rts: usart3_rts-0 {
190 <2 24 0x2 0x0>; /* PC24 periph B */
193 pinctrl_usart3_cts: usart3_cts-0 {
195 <2 25 0x2 0x0>; /* PC25 periph B */
200 pinctrl_uart0: uart0-0 {
202 <2 9 0x3 0x1 /* PC9 periph C with pullup */
203 2 8 0x3 0x0>; /* PC8 periph C */
208 pinctrl_uart1: uart1-0 {
210 <2 16 0x3 0x1 /* PC17 periph C with pullup */
211 2 17 0x3 0x0>; /* PC16 periph C */
216 pinctrl_nand: nand-0 {
218 <3 5 0x0 0x1 /* PD5 gpio RDY pin pull_up*/
219 3 4 0x0 0x1>; /* PD4 gpio enable pin pull_up */
224 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
226 <0 17 0x1 0x0 /* PA17 periph A */
227 0 16 0x1 0x1 /* PA16 periph A with pullup */
228 0 15 0x1 0x1>; /* PA15 periph A with pullup */
231 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
233 <0 18 0x1 0x1 /* PA18 periph A with pullup */
234 0 19 0x1 0x1 /* PA19 periph A with pullup */
235 0 20 0x1 0x1>; /* PA20 periph A with pullup */
238 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
240 <0 11 0x2 0x1 /* PA11 periph B with pullup */
241 0 12 0x2 0x1 /* PA12 periph B with pullup */
242 0 13 0x2 0x1 /* PA13 periph B with pullup */
243 0 14 0x2 0x1>; /* PA14 periph B with pullup */
247 pioA: gpio@fffff400 {
248 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
249 reg = <0xfffff400 0x200>;
250 interrupts = <2 4 1>;
253 interrupt-controller;
254 #interrupt-cells = <2>;
257 pioB: gpio@fffff600 {
258 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
259 reg = <0xfffff600 0x200>;
260 interrupts = <2 4 1>;
263 interrupt-controller;
264 #interrupt-cells = <2>;
267 pioC: gpio@fffff800 {
268 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
269 reg = <0xfffff800 0x200>;
270 interrupts = <3 4 1>;
273 interrupt-controller;
274 #interrupt-cells = <2>;
277 pioD: gpio@fffffa00 {
278 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
279 reg = <0xfffffa00 0x200>;
280 interrupts = <3 4 1>;
283 interrupt-controller;
284 #interrupt-cells = <2>;
288 dbgu: serial@fffff200 {
289 compatible = "atmel,at91sam9260-usart";
290 reg = <0xfffff200 0x200>;
291 interrupts = <1 4 7>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&pinctrl_dbgu>;
297 usart0: serial@f801c000 {
298 compatible = "atmel,at91sam9260-usart";
299 reg = <0xf801c000 0x4000>;
300 interrupts = <5 4 5>;
303 pinctrl-names = "default";
304 pinctrl-0 = <&pinctrl_usart0>;
308 usart1: serial@f8020000 {
309 compatible = "atmel,at91sam9260-usart";
310 reg = <0xf8020000 0x4000>;
311 interrupts = <6 4 5>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&pinctrl_usart1>;
319 usart2: serial@f8024000 {
320 compatible = "atmel,at91sam9260-usart";
321 reg = <0xf8024000 0x4000>;
322 interrupts = <7 4 5>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_usart2>;
330 usart3: serial@f8028000 {
331 compatible = "atmel,at91sam9260-usart";
332 reg = <0xf8028000 0x4000>;
333 interrupts = <8 4 5>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&pinctrl_usart3>;
342 compatible = "atmel,at91sam9x5-i2c";
343 reg = <0xf8010000 0x100>;
344 interrupts = <9 4 6>;
345 #address-cells = <1>;
351 compatible = "atmel,at91sam9x5-i2c";
352 reg = <0xf8014000 0x100>;
353 interrupts = <10 4 6>;
354 #address-cells = <1>;
360 nand0: nand@40000000 {
361 compatible = "atmel,at91rm9200-nand";
362 #address-cells = <1>;
364 reg = < 0x40000000 0x10000000
365 0xffffe000 0x00000600
366 0xffffe600 0x00000200
367 0x00100000 0x00100000
369 atmel,nand-addr-offset = <21>;
370 atmel,nand-cmd-offset = <22>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&pinctrl_nand>;
380 usb0: ohci@00500000 {
381 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
382 reg = <0x00500000 0x00100000>;
383 interrupts = <22 4 2>;
389 compatible = "i2c-gpio";
390 gpios = <&pioA 30 0 /* sda */
393 i2c-gpio,sda-open-drain;
394 i2c-gpio,scl-open-drain;
395 i2c-gpio,delay-us = <2>; /* ~100 kHz */
396 #address-cells = <1>;