blob: c3e514837074c1874412e88cb294fd4ec976a2ba [file] [log] [blame]
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +02001/*
2 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
3 * applies to AT91SAM9G45, AT91SAM9M10,
4 * AT91SAM9G46, AT91SAM9M11 SoC
5 *
6 * Copyright (C) 2011 Atmel,
7 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
8 *
9 * Licensed under GPLv2 or later.
10 */
11
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +080012#include "skeleton.dtsi"
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +020013#include <dt-bindings/dma/at91.h>
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +080014#include <dt-bindings/pinctrl/at91.h>
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080015#include <dt-bindings/interrupt-controller/irq.h>
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080016#include <dt-bindings/gpio/gpio.h>
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020017
18/ {
19 model = "Atmel AT91SAM9G45 family SoC";
20 compatible = "atmel,at91sam9g45";
21 interrupt-parent = <&aic>;
22
23 aliases {
24 serial0 = &dbgu;
25 serial1 = &usart0;
26 serial2 = &usart1;
27 serial3 = &usart2;
28 serial4 = &usart3;
Nicolas Ferre21f81872012-02-11 15:41:40 +010029 gpio0 = &pioA;
30 gpio1 = &pioB;
31 gpio2 = &pioC;
32 gpio3 = &pioD;
33 gpio4 = &pioE;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010034 tcb0 = &tcb0;
35 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020036 i2c0 = &i2c0;
37 i2c1 = &i2c1;
Bo Shen099343c2012-11-07 11:41:41 +080038 ssc0 = &ssc0;
39 ssc1 = &ssc1;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020040 };
41 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010042 #address-cells = <0>;
43 #size-cells = <0>;
44
45 cpu {
46 compatible = "arm,arm926ej-s";
47 device_type = "cpu";
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020048 };
49 };
50
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020051 memory {
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020052 reg = <0x70000000 0x10000000>;
53 };
54
55 ahb {
56 compatible = "simple-bus";
57 #address-cells = <1>;
58 #size-cells = <1>;
59 ranges;
60
61 apb {
62 compatible = "simple-bus";
63 #address-cells = <1>;
64 #size-cells = <1>;
65 ranges;
66
67 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020068 #interrupt-cells = <3>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020069 compatible = "atmel,at91rm9200-aic";
70 interrupt-controller;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020071 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080072 atmel,external-irqs = <31>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020073 };
74
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080075 ramc0: ramc@ffffe400 {
76 compatible = "atmel,at91sam9g45-ddramc";
77 reg = <0xffffe400 0x200
78 0xffffe600 0x200>;
79 };
80
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080081 pmc: pmc@fffffc00 {
82 compatible = "atmel,at91rm9200-pmc";
83 reg = <0xfffffc00 0x100>;
84 };
85
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080086 rstc@fffffd00 {
87 compatible = "atmel,at91sam9g45-rstc";
88 reg = <0xfffffd00 0x10>;
89 };
90
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +010091 pit: timer@fffffd30 {
92 compatible = "atmel,at91sam9260-pit";
93 reg = <0xfffffd30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080094 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARD23fa6482012-02-27 11:19:34 +010095 };
96
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +010097
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080098 shdwc@fffffd10 {
99 compatible = "atmel,at91sam9rl-shdwc";
100 reg = <0xfffffd10 0x10>;
101 };
102
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100103 tcb0: timer@fff7c000 {
104 compatible = "atmel,at91rm9200-tcb";
105 reg = <0xfff7c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800106 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100107 };
108
109 tcb1: timer@fffd4000 {
110 compatible = "atmel,at91rm9200-tcb";
111 reg = <0xfffd4000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800112 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre3a61a5d2012-01-19 10:13:40 +0100113 };
114
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200115 dma: dma-controller@ffffec00 {
116 compatible = "atmel,at91sam9g45-dma";
117 reg = <0xffffec00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800118 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200119 #dma-cells = <2>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200120 };
121
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800122 pinctrl@fffff200 {
123 #address-cells = <1>;
124 #size-cells = <1>;
125 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
126 ranges = <0xfffff200 0xfffff200 0xa00>;
Nicolas Ferre21f81872012-02-11 15:41:40 +0100127
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800128 atmel,mux-mask = <
129 /* A B */
130 0xffffffff 0xffc003ff /* pioA */
131 0xffffffff 0x800f8f00 /* pioB */
132 0xffffffff 0x00000e00 /* pioC */
133 0xffffffff 0xff0c1381 /* pioD */
134 0xffffffff 0x81ffff81 /* pioE */
135 >;
136
137 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800138 dbgu {
139 pinctrl_dbgu: dbgu-0 {
140 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800141 <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
142 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB13 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800143 };
144 };
145
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800146 usart0 {
147 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800148 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800149 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A with pullup */
150 AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800151 };
152
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800153 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800154 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800155 <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800156 };
157
158 pinctrl_usart0_cts: usart0_cts-0 {
159 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800160 <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800161 };
162 };
163
164 uart1 {
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800165 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800166 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800167 <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */
168 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB5 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800169 };
170
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800171 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800172 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800173 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800174 };
175
176 pinctrl_usart1_cts: usart1_cts-0 {
177 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800178 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800179 };
180 };
181
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800182 usart2 {
183 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800184 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800185 <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB6 periph A with pullup */
186 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB7 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800187 };
188
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800189 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800190 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800191 <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC9 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800192 };
193
194 pinctrl_usart2_cts: usart2_cts-0 {
195 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800196 <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800197 };
198 };
199
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800200 usart3 {
201 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800202 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800203 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB9 periph A with pullup */
204 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB8 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800205 };
206
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800207 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800208 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800209 <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800210 };
211
212 pinctrl_usart3_cts: usart3_cts-0 {
213 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800214 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA24 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800215 };
216 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800217
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800218 nand {
219 pinctrl_nand: nand-0 {
220 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800221 <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PC8 gpio RDY pin pull_up*/
222 AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PC14 gpio enable pin pull_up */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800223 };
224 };
225
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800226 macb {
227 pinctrl_macb_rmii: macb_rmii-0 {
228 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800229 <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA10 periph A */
230 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A */
231 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A */
232 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA13 periph A */
233 AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA14 periph A */
234 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA15 periph A */
235 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA16 periph A */
236 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
237 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA18 periph A */
238 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA19 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800239 };
240
241 pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
242 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800243 <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA6 periph B */
244 AT91_PIOA 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA7 periph B */
245 AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA8 periph B */
246 AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA9 periph B */
247 AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
248 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
249 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA29 periph B */
250 AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800251 };
252 };
253
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800254 mmc0 {
255 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
256 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800257 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA0 periph A */
258 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA1 periph A with pullup */
259 AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA2 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800260 };
261
262 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
263 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800264 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA3 periph A with pullup */
265 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA4 periph A with pullup */
266 AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA5 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800267 };
268
269 pinctrl_mmc0_slot0_dat4_7: mmc0_slot0_dat4_7-0 {
270 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800271 <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA6 periph A with pullup */
272 AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
273 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA8 periph A with pullup */
274 AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA9 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800275 };
276 };
277
278 mmc1 {
279 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
280 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800281 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA31 periph A */
282 AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA22 periph A with pullup */
283 AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA23 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800284 };
285
286 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
287 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800288 <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA24 periph A with pullup */
289 AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA25 periph A with pullup */
290 AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA26 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800291 };
292
293 pinctrl_mmc1_slot0_dat4_7: mmc1_slot0_dat4_7-0 {
294 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800295 <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA27 periph A with pullup */
296 AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA28 periph A with pullup */
297 AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA29 periph A with pullup */
298 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA30 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800299 };
300 };
301
Bo Shen544ae6b2013-01-11 15:08:30 +0100302 ssc0 {
303 pinctrl_ssc0_tx: ssc0_tx-0 {
304 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800305 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A */
306 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A */
307 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD2 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100308 };
309
310 pinctrl_ssc0_rx: ssc0_rx-0 {
311 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800312 <AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A */
313 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD4 periph A */
314 AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD5 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100315 };
316 };
317
318 ssc1 {
319 pinctrl_ssc1_tx: ssc1_tx-0 {
320 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800321 <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A */
322 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A */
323 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100324 };
325
326 pinctrl_ssc1_rx: ssc1_rx-0 {
327 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800328 <AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD13 periph A */
329 AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A */
330 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD15 periph A */
Bo Shen544ae6b2013-01-11 15:08:30 +0100331 };
332 };
333
Wenyou Yanga68b7282013-04-03 14:03:52 +0800334 spi0 {
335 pinctrl_spi0: spi0-0 {
336 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800337 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A SPI0_MISO pin */
338 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A SPI0_MOSI pin */
339 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB2 periph A SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800340 };
341 };
342
343 spi1 {
344 pinctrl_spi1: spi1-0 {
345 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800346 <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A SPI1_MISO pin */
347 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A SPI1_MOSI pin */
348 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB16 periph A SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800349 };
350 };
351
Boris BREZILLON028633c2013-05-24 10:05:56 +0000352 tcb0 {
353 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
354 atmel,pins = <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
355 };
356
357 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
358 atmel,pins = <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
359 };
360
361 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
362 atmel,pins = <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
363 };
364
365 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
366 atmel,pins = <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
367 };
368
369 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
370 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
371 };
372
373 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
374 atmel,pins = <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
375 };
376
377 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
378 atmel,pins = <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
379 };
380
381 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
382 atmel,pins = <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>;
383 };
384
385 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
386 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;
387 };
388 };
389
390 tcb1 {
391 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
392 atmel,pins = <AT91_PIOA 0 AT91_PERIPH_B AT91_PINCTRL_NONE>;
393 };
394
395 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
396 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
397 };
398
399 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
400 atmel,pins = <AT91_PIOD 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
401 };
402
403 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
404 atmel,pins = <AT91_PIOA 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
405 };
406
407 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
408 atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
409 };
410
411 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
412 atmel,pins = <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
413 };
414
415 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
416 atmel,pins = <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
417 };
418
419 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
420 atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
421 };
422
423 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
424 atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
425 };
426 };
427
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800428 pioA: gpio@fffff200 {
429 compatible = "atmel,at91rm9200-gpio";
430 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800431 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800432 #gpio-cells = <2>;
433 gpio-controller;
434 interrupt-controller;
435 #interrupt-cells = <2>;
436 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100437
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800438 pioB: gpio@fffff400 {
439 compatible = "atmel,at91rm9200-gpio";
440 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800441 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800442 #gpio-cells = <2>;
443 gpio-controller;
444 interrupt-controller;
445 #interrupt-cells = <2>;
446 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100447
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800448 pioC: gpio@fffff600 {
449 compatible = "atmel,at91rm9200-gpio";
450 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800451 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800452 #gpio-cells = <2>;
453 gpio-controller;
454 interrupt-controller;
455 #interrupt-cells = <2>;
456 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100457
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800458 pioD: gpio@fffff800 {
459 compatible = "atmel,at91rm9200-gpio";
460 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800461 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800462 #gpio-cells = <2>;
463 gpio-controller;
464 interrupt-controller;
465 #interrupt-cells = <2>;
466 };
467
468 pioE: gpio@fffffa00 {
469 compatible = "atmel,at91rm9200-gpio";
470 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800471 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800472 #gpio-cells = <2>;
473 gpio-controller;
474 interrupt-controller;
475 #interrupt-cells = <2>;
476 };
Nicolas Ferre21f81872012-02-11 15:41:40 +0100477 };
478
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200479 dbgu: serial@ffffee00 {
480 compatible = "atmel,at91sam9260-usart";
481 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800482 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800483 pinctrl-names = "default";
484 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200485 status = "disabled";
486 };
487
488 usart0: serial@fff8c000 {
489 compatible = "atmel,at91sam9260-usart";
490 reg = <0xfff8c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800491 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200492 atmel,use-dma-rx;
493 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800494 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800495 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200496 status = "disabled";
497 };
498
499 usart1: serial@fff90000 {
500 compatible = "atmel,at91sam9260-usart";
501 reg = <0xfff90000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800502 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200503 atmel,use-dma-rx;
504 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800505 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800506 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200507 status = "disabled";
508 };
509
510 usart2: serial@fff94000 {
511 compatible = "atmel,at91sam9260-usart";
512 reg = <0xfff94000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800513 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200514 atmel,use-dma-rx;
515 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800516 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800517 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200518 status = "disabled";
519 };
520
521 usart3: serial@fff98000 {
522 compatible = "atmel,at91sam9260-usart";
523 reg = <0xfff98000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800524 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200525 atmel,use-dma-rx;
526 atmel,use-dma-tx;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800527 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800528 pinctrl-0 = <&pinctrl_usart3>;
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200529 status = "disabled";
530 };
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100531
532 macb0: ethernet@fffbc000 {
533 compatible = "cdns,at32ap7000-macb", "cdns,macb";
534 reg = <0xfffbc000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800535 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800536 pinctrl-names = "default";
537 pinctrl-0 = <&pinctrl_macb_rmii>;
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +0100538 status = "disabled";
539 };
Maxime Ripard93b298b2012-05-11 15:35:38 +0200540
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200541 i2c0: i2c@fff84000 {
542 compatible = "atmel,at91sam9g10-i2c";
543 reg = <0xfff84000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800544 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200545 #address-cells = <1>;
546 #size-cells = <0>;
547 status = "disabled";
548 };
549
550 i2c1: i2c@fff88000 {
551 compatible = "atmel,at91sam9g10-i2c";
552 reg = <0xfff88000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800553 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200554 #address-cells = <1>;
555 #size-cells = <0>;
556 status = "disabled";
557 };
558
Bo Shen099343c2012-11-07 11:41:41 +0800559 ssc0: ssc@fff9c000 {
560 compatible = "atmel,at91sam9g45-ssc";
561 reg = <0xfff9c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800562 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100563 pinctrl-names = "default";
564 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Bo Shen315656b2012-12-13 10:05:07 +0800565 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800566 };
567
568 ssc1: ssc@fffa0000 {
569 compatible = "atmel,at91sam9g45-ssc";
570 reg = <0xfffa0000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800571 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100572 pinctrl-names = "default";
573 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Bo Shen315656b2012-12-13 10:05:07 +0800574 status = "disabled";
Bo Shen099343c2012-11-07 11:41:41 +0800575 };
576
Maxime Ripard93b298b2012-05-11 15:35:38 +0200577 adc0: adc@fffb0000 {
578 compatible = "atmel,at91sam9260-adc";
579 reg = <0xfffb0000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800580 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
Maxime Ripard93b298b2012-05-11 15:35:38 +0200581 atmel,adc-use-external-triggers;
582 atmel,adc-channels-used = <0xff>;
583 atmel,adc-vref = <3300>;
584 atmel,adc-num-channels = <8>;
585 atmel,adc-startup-time = <40>;
586 atmel,adc-channel-base = <0x30>;
587 atmel,adc-drdy-mask = <0x10000>;
588 atmel,adc-status-register = <0x1c>;
589 atmel,adc-trigger-register = <0x08>;
Ludovic Desroches4b50da62013-03-29 10:13:19 +0100590 atmel,adc-res = <8 10>;
591 atmel,adc-res-names = "lowres", "highres";
592 atmel,adc-use-res = "highres";
Maxime Ripard93b298b2012-05-11 15:35:38 +0200593
594 trigger@0 {
595 trigger-name = "external-rising";
596 trigger-value = <0x1>;
597 trigger-external;
598 };
599 trigger@1 {
600 trigger-name = "external-falling";
601 trigger-value = <0x2>;
602 trigger-external;
603 };
604
605 trigger@2 {
606 trigger-name = "external-any";
607 trigger-value = <0x3>;
608 trigger-external;
609 };
610
611 trigger@3 {
612 trigger-name = "continuous";
613 trigger-value = <0x6>;
614 };
615 };
Ludovic Desroches98731372012-11-19 12:23:36 +0100616
617 mmc0: mmc@fff80000 {
618 compatible = "atmel,hsmci";
619 reg = <0xfff80000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800620 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200621 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200622 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100623 #address-cells = <1>;
624 #size-cells = <0>;
625 status = "disabled";
626 };
627
628 mmc1: mmc@fffd0000 {
629 compatible = "atmel,hsmci";
630 reg = <0xfffd0000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800631 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200632 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200633 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100634 #address-cells = <1>;
635 #size-cells = <0>;
636 status = "disabled";
637 };
Linus Torvaldsdb5b0ae2012-12-13 10:39:26 -0800638
Fabio Porcedda7492e7c2012-11-12 09:37:26 +0100639 watchdog@fffffd40 {
640 compatible = "atmel,at91sam9260-wdt";
641 reg = <0xfffffd40 0x10>;
642 status = "disabled";
643 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800644
645 spi0: spi@fffa4000 {
646 #address-cells = <1>;
647 #size-cells = <0>;
648 compatible = "atmel,at91rm9200-spi";
649 reg = <0xfffa4000 0x200>;
650 interrupts = <14 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800651 pinctrl-names = "default";
652 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800653 status = "disabled";
654 };
655
656 spi1: spi@fffa8000 {
657 #address-cells = <1>;
658 #size-cells = <0>;
659 compatible = "atmel,at91rm9200-spi";
660 reg = <0xfffa8000 0x200>;
661 interrupts = <15 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800662 pinctrl-names = "default";
663 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800664 status = "disabled";
665 };
Jean-Christophe PLAGNIOL-VILLARD3cba4982013-05-03 20:56:01 +0800666
667 usb2: gadget@fff78000 {
668 #address-cells = <1>;
669 #size-cells = <0>;
670 compatible = "atmel,at91sam9rl-udc";
671 reg = <0x00600000 0x80000
672 0xfff78000 0x400>;
673 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
674 status = "disabled";
675
676 ep0 {
677 reg = <0>;
678 atmel,fifo-size = <64>;
679 atmel,nb-banks = <1>;
680 };
681
682 ep1 {
683 reg = <1>;
684 atmel,fifo-size = <1024>;
685 atmel,nb-banks = <2>;
686 atmel,can-dma;
687 atmel,can-isoc;
688 };
689
690 ep2 {
691 reg = <2>;
692 atmel,fifo-size = <1024>;
693 atmel,nb-banks = <2>;
694 atmel,can-dma;
695 atmel,can-isoc;
696 };
697
698 ep3 {
699 reg = <3>;
700 atmel,fifo-size = <1024>;
701 atmel,nb-banks = <3>;
702 atmel,can-dma;
703 };
704
705 ep4 {
706 reg = <4>;
707 atmel,fifo-size = <1024>;
708 atmel,nb-banks = <3>;
709 atmel,can-dma;
710 };
711
712 ep5 {
713 reg = <5>;
714 atmel,fifo-size = <1024>;
715 atmel,nb-banks = <3>;
716 atmel,can-dma;
717 atmel,can-isoc;
718 };
719
720 ep6 {
721 reg = <6>;
722 atmel,fifo-size = <1024>;
723 atmel,nb-banks = <3>;
724 atmel,can-dma;
725 atmel,can-isoc;
726 };
727 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200728 };
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +0800729
730 nand0: nand@40000000 {
731 compatible = "atmel,at91rm9200-nand";
732 #address-cells = <1>;
733 #size-cells = <1>;
734 reg = <0x40000000 0x10000000
735 0xffffe200 0x200
736 >;
737 atmel,nand-addr-offset = <21>;
738 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800739 pinctrl-names = "default";
740 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800741 gpios = <&pioC 8 GPIO_ACTIVE_HIGH
742 &pioC 14 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +0800743 0
744 >;
745 status = "disabled";
746 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800747
748 usb0: ohci@00700000 {
749 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
750 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800751 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800752 status = "disabled";
753 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800754
755 usb1: ehci@00800000 {
756 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
757 reg = <0x00800000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800758 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800759 status = "disabled";
760 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200761 };
Jean-Christophe PLAGNIOL-VILLARD8f24bda2012-02-05 18:32:37 +0800762
763 i2c@0 {
764 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800765 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
766 &pioA 21 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD8f24bda2012-02-05 18:32:37 +0800767 >;
768 i2c-gpio,sda-open-drain;
769 i2c-gpio,scl-open-drain;
770 i2c-gpio,delay-us = <5>; /* ~100 kHz */
771 #address-cells = <1>;
772 #size-cells = <0>;
773 status = "disabled";
774 };
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +0200775};