blob: d4ce6407c04857e6dfdba1563ea9c83e411ae140 [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"
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 Ferre467f1cf2012-01-26 11:59:20 +010017
18/ {
19 model = "Atmel AT91SAM9x5 family SoC";
20 compatible = "atmel,at91sam9x5";
21 interrupt-parent = <&aic>;
22
23 aliases {
24 serial0 = &dbgu;
25 serial1 = &usart0;
26 serial2 = &usart1;
27 serial3 = &usart2;
28 gpio0 = &pioA;
29 gpio1 = &pioB;
30 gpio2 = &pioC;
31 gpio3 = &pioD;
32 tcb0 = &tcb0;
33 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020034 i2c0 = &i2c0;
35 i2c1 = &i2c1;
36 i2c2 = &i2c2;
Bo Shen099343c2012-11-07 11:41:41 +080037 ssc0 = &ssc0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010038 };
39 cpus {
40 cpu@0 {
41 compatible = "arm,arm926ejs";
42 };
43 };
44
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020045 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010046 reg = <0x20000000 0x10000000>;
47 };
48
49 ahb {
50 compatible = "simple-bus";
51 #address-cells = <1>;
52 #size-cells = <1>;
53 ranges;
54
55 apb {
56 compatible = "simple-bus";
57 #address-cells = <1>;
58 #size-cells = <1>;
59 ranges;
60
61 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020062 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010063 compatible = "atmel,at91rm9200-aic";
64 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010065 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080066 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010067 };
68
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080069 ramc0: ramc@ffffe800 {
70 compatible = "atmel,at91sam9g45-ddramc";
71 reg = <0xffffe800 0x200>;
72 };
73
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080074 pmc: pmc@fffffc00 {
75 compatible = "atmel,at91rm9200-pmc";
76 reg = <0xfffffc00 0x100>;
77 };
78
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080079 rstc@fffffe00 {
80 compatible = "atmel,at91sam9g45-rstc";
81 reg = <0xfffffe00 0x10>;
82 };
83
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080084 shdwc@fffffe10 {
85 compatible = "atmel,at91sam9x5-shdwc";
86 reg = <0xfffffe10 0x10>;
87 };
88
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010089 pit: timer@fffffe30 {
90 compatible = "atmel,at91sam9260-pit";
91 reg = <0xfffffe30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080092 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010093 };
94
95 tcb0: timer@f8008000 {
96 compatible = "atmel,at91sam9x5-tcb";
97 reg = <0xf8008000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080098 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010099 };
100
101 tcb1: timer@f800c000 {
102 compatible = "atmel,at91sam9x5-tcb";
103 reg = <0xf800c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800104 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100105 };
106
107 dma0: dma-controller@ffffec00 {
108 compatible = "atmel,at91sam9g45-dma";
109 reg = <0xffffec00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800110 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200111 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100112 };
113
114 dma1: dma-controller@ffffee00 {
115 compatible = "atmel,at91sam9g45-dma";
116 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800117 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200118 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100119 };
120
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800121 pinctrl@fffff400 {
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800122 #address-cells = <1>;
123 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800124 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800125 ranges = <0xfffff400 0xfffff400 0x800>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100126
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800127 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800128 dbgu {
129 pinctrl_dbgu: dbgu-0 {
130 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800131 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
132 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800133 };
134 };
135
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800136 usart0 {
137 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800138 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800139 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
140 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800141 };
142
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800143 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800144 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800145 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800146 };
147
148 pinctrl_usart0_cts: usart0_cts-0 {
149 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800150 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800151 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000152
153 pinctrl_usart0_sck: usart0_sck-0 {
154 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800155 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000156 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800157 };
158
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800159 usart1 {
160 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800161 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800162 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
163 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800164 };
165
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800166 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800167 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800168 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800169 };
170
171 pinctrl_usart1_cts: usart1_cts-0 {
172 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800173 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800174 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000175
176 pinctrl_usart1_sck: usart1_sck-0 {
177 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800178 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000179 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800180 };
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_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
186 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800187 };
188
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800189 pinctrl_uart2_rts: uart2_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_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800192 };
193
194 pinctrl_uart2_cts: uart2_cts-0 {
195 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800196 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800197 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000198
199 pinctrl_usart2_sck: usart2_sck-0 {
200 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800201 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000202 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800203 };
204
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800205 usart3 {
Robert Nelson65a0fe02013-01-28 09:43:36 -0600206 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800207 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800208 <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC22 periph B with pullup */
209 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC23 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800210 };
211
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800212 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800213 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800214 <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800215 };
216
217 pinctrl_usart3_cts: usart3_cts-0 {
218 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800219 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800220 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000221
222 pinctrl_usart3_sck: usart3_sck-0 {
223 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800224 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC26 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000225 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800226 };
227
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800228 uart0 {
229 pinctrl_uart0: uart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800230 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800231 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
232 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800233 };
234 };
235
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800236 uart1 {
237 pinctrl_uart1: uart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800238 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800239 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
240 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800241 };
242 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800243
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800244 nand {
245 pinctrl_nand: nand-0 {
246 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800247 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
248 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
249 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
250 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
251 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
252 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
253 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
254 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
255 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
256 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
257 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
258 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
259 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
260 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
Richard Genoud7f064722013-03-11 15:12:40 +0100261 };
262
263 pinctrl_nand_16bits: nand_16bits-0 {
264 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800265 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
266 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
267 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
268 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
269 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
270 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
271 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
272 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800273 };
274 };
275
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800276 macb0 {
277 pinctrl_macb0_rmii: macb0_rmii-0 {
278 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800279 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
280 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
281 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A */
282 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
283 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
284 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
285 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
286 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
287 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
288 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800289 };
290
291 pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
292 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800293 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB8 periph A */
294 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A */
295 AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
296 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A */
297 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A */
298 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A */
299 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB16 periph A */
300 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB17 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800301 };
302 };
303
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800304 mmc0 {
305 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
306 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800307 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
308 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
309 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800310 };
311
312 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
313 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800314 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
315 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
316 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800317 };
318 };
319
320 mmc1 {
321 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
322 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800323 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
324 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
325 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800326 };
327
328 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
329 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800330 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
331 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
332 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800333 };
334 };
335
Bo Shen544ae6b2013-01-11 15:08:30 +0100336 ssc0 {
337 pinctrl_ssc0_tx: ssc0_tx-0 {
338 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800339 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
340 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
341 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100342 };
343
344 pinctrl_ssc0_rx: ssc0_rx-0 {
345 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800346 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
347 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
348 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100349 };
350 };
351
Wenyou Yanga68b7282013-04-03 14:03:52 +0800352 spi0 {
353 pinctrl_spi0: spi0-0 {
354 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800355 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
356 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
357 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800358 };
359 };
360
361 spi1 {
362 pinctrl_spi1: spi1-0 {
363 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800364 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
365 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
366 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800367 };
368 };
369
Richard Genoude9a72ee2013-03-12 17:54:45 +0100370 i2c0 {
371 pinctrl_i2c0: i2c0-0 {
372 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800373 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
374 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100375 };
376 };
377
378 i2c1 {
379 pinctrl_i2c1: i2c1-0 {
380 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800381 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
382 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100383 };
384 };
385
386 i2c2 {
387 pinctrl_i2c2: i2c2-0 {
388 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800389 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
390 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100391 };
392 };
393
Richard Genoud463c9c72013-03-12 17:54:46 +0100394 i2c_gpio0 {
395 pinctrl_i2c_gpio0: i2c_gpio0-0 {
396 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800397 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
398 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100399 };
400 };
401
402 i2c_gpio1 {
403 pinctrl_i2c_gpio1: i2c_gpio1-0 {
404 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800405 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
406 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100407 };
408 };
409
410 i2c_gpio2 {
411 pinctrl_i2c_gpio2: i2c_gpio2-0 {
412 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800413 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
414 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100415 };
416 };
417
Boris BREZILLON028633c2013-05-24 10:05:56 +0000418 tcb0 {
419 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
420 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
421 };
422
423 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
424 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
425 };
426
427 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
428 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
429 };
430
431 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
432 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
433 };
434
435 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
436 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
437 };
438
439 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
440 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
441 };
442
443 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
444 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
445 };
446
447 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
448 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
449 };
450
451 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
452 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
453 };
454 };
455
456 tcb1 {
457 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
458 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
459 };
460
461 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
462 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
463 };
464
465 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
466 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
467 };
468
469 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
470 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
471 };
472
473 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
474 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
475 };
476
477 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
478 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
479 };
480
481 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
482 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
483 };
484
485 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
486 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
487 };
488
489 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
490 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
491 };
492 };
493
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800494 pioA: gpio@fffff400 {
495 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
496 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800497 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800498 #gpio-cells = <2>;
499 gpio-controller;
500 interrupt-controller;
501 #interrupt-cells = <2>;
502 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100503
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800504 pioB: gpio@fffff600 {
505 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
506 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800507 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800508 #gpio-cells = <2>;
509 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800510 #gpio-lines = <19>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800511 interrupt-controller;
512 #interrupt-cells = <2>;
513 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100514
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800515 pioC: gpio@fffff800 {
516 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
517 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800518 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800519 #gpio-cells = <2>;
520 gpio-controller;
521 interrupt-controller;
522 #interrupt-cells = <2>;
523 };
524
525 pioD: gpio@fffffa00 {
526 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
527 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800528 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800529 #gpio-cells = <2>;
530 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800531 #gpio-lines = <22>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800532 interrupt-controller;
533 #interrupt-cells = <2>;
534 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100535 };
536
Bo Shen544ae6b2013-01-11 15:08:30 +0100537 ssc0: ssc@f0010000 {
538 compatible = "atmel,at91sam9g45-ssc";
539 reg = <0xf0010000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800540 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100541 pinctrl-names = "default";
542 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
543 status = "disabled";
544 };
545
Ludovic Desroches98731372012-11-19 12:23:36 +0100546 mmc0: mmc@f0008000 {
547 compatible = "atmel,hsmci";
548 reg = <0xf0008000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800549 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200550 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200551 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100552 #address-cells = <1>;
553 #size-cells = <0>;
554 status = "disabled";
555 };
556
557 mmc1: mmc@f000c000 {
558 compatible = "atmel,hsmci";
559 reg = <0xf000c000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800560 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200561 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200562 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100563 #address-cells = <1>;
564 #size-cells = <0>;
565 status = "disabled";
566 };
567
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100568 dbgu: serial@fffff200 {
569 compatible = "atmel,at91sam9260-usart";
570 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800571 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800572 pinctrl-names = "default";
573 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100574 status = "disabled";
575 };
576
577 usart0: serial@f801c000 {
578 compatible = "atmel,at91sam9260-usart";
579 reg = <0xf801c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800580 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800581 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800582 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100583 status = "disabled";
584 };
585
586 usart1: serial@f8020000 {
587 compatible = "atmel,at91sam9260-usart";
588 reg = <0xf8020000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800589 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800590 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800591 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100592 status = "disabled";
593 };
594
595 usart2: serial@f8024000 {
596 compatible = "atmel,at91sam9260-usart";
597 reg = <0xf8024000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800598 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800599 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800600 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100601 status = "disabled";
602 };
603
604 macb0: ethernet@f802c000 {
605 compatible = "cdns,at32ap7000-macb", "cdns,macb";
606 reg = <0xf802c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800607 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800608 pinctrl-names = "default";
609 pinctrl-0 = <&pinctrl_macb0_rmii>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100610 status = "disabled";
611 };
612
613 macb1: ethernet@f8030000 {
614 compatible = "cdns,at32ap7000-macb", "cdns,macb";
615 reg = <0xf8030000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800616 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100617 status = "disabled";
618 };
Maxime Ripardd029f372012-05-11 15:35:39 +0200619
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200620 i2c0: i2c@f8010000 {
621 compatible = "atmel,at91sam9x5-i2c";
622 reg = <0xf8010000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800623 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200624 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
625 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200626 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200627 #address-cells = <1>;
628 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100629 pinctrl-names = "default";
630 pinctrl-0 = <&pinctrl_i2c0>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200631 status = "disabled";
632 };
633
634 i2c1: i2c@f8014000 {
635 compatible = "atmel,at91sam9x5-i2c";
636 reg = <0xf8014000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800637 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200638 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
639 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200640 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200641 #address-cells = <1>;
642 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100643 pinctrl-names = "default";
644 pinctrl-0 = <&pinctrl_i2c1>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200645 status = "disabled";
646 };
647
648 i2c2: i2c@f8018000 {
649 compatible = "atmel,at91sam9x5-i2c";
650 reg = <0xf8018000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800651 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200652 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
653 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200654 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200655 #address-cells = <1>;
656 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100657 pinctrl-names = "default";
658 pinctrl-0 = <&pinctrl_i2c2>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200659 status = "disabled";
660 };
661
Nicolas Ferre06723db2013-04-18 10:52:45 +0200662 uart0: serial@f8040000 {
663 compatible = "atmel,at91sam9260-usart";
664 reg = <0xf8040000 0x200>;
665 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
666 pinctrl-names = "default";
667 pinctrl-0 = <&pinctrl_uart0>;
668 status = "disabled";
669 };
670
671 uart1: serial@f8044000 {
672 compatible = "atmel,at91sam9260-usart";
673 reg = <0xf8044000 0x200>;
674 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
675 pinctrl-names = "default";
676 pinctrl-0 = <&pinctrl_uart1>;
677 status = "disabled";
678 };
679
Maxime Ripardd029f372012-05-11 15:35:39 +0200680 adc0: adc@f804c000 {
681 compatible = "atmel,at91sam9260-adc";
682 reg = <0xf804c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800683 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200684 atmel,adc-use-external;
685 atmel,adc-channels-used = <0xffff>;
686 atmel,adc-vref = <3300>;
687 atmel,adc-num-channels = <12>;
688 atmel,adc-startup-time = <40>;
689 atmel,adc-channel-base = <0x50>;
690 atmel,adc-drdy-mask = <0x1000000>;
691 atmel,adc-status-register = <0x30>;
692 atmel,adc-trigger-register = <0xc0>;
Ludovic Desroches4b50da62013-03-29 10:13:19 +0100693 atmel,adc-res = <8 10>;
694 atmel,adc-res-names = "lowres", "highres";
695 atmel,adc-use-res = "highres";
Maxime Ripardd029f372012-05-11 15:35:39 +0200696
697 trigger@0 {
698 trigger-name = "external-rising";
699 trigger-value = <0x1>;
700 trigger-external;
701 };
702
703 trigger@1 {
704 trigger-name = "external-falling";
705 trigger-value = <0x2>;
706 trigger-external;
707 };
708
709 trigger@2 {
710 trigger-name = "external-any";
711 trigger-value = <0x3>;
712 trigger-external;
713 };
714
715 trigger@3 {
716 trigger-name = "continuous";
717 trigger-value = <0x6>;
718 };
719 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800720
721 spi0: spi@f0000000 {
722 #address-cells = <1>;
723 #size-cells = <0>;
724 compatible = "atmel,at91rm9200-spi";
725 reg = <0xf0000000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800726 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800727 pinctrl-names = "default";
728 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800729 status = "disabled";
730 };
731
732 spi1: spi@f0004000 {
733 #address-cells = <1>;
734 #size-cells = <0>;
735 compatible = "atmel,at91rm9200-spi";
736 reg = <0xf0004000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800737 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800738 pinctrl-names = "default";
739 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800740 status = "disabled";
741 };
Linus Torvaldsdfab34a2013-05-02 09:28:03 -0700742
Wenyou Yang136d3552013-05-31 11:10:02 +0800743 watchdog@fffffe40 {
744 compatible = "atmel,at91sam9260-wdt";
745 reg = <0xfffffe40 0x10>;
746 status = "disabled";
747 };
748
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100749 rtc@fffffeb0 {
Nicolas Ferre23fb05c2013-04-18 10:13:21 +0200750 compatible = "atmel,at91sam9x5-rtc";
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100751 reg = <0xfffffeb0 0x40>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800752 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100753 status = "disabled";
754 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100755 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800756
757 nand0: nand@40000000 {
758 compatible = "atmel,at91rm9200-nand";
759 #address-cells = <1>;
760 #size-cells = <1>;
761 reg = <0x40000000 0x10000000
Josh Wu5314bc22013-01-23 20:47:09 +0800762 0xffffe000 0x600 /* PMECC Registers */
763 0xffffe600 0x200 /* PMECC Error Location Registers */
764 0x00108000 0x18000 /* PMECC looup table in ROM code */
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800765 >;
Josh Wu5314bc22013-01-23 20:47:09 +0800766 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800767 atmel,nand-addr-offset = <21>;
768 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800769 pinctrl-names = "default";
770 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800771 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
772 &pioD 4 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800773 0
774 >;
775 status = "disabled";
776 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800777
778 usb0: ohci@00600000 {
779 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
780 reg = <0x00600000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800781 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800782 status = "disabled";
783 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800784
785 usb1: ehci@00700000 {
786 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
787 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800788 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800789 status = "disabled";
790 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100791 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800792
793 i2c@0 {
794 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800795 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
796 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800797 >;
798 i2c-gpio,sda-open-drain;
799 i2c-gpio,scl-open-drain;
800 i2c-gpio,delay-us = <2>; /* ~100 kHz */
801 #address-cells = <1>;
802 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100803 pinctrl-names = "default";
804 pinctrl-0 = <&pinctrl_i2c_gpio0>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800805 status = "disabled";
806 };
807
808 i2c@1 {
809 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800810 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
811 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800812 >;
813 i2c-gpio,sda-open-drain;
814 i2c-gpio,scl-open-drain;
815 i2c-gpio,delay-us = <2>; /* ~100 kHz */
816 #address-cells = <1>;
817 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100818 pinctrl-names = "default";
819 pinctrl-0 = <&pinctrl_i2c_gpio1>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800820 status = "disabled";
821 };
822
823 i2c@2 {
824 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800825 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
826 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800827 >;
828 i2c-gpio,sda-open-drain;
829 i2c-gpio,scl-open-drain;
830 i2c-gpio,delay-us = <2>; /* ~100 kHz */
831 #address-cells = <1>;
832 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100833 pinctrl-names = "default";
834 pinctrl-0 = <&pinctrl_i2c_gpio2>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800835 status = "disabled";
836 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100837};