blob: cfbf9235e8ae72bdb8d04ff26cbb8ae99d72151a [file] [log] [blame]
Nicolas Ferre467f1cf2012-01-26 11:59:20 +01001/*
2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
3 * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
4 * AT91SAM9X25, AT91SAM9X35 SoC
5 *
6 * Copyright (C) 2012 Atmel,
7 * 2012 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"
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +080013#include <dt-bindings/pinctrl/at91.h>
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080014#include <dt-bindings/gpio/gpio.h>
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010015
16/ {
17 model = "Atmel AT91SAM9x5 family SoC";
18 compatible = "atmel,at91sam9x5";
19 interrupt-parent = <&aic>;
20
21 aliases {
22 serial0 = &dbgu;
23 serial1 = &usart0;
24 serial2 = &usart1;
25 serial3 = &usart2;
26 gpio0 = &pioA;
27 gpio1 = &pioB;
28 gpio2 = &pioC;
29 gpio3 = &pioD;
30 tcb0 = &tcb0;
31 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020032 i2c0 = &i2c0;
33 i2c1 = &i2c1;
34 i2c2 = &i2c2;
Bo Shen099343c2012-11-07 11:41:41 +080035 ssc0 = &ssc0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010036 };
37 cpus {
38 cpu@0 {
39 compatible = "arm,arm926ejs";
40 };
41 };
42
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020043 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010044 reg = <0x20000000 0x10000000>;
45 };
46
47 ahb {
48 compatible = "simple-bus";
49 #address-cells = <1>;
50 #size-cells = <1>;
51 ranges;
52
53 apb {
54 compatible = "simple-bus";
55 #address-cells = <1>;
56 #size-cells = <1>;
57 ranges;
58
59 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020060 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010061 compatible = "atmel,at91rm9200-aic";
62 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010063 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080064 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010065 };
66
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080067 ramc0: ramc@ffffe800 {
68 compatible = "atmel,at91sam9g45-ddramc";
69 reg = <0xffffe800 0x200>;
70 };
71
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080072 pmc: pmc@fffffc00 {
73 compatible = "atmel,at91rm9200-pmc";
74 reg = <0xfffffc00 0x100>;
75 };
76
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080077 rstc@fffffe00 {
78 compatible = "atmel,at91sam9g45-rstc";
79 reg = <0xfffffe00 0x10>;
80 };
81
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080082 shdwc@fffffe10 {
83 compatible = "atmel,at91sam9x5-shdwc";
84 reg = <0xfffffe10 0x10>;
85 };
86
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010087 pit: timer@fffffe30 {
88 compatible = "atmel,at91sam9260-pit";
89 reg = <0xfffffe30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020090 interrupts = <1 4 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010091 };
92
93 tcb0: timer@f8008000 {
94 compatible = "atmel,at91sam9x5-tcb";
95 reg = <0xf8008000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020096 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010097 };
98
99 tcb1: timer@f800c000 {
100 compatible = "atmel,at91sam9x5-tcb";
101 reg = <0xf800c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200102 interrupts = <17 4 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100103 };
104
105 dma0: dma-controller@ffffec00 {
106 compatible = "atmel,at91sam9g45-dma";
107 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200108 interrupts = <20 4 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200109 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100110 };
111
112 dma1: dma-controller@ffffee00 {
113 compatible = "atmel,at91sam9g45-dma";
114 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200115 interrupts = <21 4 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200116 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100117 };
118
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800119 pinctrl@fffff400 {
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800120 #address-cells = <1>;
121 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800122 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800123 ranges = <0xfffff400 0xfffff400 0x800>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100124
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800125 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800126 dbgu {
127 pinctrl_dbgu: dbgu-0 {
128 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800129 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
130 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800131 };
132 };
133
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800134 usart0 {
135 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800136 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800137 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
138 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800139 };
140
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800141 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800142 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800143 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800144 };
145
146 pinctrl_usart0_cts: usart0_cts-0 {
147 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800148 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800149 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000150
151 pinctrl_usart0_sck: usart0_sck-0 {
152 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800153 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000154 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800155 };
156
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800157 usart1 {
158 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800159 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800160 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
161 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800162 };
163
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800164 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800165 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800166 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800167 };
168
169 pinctrl_usart1_cts: usart1_cts-0 {
170 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800171 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800172 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000173
174 pinctrl_usart1_sck: usart1_sck-0 {
175 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800176 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000177 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800178 };
179
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800180 usart2 {
181 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800182 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800183 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
184 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800185 };
186
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800187 pinctrl_uart2_rts: uart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800188 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800189 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800190 };
191
192 pinctrl_uart2_cts: uart2_cts-0 {
193 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800194 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800195 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000196
197 pinctrl_usart2_sck: usart2_sck-0 {
198 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800199 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000200 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800201 };
202
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800203 usart3 {
Robert Nelson65a0fe02013-01-28 09:43:36 -0600204 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800205 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800206 <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC22 periph B with pullup */
207 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC23 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800208 };
209
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800210 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800211 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800212 <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800213 };
214
215 pinctrl_usart3_cts: usart3_cts-0 {
216 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800217 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800218 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000219
220 pinctrl_usart3_sck: usart3_sck-0 {
221 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800222 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC26 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000223 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800224 };
225
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800226 uart0 {
227 pinctrl_uart0: uart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800228 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800229 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
230 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800231 };
232 };
233
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800234 uart1 {
235 pinctrl_uart1: uart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800236 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800237 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
238 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800239 };
240 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800241
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800242 nand {
243 pinctrl_nand: nand-0 {
244 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800245 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
246 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
247 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
248 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
249 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
250 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
251 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
252 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
253 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
254 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
255 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
256 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
257 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
258 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
Richard Genoud7f064722013-03-11 15:12:40 +0100259 };
260
261 pinctrl_nand_16bits: nand_16bits-0 {
262 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800263 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
264 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
265 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
266 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
267 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
268 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
269 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
270 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800271 };
272 };
273
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800274 macb0 {
275 pinctrl_macb0_rmii: macb0_rmii-0 {
276 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800277 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
278 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
279 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A */
280 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
281 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
282 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
283 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
284 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
285 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
286 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800287 };
288
289 pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
290 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800291 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB8 periph A */
292 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A */
293 AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
294 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A */
295 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A */
296 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A */
297 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB16 periph A */
298 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB17 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800299 };
300 };
301
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800302 mmc0 {
303 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
304 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800305 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
306 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
307 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800308 };
309
310 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
311 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800312 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
313 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
314 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800315 };
316 };
317
318 mmc1 {
319 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
320 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800321 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
322 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
323 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800324 };
325
326 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
327 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800328 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
329 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
330 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800331 };
332 };
333
Bo Shen544ae6b2013-01-11 15:08:30 +0100334 ssc0 {
335 pinctrl_ssc0_tx: ssc0_tx-0 {
336 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800337 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
338 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
339 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100340 };
341
342 pinctrl_ssc0_rx: ssc0_rx-0 {
343 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800344 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
345 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
346 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100347 };
348 };
349
Wenyou Yanga68b7282013-04-03 14:03:52 +0800350 spi0 {
351 pinctrl_spi0: spi0-0 {
352 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800353 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
354 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
355 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800356 };
357 };
358
359 spi1 {
360 pinctrl_spi1: spi1-0 {
361 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800362 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
363 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
364 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800365 };
366 };
367
Richard Genoude9a72ee2013-03-12 17:54:45 +0100368 i2c0 {
369 pinctrl_i2c0: i2c0-0 {
370 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800371 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
372 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100373 };
374 };
375
376 i2c1 {
377 pinctrl_i2c1: i2c1-0 {
378 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800379 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
380 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100381 };
382 };
383
384 i2c2 {
385 pinctrl_i2c2: i2c2-0 {
386 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800387 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
388 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100389 };
390 };
391
Richard Genoud463c9c72013-03-12 17:54:46 +0100392 i2c_gpio0 {
393 pinctrl_i2c_gpio0: i2c_gpio0-0 {
394 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800395 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
396 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100397 };
398 };
399
400 i2c_gpio1 {
401 pinctrl_i2c_gpio1: i2c_gpio1-0 {
402 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800403 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
404 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100405 };
406 };
407
408 i2c_gpio2 {
409 pinctrl_i2c_gpio2: i2c_gpio2-0 {
410 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800411 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
412 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100413 };
414 };
415
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800416 pioA: gpio@fffff400 {
417 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
418 reg = <0xfffff400 0x200>;
419 interrupts = <2 4 1>;
420 #gpio-cells = <2>;
421 gpio-controller;
422 interrupt-controller;
423 #interrupt-cells = <2>;
424 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100425
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800426 pioB: gpio@fffff600 {
427 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
428 reg = <0xfffff600 0x200>;
429 interrupts = <2 4 1>;
430 #gpio-cells = <2>;
431 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800432 #gpio-lines = <19>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800433 interrupt-controller;
434 #interrupt-cells = <2>;
435 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100436
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800437 pioC: gpio@fffff800 {
438 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
439 reg = <0xfffff800 0x200>;
440 interrupts = <3 4 1>;
441 #gpio-cells = <2>;
442 gpio-controller;
443 interrupt-controller;
444 #interrupt-cells = <2>;
445 };
446
447 pioD: gpio@fffffa00 {
448 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
449 reg = <0xfffffa00 0x200>;
450 interrupts = <3 4 1>;
451 #gpio-cells = <2>;
452 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800453 #gpio-lines = <22>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800454 interrupt-controller;
455 #interrupt-cells = <2>;
456 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100457 };
458
Bo Shen544ae6b2013-01-11 15:08:30 +0100459 ssc0: ssc@f0010000 {
460 compatible = "atmel,at91sam9g45-ssc";
461 reg = <0xf0010000 0x4000>;
462 interrupts = <28 4 5>;
463 pinctrl-names = "default";
464 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
465 status = "disabled";
466 };
467
Ludovic Desroches98731372012-11-19 12:23:36 +0100468 mmc0: mmc@f0008000 {
469 compatible = "atmel,hsmci";
470 reg = <0xf0008000 0x600>;
471 interrupts = <12 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200472 dmas = <&dma0 1 0>;
473 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100474 #address-cells = <1>;
475 #size-cells = <0>;
476 status = "disabled";
477 };
478
479 mmc1: mmc@f000c000 {
480 compatible = "atmel,hsmci";
481 reg = <0xf000c000 0x600>;
482 interrupts = <26 4 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200483 dmas = <&dma1 1 0>;
484 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100485 #address-cells = <1>;
486 #size-cells = <0>;
487 status = "disabled";
488 };
489
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100490 dbgu: serial@fffff200 {
491 compatible = "atmel,at91sam9260-usart";
492 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200493 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800494 pinctrl-names = "default";
495 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100496 status = "disabled";
497 };
498
499 usart0: serial@f801c000 {
500 compatible = "atmel,at91sam9260-usart";
501 reg = <0xf801c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200502 interrupts = <5 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800503 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800504 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100505 status = "disabled";
506 };
507
508 usart1: serial@f8020000 {
509 compatible = "atmel,at91sam9260-usart";
510 reg = <0xf8020000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200511 interrupts = <6 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800512 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800513 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100514 status = "disabled";
515 };
516
517 usart2: serial@f8024000 {
518 compatible = "atmel,at91sam9260-usart";
519 reg = <0xf8024000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200520 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800521 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800522 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100523 status = "disabled";
524 };
525
526 macb0: ethernet@f802c000 {
527 compatible = "cdns,at32ap7000-macb", "cdns,macb";
528 reg = <0xf802c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200529 interrupts = <24 4 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800530 pinctrl-names = "default";
531 pinctrl-0 = <&pinctrl_macb0_rmii>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100532 status = "disabled";
533 };
534
535 macb1: ethernet@f8030000 {
536 compatible = "cdns,at32ap7000-macb", "cdns,macb";
537 reg = <0xf8030000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200538 interrupts = <27 4 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100539 status = "disabled";
540 };
Maxime Ripardd029f372012-05-11 15:35:39 +0200541
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200542 i2c0: i2c@f8010000 {
543 compatible = "atmel,at91sam9x5-i2c";
544 reg = <0xf8010000 0x100>;
545 interrupts = <9 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200546 dmas = <&dma0 1 7>,
547 <&dma0 1 8>;
548 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200549 #address-cells = <1>;
550 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100551 pinctrl-names = "default";
552 pinctrl-0 = <&pinctrl_i2c0>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200553 status = "disabled";
554 };
555
556 i2c1: i2c@f8014000 {
557 compatible = "atmel,at91sam9x5-i2c";
558 reg = <0xf8014000 0x100>;
559 interrupts = <10 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200560 dmas = <&dma1 1 5>,
561 <&dma1 1 6>;
562 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200563 #address-cells = <1>;
564 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100565 pinctrl-names = "default";
566 pinctrl-0 = <&pinctrl_i2c1>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200567 status = "disabled";
568 };
569
570 i2c2: i2c@f8018000 {
571 compatible = "atmel,at91sam9x5-i2c";
572 reg = <0xf8018000 0x100>;
573 interrupts = <11 4 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200574 dmas = <&dma0 1 9>,
575 <&dma0 1 10>;
576 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200577 #address-cells = <1>;
578 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100579 pinctrl-names = "default";
580 pinctrl-0 = <&pinctrl_i2c2>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200581 status = "disabled";
582 };
583
Maxime Ripardd029f372012-05-11 15:35:39 +0200584 adc0: adc@f804c000 {
585 compatible = "atmel,at91sam9260-adc";
586 reg = <0xf804c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200587 interrupts = <19 4 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200588 atmel,adc-use-external;
589 atmel,adc-channels-used = <0xffff>;
590 atmel,adc-vref = <3300>;
591 atmel,adc-num-channels = <12>;
592 atmel,adc-startup-time = <40>;
593 atmel,adc-channel-base = <0x50>;
594 atmel,adc-drdy-mask = <0x1000000>;
595 atmel,adc-status-register = <0x30>;
596 atmel,adc-trigger-register = <0xc0>;
Ludovic Desroches4b50da62013-03-29 10:13:19 +0100597 atmel,adc-res = <8 10>;
598 atmel,adc-res-names = "lowres", "highres";
599 atmel,adc-use-res = "highres";
Maxime Ripardd029f372012-05-11 15:35:39 +0200600
601 trigger@0 {
602 trigger-name = "external-rising";
603 trigger-value = <0x1>;
604 trigger-external;
605 };
606
607 trigger@1 {
608 trigger-name = "external-falling";
609 trigger-value = <0x2>;
610 trigger-external;
611 };
612
613 trigger@2 {
614 trigger-name = "external-any";
615 trigger-value = <0x3>;
616 trigger-external;
617 };
618
619 trigger@3 {
620 trigger-name = "continuous";
621 trigger-value = <0x6>;
622 };
623 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800624
625 spi0: spi@f0000000 {
626 #address-cells = <1>;
627 #size-cells = <0>;
628 compatible = "atmel,at91rm9200-spi";
629 reg = <0xf0000000 0x100>;
630 interrupts = <13 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800631 pinctrl-names = "default";
632 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800633 status = "disabled";
634 };
635
636 spi1: spi@f0004000 {
637 #address-cells = <1>;
638 #size-cells = <0>;
639 compatible = "atmel,at91rm9200-spi";
640 reg = <0xf0004000 0x100>;
641 interrupts = <14 4 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800642 pinctrl-names = "default";
643 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800644 status = "disabled";
645 };
Linus Torvaldsdfab34a2013-05-02 09:28:03 -0700646
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100647 rtc@fffffeb0 {
648 compatible = "atmel,at91rm9200-rtc";
649 reg = <0xfffffeb0 0x40>;
650 interrupts = <1 4 7>;
651 status = "disabled";
652 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100653 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800654
655 nand0: nand@40000000 {
656 compatible = "atmel,at91rm9200-nand";
657 #address-cells = <1>;
658 #size-cells = <1>;
659 reg = <0x40000000 0x10000000
Josh Wu5314bc22013-01-23 20:47:09 +0800660 0xffffe000 0x600 /* PMECC Registers */
661 0xffffe600 0x200 /* PMECC Error Location Registers */
662 0x00108000 0x18000 /* PMECC looup table in ROM code */
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800663 >;
Josh Wu5314bc22013-01-23 20:47:09 +0800664 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800665 atmel,nand-addr-offset = <21>;
666 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800667 pinctrl-names = "default";
668 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800669 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
670 &pioD 4 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800671 0
672 >;
673 status = "disabled";
674 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800675
676 usb0: ohci@00600000 {
677 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
678 reg = <0x00600000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200679 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800680 status = "disabled";
681 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800682
683 usb1: ehci@00700000 {
684 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
685 reg = <0x00700000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200686 interrupts = <22 4 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800687 status = "disabled";
688 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100689 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800690
691 i2c@0 {
692 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800693 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
694 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800695 >;
696 i2c-gpio,sda-open-drain;
697 i2c-gpio,scl-open-drain;
698 i2c-gpio,delay-us = <2>; /* ~100 kHz */
699 #address-cells = <1>;
700 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100701 pinctrl-names = "default";
702 pinctrl-0 = <&pinctrl_i2c_gpio0>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800703 status = "disabled";
704 };
705
706 i2c@1 {
707 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800708 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
709 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800710 >;
711 i2c-gpio,sda-open-drain;
712 i2c-gpio,scl-open-drain;
713 i2c-gpio,delay-us = <2>; /* ~100 kHz */
714 #address-cells = <1>;
715 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100716 pinctrl-names = "default";
717 pinctrl-0 = <&pinctrl_i2c_gpio1>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800718 status = "disabled";
719 };
720
721 i2c@2 {
722 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800723 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
724 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800725 >;
726 i2c-gpio,sda-open-drain;
727 i2c-gpio,scl-open-drain;
728 i2c-gpio,delay-us = <2>; /* ~100 kHz */
729 #address-cells = <1>;
730 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100731 pinctrl-names = "default";
732 pinctrl-0 = <&pinctrl_i2c_gpio2>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800733 status = "disabled";
734 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100735};