blob: af91599488e9aa56aadd64f60ed52c921087a002 [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-VILLARD5e8b3bc2013-04-24 08:34:25 +080014#include <dt-bindings/interrupt-controller/irq.h>
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080015#include <dt-bindings/gpio/gpio.h>
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010016
17/ {
18 model = "Atmel AT91SAM9x5 family SoC";
19 compatible = "atmel,at91sam9x5";
20 interrupt-parent = <&aic>;
21
22 aliases {
23 serial0 = &dbgu;
24 serial1 = &usart0;
25 serial2 = &usart1;
26 serial3 = &usart2;
27 gpio0 = &pioA;
28 gpio1 = &pioB;
29 gpio2 = &pioC;
30 gpio3 = &pioD;
31 tcb0 = &tcb0;
32 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020033 i2c0 = &i2c0;
34 i2c1 = &i2c1;
35 i2c2 = &i2c2;
Bo Shen099343c2012-11-07 11:41:41 +080036 ssc0 = &ssc0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010037 };
38 cpus {
39 cpu@0 {
40 compatible = "arm,arm926ejs";
41 };
42 };
43
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020044 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010045 reg = <0x20000000 0x10000000>;
46 };
47
48 ahb {
49 compatible = "simple-bus";
50 #address-cells = <1>;
51 #size-cells = <1>;
52 ranges;
53
54 apb {
55 compatible = "simple-bus";
56 #address-cells = <1>;
57 #size-cells = <1>;
58 ranges;
59
60 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020061 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010062 compatible = "atmel,at91rm9200-aic";
63 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010064 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080065 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010066 };
67
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080068 ramc0: ramc@ffffe800 {
69 compatible = "atmel,at91sam9g45-ddramc";
70 reg = <0xffffe800 0x200>;
71 };
72
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080073 pmc: pmc@fffffc00 {
74 compatible = "atmel,at91rm9200-pmc";
75 reg = <0xfffffc00 0x100>;
76 };
77
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080078 rstc@fffffe00 {
79 compatible = "atmel,at91sam9g45-rstc";
80 reg = <0xfffffe00 0x10>;
81 };
82
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080083 shdwc@fffffe10 {
84 compatible = "atmel,at91sam9x5-shdwc";
85 reg = <0xfffffe10 0x10>;
86 };
87
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010088 pit: timer@fffffe30 {
89 compatible = "atmel,at91sam9260-pit";
90 reg = <0xfffffe30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080091 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010092 };
93
94 tcb0: timer@f8008000 {
95 compatible = "atmel,at91sam9x5-tcb";
96 reg = <0xf8008000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080097 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010098 };
99
100 tcb1: timer@f800c000 {
101 compatible = "atmel,at91sam9x5-tcb";
102 reg = <0xf800c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800103 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100104 };
105
106 dma0: dma-controller@ffffec00 {
107 compatible = "atmel,at91sam9g45-dma";
108 reg = <0xffffec00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800109 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200110 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100111 };
112
113 dma1: dma-controller@ffffee00 {
114 compatible = "atmel,at91sam9g45-dma";
115 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800116 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200117 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100118 };
119
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800120 pinctrl@fffff400 {
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800121 #address-cells = <1>;
122 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800123 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800124 ranges = <0xfffff400 0xfffff400 0x800>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100125
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800126 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800127 dbgu {
128 pinctrl_dbgu: dbgu-0 {
129 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800130 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
131 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800132 };
133 };
134
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800135 usart0 {
136 pinctrl_usart0: usart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800137 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800138 <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
139 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800140 };
141
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800142 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800143 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800144 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800145 };
146
147 pinctrl_usart0_cts: usart0_cts-0 {
148 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800149 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800150 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000151
152 pinctrl_usart0_sck: usart0_sck-0 {
153 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800154 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000155 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800156 };
157
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800158 usart1 {
159 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800160 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800161 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
162 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800163 };
164
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800165 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800166 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800167 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800168 };
169
170 pinctrl_usart1_cts: usart1_cts-0 {
171 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800172 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800173 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000174
175 pinctrl_usart1_sck: usart1_sck-0 {
176 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800177 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000178 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800179 };
180
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800181 usart2 {
182 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800183 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800184 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
185 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800186 };
187
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800188 pinctrl_uart2_rts: uart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800189 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800190 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800191 };
192
193 pinctrl_uart2_cts: uart2_cts-0 {
194 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800195 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800196 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000197
198 pinctrl_usart2_sck: usart2_sck-0 {
199 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800200 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000201 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800202 };
203
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800204 usart3 {
Robert Nelson65a0fe02013-01-28 09:43:36 -0600205 pinctrl_usart3: usart3-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800206 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800207 <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC22 periph B with pullup */
208 AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC23 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800209 };
210
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800211 pinctrl_usart3_rts: usart3_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800212 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800213 <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800214 };
215
216 pinctrl_usart3_cts: usart3_cts-0 {
217 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800218 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800219 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000220
221 pinctrl_usart3_sck: usart3_sck-0 {
222 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800223 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC26 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000224 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800225 };
226
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800227 uart0 {
228 pinctrl_uart0: uart0-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800229 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800230 <AT91_PIOC 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
231 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800232 };
233 };
234
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800235 uart1 {
236 pinctrl_uart1: uart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800237 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800238 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
239 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800240 };
241 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800242
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800243 nand {
244 pinctrl_nand: nand-0 {
245 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800246 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
247 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
248 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
249 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
250 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
251 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
252 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
253 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
254 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
255 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
256 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
257 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
258 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
259 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
Richard Genoud7f064722013-03-11 15:12:40 +0100260 };
261
262 pinctrl_nand_16bits: nand_16bits-0 {
263 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800264 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
265 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
266 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
267 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
268 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
269 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
270 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
271 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800272 };
273 };
274
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800275 macb0 {
276 pinctrl_macb0_rmii: macb0_rmii-0 {
277 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800278 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
279 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
280 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A */
281 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
282 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
283 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
284 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
285 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
286 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
287 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800288 };
289
290 pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
291 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800292 <AT91_PIOB 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB8 periph A */
293 AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A */
294 AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */
295 AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A */
296 AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A */
297 AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A */
298 AT91_PIOB 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB16 periph A */
299 AT91_PIOB 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB17 periph A */
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800300 };
301 };
302
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800303 mmc0 {
304 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
305 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800306 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
307 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
308 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800309 };
310
311 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
312 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800313 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
314 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
315 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800316 };
317 };
318
319 mmc1 {
320 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
321 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800322 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
323 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
324 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800325 };
326
327 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
328 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800329 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
330 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
331 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800332 };
333 };
334
Bo Shen544ae6b2013-01-11 15:08:30 +0100335 ssc0 {
336 pinctrl_ssc0_tx: ssc0_tx-0 {
337 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800338 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
339 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
340 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100341 };
342
343 pinctrl_ssc0_rx: ssc0_rx-0 {
344 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800345 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
346 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
347 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100348 };
349 };
350
Wenyou Yanga68b7282013-04-03 14:03:52 +0800351 spi0 {
352 pinctrl_spi0: spi0-0 {
353 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800354 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
355 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
356 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800357 };
358 };
359
360 spi1 {
361 pinctrl_spi1: spi1-0 {
362 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800363 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
364 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
365 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800366 };
367 };
368
Richard Genoude9a72ee2013-03-12 17:54:45 +0100369 i2c0 {
370 pinctrl_i2c0: i2c0-0 {
371 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800372 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
373 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100374 };
375 };
376
377 i2c1 {
378 pinctrl_i2c1: i2c1-0 {
379 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800380 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
381 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100382 };
383 };
384
385 i2c2 {
386 pinctrl_i2c2: i2c2-0 {
387 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800388 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
389 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100390 };
391 };
392
Richard Genoud463c9c72013-03-12 17:54:46 +0100393 i2c_gpio0 {
394 pinctrl_i2c_gpio0: i2c_gpio0-0 {
395 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800396 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
397 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100398 };
399 };
400
401 i2c_gpio1 {
402 pinctrl_i2c_gpio1: i2c_gpio1-0 {
403 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800404 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
405 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100406 };
407 };
408
409 i2c_gpio2 {
410 pinctrl_i2c_gpio2: i2c_gpio2-0 {
411 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800412 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
413 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100414 };
415 };
416
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800417 pioA: gpio@fffff400 {
418 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
419 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800420 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800421 #gpio-cells = <2>;
422 gpio-controller;
423 interrupt-controller;
424 #interrupt-cells = <2>;
425 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100426
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800427 pioB: gpio@fffff600 {
428 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
429 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800430 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800431 #gpio-cells = <2>;
432 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800433 #gpio-lines = <19>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800434 interrupt-controller;
435 #interrupt-cells = <2>;
436 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100437
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800438 pioC: gpio@fffff800 {
439 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
440 reg = <0xfffff800 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 };
447
448 pioD: gpio@fffffa00 {
449 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
450 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800451 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800452 #gpio-cells = <2>;
453 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800454 #gpio-lines = <22>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800455 interrupt-controller;
456 #interrupt-cells = <2>;
457 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100458 };
459
Bo Shen544ae6b2013-01-11 15:08:30 +0100460 ssc0: ssc@f0010000 {
461 compatible = "atmel,at91sam9g45-ssc";
462 reg = <0xf0010000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800463 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
Bo Shen544ae6b2013-01-11 15:08:30 +0100464 pinctrl-names = "default";
465 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
466 status = "disabled";
467 };
468
Ludovic Desroches98731372012-11-19 12:23:36 +0100469 mmc0: mmc@f0008000 {
470 compatible = "atmel,hsmci";
471 reg = <0xf0008000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800472 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200473 dmas = <&dma0 1 0>;
474 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100475 #address-cells = <1>;
476 #size-cells = <0>;
477 status = "disabled";
478 };
479
480 mmc1: mmc@f000c000 {
481 compatible = "atmel,hsmci";
482 reg = <0xf000c000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800483 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200484 dmas = <&dma1 1 0>;
485 dma-names = "rxtx";
Ludovic Desroches98731372012-11-19 12:23:36 +0100486 #address-cells = <1>;
487 #size-cells = <0>;
488 status = "disabled";
489 };
490
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100491 dbgu: serial@fffff200 {
492 compatible = "atmel,at91sam9260-usart";
493 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800494 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100497 status = "disabled";
498 };
499
500 usart0: serial@f801c000 {
501 compatible = "atmel,at91sam9260-usart";
502 reg = <0xf801c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800503 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800504 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800505 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100506 status = "disabled";
507 };
508
509 usart1: serial@f8020000 {
510 compatible = "atmel,at91sam9260-usart";
511 reg = <0xf8020000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800512 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800513 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800514 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100515 status = "disabled";
516 };
517
518 usart2: serial@f8024000 {
519 compatible = "atmel,at91sam9260-usart";
520 reg = <0xf8024000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800521 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800522 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800523 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100524 status = "disabled";
525 };
526
527 macb0: ethernet@f802c000 {
528 compatible = "cdns,at32ap7000-macb", "cdns,macb";
529 reg = <0xf802c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800530 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
Jean-Christophe PLAGNIOL-VILLARDd9b4fe82012-10-23 10:19:11 +0800531 pinctrl-names = "default";
532 pinctrl-0 = <&pinctrl_macb0_rmii>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100533 status = "disabled";
534 };
535
536 macb1: ethernet@f8030000 {
537 compatible = "cdns,at32ap7000-macb", "cdns,macb";
538 reg = <0xf8030000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800539 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100540 status = "disabled";
541 };
Maxime Ripardd029f372012-05-11 15:35:39 +0200542
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200543 i2c0: i2c@f8010000 {
544 compatible = "atmel,at91sam9x5-i2c";
545 reg = <0xf8010000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800546 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200547 dmas = <&dma0 1 7>,
548 <&dma0 1 8>;
549 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200550 #address-cells = <1>;
551 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100552 pinctrl-names = "default";
553 pinctrl-0 = <&pinctrl_i2c0>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200554 status = "disabled";
555 };
556
557 i2c1: i2c@f8014000 {
558 compatible = "atmel,at91sam9x5-i2c";
559 reg = <0xf8014000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800560 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200561 dmas = <&dma1 1 5>,
562 <&dma1 1 6>;
563 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200564 #address-cells = <1>;
565 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100566 pinctrl-names = "default";
567 pinctrl-0 = <&pinctrl_i2c1>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200568 status = "disabled";
569 };
570
571 i2c2: i2c@f8018000 {
572 compatible = "atmel,at91sam9x5-i2c";
573 reg = <0xf8018000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800574 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200575 dmas = <&dma0 1 9>,
576 <&dma0 1 10>;
577 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200578 #address-cells = <1>;
579 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100580 pinctrl-names = "default";
581 pinctrl-0 = <&pinctrl_i2c2>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200582 status = "disabled";
583 };
584
Maxime Ripardd029f372012-05-11 15:35:39 +0200585 adc0: adc@f804c000 {
586 compatible = "atmel,at91sam9260-adc";
587 reg = <0xf804c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800588 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200589 atmel,adc-use-external;
590 atmel,adc-channels-used = <0xffff>;
591 atmel,adc-vref = <3300>;
592 atmel,adc-num-channels = <12>;
593 atmel,adc-startup-time = <40>;
594 atmel,adc-channel-base = <0x50>;
595 atmel,adc-drdy-mask = <0x1000000>;
596 atmel,adc-status-register = <0x30>;
597 atmel,adc-trigger-register = <0xc0>;
Ludovic Desroches4b50da62013-03-29 10:13:19 +0100598 atmel,adc-res = <8 10>;
599 atmel,adc-res-names = "lowres", "highres";
600 atmel,adc-use-res = "highres";
Maxime Ripardd029f372012-05-11 15:35:39 +0200601
602 trigger@0 {
603 trigger-name = "external-rising";
604 trigger-value = <0x1>;
605 trigger-external;
606 };
607
608 trigger@1 {
609 trigger-name = "external-falling";
610 trigger-value = <0x2>;
611 trigger-external;
612 };
613
614 trigger@2 {
615 trigger-name = "external-any";
616 trigger-value = <0x3>;
617 trigger-external;
618 };
619
620 trigger@3 {
621 trigger-name = "continuous";
622 trigger-value = <0x6>;
623 };
624 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800625
626 spi0: spi@f0000000 {
627 #address-cells = <1>;
628 #size-cells = <0>;
629 compatible = "atmel,at91rm9200-spi";
630 reg = <0xf0000000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800631 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800632 pinctrl-names = "default";
633 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800634 status = "disabled";
635 };
636
637 spi1: spi@f0004000 {
638 #address-cells = <1>;
639 #size-cells = <0>;
640 compatible = "atmel,at91rm9200-spi";
641 reg = <0xf0004000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800642 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
Wenyou Yanga68b7282013-04-03 14:03:52 +0800643 pinctrl-names = "default";
644 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800645 status = "disabled";
646 };
Linus Torvaldsdfab34a2013-05-02 09:28:03 -0700647
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100648 rtc@fffffeb0 {
649 compatible = "atmel,at91rm9200-rtc";
650 reg = <0xfffffeb0 0x40>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800651 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100652 status = "disabled";
653 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100654 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800655
656 nand0: nand@40000000 {
657 compatible = "atmel,at91rm9200-nand";
658 #address-cells = <1>;
659 #size-cells = <1>;
660 reg = <0x40000000 0x10000000
Josh Wu5314bc22013-01-23 20:47:09 +0800661 0xffffe000 0x600 /* PMECC Registers */
662 0xffffe600 0x200 /* PMECC Error Location Registers */
663 0x00108000 0x18000 /* PMECC looup table in ROM code */
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800664 >;
Josh Wu5314bc22013-01-23 20:47:09 +0800665 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800666 atmel,nand-addr-offset = <21>;
667 atmel,nand-cmd-offset = <22>;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800668 pinctrl-names = "default";
669 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800670 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
671 &pioD 4 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800672 0
673 >;
674 status = "disabled";
675 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800676
677 usb0: ohci@00600000 {
678 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
679 reg = <0x00600000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800680 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800681 status = "disabled";
682 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800683
684 usb1: ehci@00700000 {
685 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
686 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800687 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800688 status = "disabled";
689 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100690 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800691
692 i2c@0 {
693 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800694 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
695 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800696 >;
697 i2c-gpio,sda-open-drain;
698 i2c-gpio,scl-open-drain;
699 i2c-gpio,delay-us = <2>; /* ~100 kHz */
700 #address-cells = <1>;
701 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100702 pinctrl-names = "default";
703 pinctrl-0 = <&pinctrl_i2c_gpio0>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800704 status = "disabled";
705 };
706
707 i2c@1 {
708 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800709 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
710 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800711 >;
712 i2c-gpio,sda-open-drain;
713 i2c-gpio,scl-open-drain;
714 i2c-gpio,delay-us = <2>; /* ~100 kHz */
715 #address-cells = <1>;
716 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100717 pinctrl-names = "default";
718 pinctrl-0 = <&pinctrl_i2c_gpio1>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800719 status = "disabled";
720 };
721
722 i2c@2 {
723 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800724 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
725 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800726 >;
727 i2c-gpio,sda-open-drain;
728 i2c-gpio,scl-open-drain;
729 i2c-gpio,delay-us = <2>; /* ~100 kHz */
730 #address-cells = <1>;
731 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100732 pinctrl-names = "default";
733 pinctrl-0 = <&pinctrl_i2c_gpio2>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800734 status = "disabled";
735 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100736};