blob: 67e32067eb25517940d5d81d9e5f8797c6b39a13 [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;
Bo Shenf3ab0522013-12-19 11:59:17 +080038 pwm0 = &pwm0;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010039 };
40 cpus {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010041 #address-cells = <0>;
42 #size-cells = <0>;
43
44 cpu {
45 compatible = "arm,arm926ej-s";
46 device_type = "cpu";
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010047 };
48 };
49
Ludovic Desrochesdcce6ce2012-04-02 20:44:20 +020050 memory {
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010051 reg = <0x20000000 0x10000000>;
52 };
53
54 ahb {
55 compatible = "simple-bus";
56 #address-cells = <1>;
57 #size-cells = <1>;
58 ranges;
59
60 apb {
61 compatible = "simple-bus";
62 #address-cells = <1>;
63 #size-cells = <1>;
64 ranges;
65
66 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020067 #interrupt-cells = <3>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010068 compatible = "atmel,at91rm9200-aic";
69 interrupt-controller;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010070 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080071 atmel,external-irqs = <31>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010072 };
73
Jean-Christophe PLAGNIOL-VILLARDa7776ec2012-03-02 20:54:37 +080074 ramc0: ramc@ffffe800 {
75 compatible = "atmel,at91sam9g45-ddramc";
76 reg = <0xffffe800 0x200>;
77 };
78
Jean-Christophe PLAGNIOL-VILLARDeb5e76f2012-03-02 20:44:23 +080079 pmc: pmc@fffffc00 {
80 compatible = "atmel,at91rm9200-pmc";
81 reg = <0xfffffc00 0x100>;
82 };
83
Jean-Christophe PLAGNIOL-VILLARDc8082d32012-03-03 03:16:27 +080084 rstc@fffffe00 {
85 compatible = "atmel,at91sam9g45-rstc";
86 reg = <0xfffffe00 0x10>;
87 };
88
Jean-Christophe PLAGNIOL-VILLARD82015c42012-03-02 21:01:00 +080089 shdwc@fffffe10 {
90 compatible = "atmel,at91sam9x5-shdwc";
91 reg = <0xfffffe10 0x10>;
92 };
93
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010094 pit: timer@fffffe30 {
95 compatible = "atmel,at91sam9260-pit";
96 reg = <0xfffffe30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080097 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +010098 };
99
100 tcb0: timer@f8008000 {
101 compatible = "atmel,at91sam9x5-tcb";
102 reg = <0xf8008000 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 tcb1: timer@f800c000 {
107 compatible = "atmel,at91sam9x5-tcb";
108 reg = <0xf800c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800109 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100110 };
111
112 dma0: dma-controller@ffffec00 {
113 compatible = "atmel,at91sam9g45-dma";
114 reg = <0xffffec00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800115 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200116 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100117 };
118
119 dma1: dma-controller@ffffee00 {
120 compatible = "atmel,at91sam9g45-dma";
121 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800122 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200123 #dma-cells = <2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100124 };
125
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800126 pinctrl@fffff400 {
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800127 #address-cells = <1>;
128 #size-cells = <1>;
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800129 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800130 ranges = <0xfffff400 0xfffff400 0x800>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100131
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800132 /* shared pinctrl settings */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800133 dbgu {
134 pinctrl_dbgu: dbgu-0 {
135 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800136 <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */
137 AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800138 };
139 };
140
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800141 usart0 {
142 pinctrl_usart0: usart0-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 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA0 periph A with pullup */
145 AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA1 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800146 };
147
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800148 pinctrl_usart0_rts: usart0_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800149 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800150 <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA2 periph A */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800151 };
152
153 pinctrl_usart0_cts: usart0_cts-0 {
154 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800155 <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA3 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800156 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000157
158 pinctrl_usart0_sck: usart0_sck-0 {
159 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800160 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000161 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800162 };
163
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800164 usart1 {
165 pinctrl_usart1: usart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800166 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800167 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA5 periph A with pullup */
168 AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA6 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800169 };
170
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800171 pinctrl_usart1_rts: usart1_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800172 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800173 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC27 periph C */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800174 };
175
176 pinctrl_usart1_cts: usart1_cts-0 {
177 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800178 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800179 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000180
181 pinctrl_usart1_sck: usart1_sck-0 {
182 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800183 <AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC29 periph C */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000184 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800185 };
186
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800187 usart2 {
188 pinctrl_usart2: usart2-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800189 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800190 <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA7 periph A with pullup */
191 AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA8 periph A */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800192 };
193
Jiri Prchaldf923c12013-09-19 14:28:39 +0200194 pinctrl_usart2_rts: usart2_rts-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800195 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800196 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB0 periph B */
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800197 };
198
Jiri Prchaldf923c12013-09-19 14:28:39 +0200199 pinctrl_usart2_cts: usart2_cts-0 {
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +0800200 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800201 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB1 periph B */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800202 };
Richard Genoud1bab02e2013-01-18 16:42:28 +0000203
204 pinctrl_usart2_sck: usart2_sck-0 {
205 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800206 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB2 periph B */
Richard Genoud1bab02e2013-01-18 16:42:28 +0000207 };
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800208 };
209
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800210 uart0 {
211 pinctrl_uart0: uart0-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 8 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC8 periph C */
214 AT91_PIOC 9 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC9 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800215 };
216 };
217
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800218 uart1 {
219 pinctrl_uart1: uart1-0 {
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800220 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800221 <AT91_PIOC 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC16 periph C */
222 AT91_PIOC 17 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>; /* PC17 periph C with pullup */
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800223 };
224 };
Jean-Christophe PLAGNIOL-VILLARD5314ec82012-07-05 16:56:09 +0800225
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800226 nand {
227 pinctrl_nand: nand-0 {
228 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800229 <AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD0 periph A Read Enable */
230 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD1 periph A Write Enable */
231 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD2 periph A Address Latch Enable */
232 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD3 periph A Command Latch Enable */
233 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD4 gpio Chip Enable pin pull_up */
234 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PD5 gpio RDY/BUSY pin pull_up */
235 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD6 periph A Data bit 0 */
236 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD7 periph A Data bit 1 */
237 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD8 periph A Data bit 2 */
238 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A Data bit 3 */
239 AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A Data bit 4 */
240 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A Data bit 5 */
241 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD12 periph A Data bit 6 */
242 AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD13 periph A Data bit 7 */
Richard Genoud7f064722013-03-11 15:12:40 +0100243 };
244
245 pinctrl_nand_16bits: nand_16bits-0 {
246 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800247 <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD14 periph A Data bit 8 */
248 AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A Data bit 9 */
249 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD16 periph A Data bit 10 */
250 AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A Data bit 11 */
251 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD18 periph A Data bit 12 */
252 AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD19 periph A Data bit 13 */
253 AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD20 periph A Data bit 14 */
254 AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A Data bit 15 */
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800255 };
256 };
257
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800258 mmc0 {
259 pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
260 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800261 <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA17 periph A */
262 AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA16 periph A with pullup */
263 AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA15 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800264 };
265
266 pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
267 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800268 <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA18 periph A with pullup */
269 AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PA19 periph A with pullup */
270 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA20 periph A with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800271 };
272 };
273
274 mmc1 {
275 pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
276 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800277 <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA13 periph B */
278 AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA12 periph B with pullup */
279 AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA11 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800280 };
281
282 pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
283 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800284 <AT91_PIOA 2 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA2 periph B with pullup */
285 AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PA3 periph B with pullup */
286 AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA4 periph B with pullup */
Jean-Christophe PLAGNIOL-VILLARDd4fe9ac2012-11-16 08:24:17 +0800287 };
288 };
289
Bo Shen544ae6b2013-01-11 15:08:30 +0100290 ssc0 {
291 pinctrl_ssc0_tx: ssc0_tx-0 {
292 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800293 <AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA24 periph B */
294 AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA25 periph B */
295 AT91_PIOA 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA26 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100296 };
297
298 pinctrl_ssc0_rx: ssc0_rx-0 {
299 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800300 <AT91_PIOA 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA27 periph B */
301 AT91_PIOA 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA28 periph B */
302 AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA29 periph B */
Bo Shen544ae6b2013-01-11 15:08:30 +0100303 };
304 };
305
Wenyou Yanga68b7282013-04-03 14:03:52 +0800306 spi0 {
307 pinctrl_spi0: spi0-0 {
308 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800309 <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA11 periph A SPI0_MISO pin */
310 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA12 periph A SPI0_MOSI pin */
311 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA13 periph A SPI0_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800312 };
313 };
314
315 spi1 {
316 pinctrl_spi1: spi1-0 {
317 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800318 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA21 periph B SPI1_MISO pin */
319 AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
320 AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA23 periph B SPI1_SPCK pin */
Wenyou Yanga68b7282013-04-03 14:03:52 +0800321 };
322 };
323
Richard Genoude9a72ee2013-03-12 17:54:45 +0100324 i2c0 {
325 pinctrl_i2c0: i2c0-0 {
326 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800327 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A I2C0 data */
328 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A I2C0 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100329 };
330 };
331
332 i2c1 {
333 pinctrl_i2c1: i2c1-0 {
334 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800335 <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC0 periph C I2C1 data */
336 AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC1 periph C I2C1 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100337 };
338 };
339
340 i2c2 {
341 pinctrl_i2c2: i2c2-0 {
342 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800343 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB4 periph B I2C2 data */
344 AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB5 periph B I2C2 clock */
Richard Genoude9a72ee2013-03-12 17:54:45 +0100345 };
346 };
347
Richard Genoud463c9c72013-03-12 17:54:46 +0100348 i2c_gpio0 {
349 pinctrl_i2c_gpio0: i2c_gpio0-0 {
350 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800351 <AT91_PIOA 30 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PA30 gpio multidrive I2C0 data */
352 AT91_PIOA 31 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PA31 gpio multidrive I2C0 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100353 };
354 };
355
356 i2c_gpio1 {
357 pinctrl_i2c_gpio1: i2c_gpio1-0 {
358 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800359 <AT91_PIOC 0 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PC0 gpio multidrive I2C1 data */
360 AT91_PIOC 1 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PC1 gpio multidrive I2C1 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100361 };
362 };
363
364 i2c_gpio2 {
365 pinctrl_i2c_gpio2: i2c_gpio2-0 {
366 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800367 <AT91_PIOB 4 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE /* PB4 gpio multidrive I2C2 data */
368 AT91_PIOB 5 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB5 gpio multidrive I2C2 clock */
Richard Genoud463c9c72013-03-12 17:54:46 +0100369 };
370 };
371
Boris BREZILLON028633c2013-05-24 10:05:56 +0000372 tcb0 {
373 pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
374 atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
375 };
376
377 pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
378 atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
379 };
380
381 pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
382 atmel,pins = <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>;
383 };
384
385 pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
386 atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
387 };
388
389 pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
390 atmel,pins = <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
391 };
392
393 pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
394 atmel,pins = <AT91_PIOA 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
395 };
396
397 pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
398 atmel,pins = <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
399 };
400
401 pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
402 atmel,pins = <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>;
403 };
404
405 pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
406 atmel,pins = <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
407 };
408 };
409
410 tcb1 {
411 pinctrl_tcb1_tclk0: tcb1_tclk0-0 {
412 atmel,pins = <AT91_PIOC 4 AT91_PERIPH_C AT91_PINCTRL_NONE>;
413 };
414
415 pinctrl_tcb1_tclk1: tcb1_tclk1-0 {
416 atmel,pins = <AT91_PIOC 7 AT91_PERIPH_C AT91_PINCTRL_NONE>;
417 };
418
419 pinctrl_tcb1_tclk2: tcb1_tclk2-0 {
420 atmel,pins = <AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
421 };
422
423 pinctrl_tcb1_tioa0: tcb1_tioa0-0 {
424 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
425 };
426
427 pinctrl_tcb1_tioa1: tcb1_tioa1-0 {
428 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_C AT91_PINCTRL_NONE>;
429 };
430
431 pinctrl_tcb1_tioa2: tcb1_tioa2-0 {
432 atmel,pins = <AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
433 };
434
435 pinctrl_tcb1_tiob0: tcb1_tiob0-0 {
436 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
437 };
438
439 pinctrl_tcb1_tiob1: tcb1_tiob1-0 {
440 atmel,pins = <AT91_PIOC 6 AT91_PERIPH_C AT91_PINCTRL_NONE>;
441 };
442
443 pinctrl_tcb1_tiob2: tcb1_tiob2-0 {
444 atmel,pins = <AT91_PIOC 13 AT91_PERIPH_C AT91_PINCTRL_NONE>;
445 };
446 };
447
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800448 pioA: gpio@fffff400 {
449 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
450 reg = <0xfffff400 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800451 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800452 #gpio-cells = <2>;
453 gpio-controller;
454 interrupt-controller;
455 #interrupt-cells = <2>;
456 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100457
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800458 pioB: gpio@fffff600 {
459 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
460 reg = <0xfffff600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800461 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800462 #gpio-cells = <2>;
463 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800464 #gpio-lines = <19>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800465 interrupt-controller;
466 #interrupt-cells = <2>;
467 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100468
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800469 pioC: gpio@fffff800 {
470 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
471 reg = <0xfffff800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800472 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800473 #gpio-cells = <2>;
474 gpio-controller;
475 interrupt-controller;
476 #interrupt-cells = <2>;
477 };
478
479 pioD: gpio@fffffa00 {
480 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
481 reg = <0xfffffa00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800482 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800483 #gpio-cells = <2>;
484 gpio-controller;
Jean-Christophe PLAGNIOL-VILLARDfc33ff42012-07-14 15:26:08 +0800485 #gpio-lines = <22>;
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800486 interrupt-controller;
487 #interrupt-cells = <2>;
488 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100489 };
490
Bo Shen544ae6b2013-01-11 15:08:30 +0100491 ssc0: ssc@f0010000 {
492 compatible = "atmel,at91sam9g45-ssc";
493 reg = <0xf0010000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800494 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
Richard Genoud7da49ad2013-08-12 14:30:59 +0200495 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
496 <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
497 dma-names = "tx", "rx";
Bo Shen544ae6b2013-01-11 15:08:30 +0100498 pinctrl-names = "default";
499 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
500 status = "disabled";
501 };
502
Ludovic Desroches98731372012-11-19 12:23:36 +0100503 mmc0: mmc@f0008000 {
504 compatible = "atmel,hsmci";
505 reg = <0xf0008000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800506 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200507 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200508 dma-names = "rxtx";
Nicolas Ferree7cca252013-09-19 15:22:57 +0200509 pinctrl-names = "default";
Ludovic Desroches98731372012-11-19 12:23:36 +0100510 #address-cells = <1>;
511 #size-cells = <0>;
512 status = "disabled";
513 };
514
515 mmc1: mmc@f000c000 {
516 compatible = "atmel,hsmci";
517 reg = <0xf000c000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800518 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200519 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200520 dma-names = "rxtx";
Nicolas Ferree7cca252013-09-19 15:22:57 +0200521 pinctrl-names = "default";
Ludovic Desroches98731372012-11-19 12:23:36 +0100522 #address-cells = <1>;
523 #size-cells = <0>;
524 status = "disabled";
525 };
526
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100527 dbgu: serial@fffff200 {
528 compatible = "atmel,at91sam9260-usart";
529 reg = <0xfffff200 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800530 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800531 pinctrl-names = "default";
532 pinctrl-0 = <&pinctrl_dbgu>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100533 status = "disabled";
534 };
535
536 usart0: serial@f801c000 {
537 compatible = "atmel,at91sam9260-usart";
538 reg = <0xf801c000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800539 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800540 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800541 pinctrl-0 = <&pinctrl_usart0>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100542 status = "disabled";
543 };
544
545 usart1: serial@f8020000 {
546 compatible = "atmel,at91sam9260-usart";
547 reg = <0xf8020000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800548 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800549 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800550 pinctrl-0 = <&pinctrl_usart1>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100551 status = "disabled";
552 };
553
554 usart2: serial@f8024000 {
555 compatible = "atmel,at91sam9260-usart";
556 reg = <0xf8024000 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800557 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
Jean-Christophe PLAGNIOL-VILLARDec6754a2012-07-05 16:56:09 +0800558 pinctrl-names = "default";
Jean-Christophe PLAGNIOL-VILLARD9e3129e2012-11-19 06:40:01 +0800559 pinctrl-0 = <&pinctrl_usart2>;
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100560 status = "disabled";
561 };
562
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200563 i2c0: i2c@f8010000 {
564 compatible = "atmel,at91sam9x5-i2c";
565 reg = <0xf8010000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800566 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200567 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>,
568 <&dma0 1 AT91_DMA_CFG_PER_ID(8)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200569 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200570 #address-cells = <1>;
571 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100572 pinctrl-names = "default";
573 pinctrl-0 = <&pinctrl_i2c0>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200574 status = "disabled";
575 };
576
577 i2c1: i2c@f8014000 {
578 compatible = "atmel,at91sam9x5-i2c";
579 reg = <0xf8014000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800580 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200581 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(5)>,
582 <&dma1 1 AT91_DMA_CFG_PER_ID(6)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200583 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200584 #address-cells = <1>;
585 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100586 pinctrl-names = "default";
587 pinctrl-0 = <&pinctrl_i2c1>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200588 status = "disabled";
589 };
590
591 i2c2: i2c@f8018000 {
592 compatible = "atmel,at91sam9x5-i2c";
593 reg = <0xf8018000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800594 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200595 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(9)>,
596 <&dma0 1 AT91_DMA_CFG_PER_ID(10)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200597 dma-names = "tx", "rx";
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200598 #address-cells = <1>;
599 #size-cells = <0>;
Richard Genoude9a72ee2013-03-12 17:54:45 +0100600 pinctrl-names = "default";
601 pinctrl-0 = <&pinctrl_i2c2>;
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200602 status = "disabled";
603 };
604
Nicolas Ferre06723db2013-04-18 10:52:45 +0200605 uart0: serial@f8040000 {
606 compatible = "atmel,at91sam9260-usart";
607 reg = <0xf8040000 0x200>;
608 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
609 pinctrl-names = "default";
610 pinctrl-0 = <&pinctrl_uart0>;
611 status = "disabled";
612 };
613
614 uart1: serial@f8044000 {
615 compatible = "atmel,at91sam9260-usart";
616 reg = <0xf8044000 0x200>;
617 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
618 pinctrl-names = "default";
619 pinctrl-0 = <&pinctrl_uart1>;
620 status = "disabled";
621 };
622
Maxime Ripardd029f372012-05-11 15:35:39 +0200623 adc0: adc@f804c000 {
624 compatible = "atmel,at91sam9260-adc";
625 reg = <0xf804c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800626 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
Maxime Ripardd029f372012-05-11 15:35:39 +0200627 atmel,adc-use-external;
628 atmel,adc-channels-used = <0xffff>;
629 atmel,adc-vref = <3300>;
630 atmel,adc-num-channels = <12>;
631 atmel,adc-startup-time = <40>;
632 atmel,adc-channel-base = <0x50>;
633 atmel,adc-drdy-mask = <0x1000000>;
634 atmel,adc-status-register = <0x30>;
635 atmel,adc-trigger-register = <0xc0>;
Ludovic Desroches4b50da62013-03-29 10:13:19 +0100636 atmel,adc-res = <8 10>;
637 atmel,adc-res-names = "lowres", "highres";
638 atmel,adc-use-res = "highres";
Maxime Ripardd029f372012-05-11 15:35:39 +0200639
640 trigger@0 {
641 trigger-name = "external-rising";
642 trigger-value = <0x1>;
643 trigger-external;
644 };
645
646 trigger@1 {
647 trigger-name = "external-falling";
648 trigger-value = <0x2>;
649 trigger-external;
650 };
651
652 trigger@2 {
653 trigger-name = "external-any";
654 trigger-value = <0x3>;
655 trigger-external;
656 };
657
658 trigger@3 {
659 trigger-name = "continuous";
660 trigger-value = <0x6>;
661 };
662 };
Richard Genoudd50f88a2013-04-03 14:02:18 +0800663
664 spi0: spi@f0000000 {
665 #address-cells = <1>;
666 #size-cells = <0>;
667 compatible = "atmel,at91rm9200-spi";
668 reg = <0xf0000000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800669 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
Richard Genoud6b2a9992013-05-31 17:02:00 +0200670 dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(1)>,
671 <&dma0 1 AT91_DMA_CFG_PER_ID(2)>;
672 dma-names = "tx", "rx";
Wenyou Yanga68b7282013-04-03 14:03:52 +0800673 pinctrl-names = "default";
674 pinctrl-0 = <&pinctrl_spi0>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800675 status = "disabled";
676 };
677
678 spi1: spi@f0004000 {
679 #address-cells = <1>;
680 #size-cells = <0>;
681 compatible = "atmel,at91rm9200-spi";
682 reg = <0xf0004000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800683 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
Richard Genoud6b2a9992013-05-31 17:02:00 +0200684 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(1)>,
685 <&dma1 1 AT91_DMA_CFG_PER_ID(2)>;
686 dma-names = "tx", "rx";
Wenyou Yanga68b7282013-04-03 14:03:52 +0800687 pinctrl-names = "default";
688 pinctrl-0 = <&pinctrl_spi1>;
Richard Genoudd50f88a2013-04-03 14:02:18 +0800689 status = "disabled";
690 };
Linus Torvaldsdfab34a2013-05-02 09:28:03 -0700691
Jean-Christophe PLAGNIOL-VILLARDaecca652013-05-03 20:49:51 +0800692 usb2: gadget@f803c000 {
693 #address-cells = <1>;
694 #size-cells = <0>;
695 compatible = "atmel,at91sam9rl-udc";
696 reg = <0x00500000 0x80000
697 0xf803c000 0x400>;
698 interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
699 status = "disabled";
700
701 ep0 {
702 reg = <0>;
703 atmel,fifo-size = <64>;
704 atmel,nb-banks = <1>;
705 };
706
707 ep1 {
708 reg = <1>;
709 atmel,fifo-size = <1024>;
710 atmel,nb-banks = <2>;
711 atmel,can-dma;
712 atmel,can-isoc;
713 };
714
715 ep2 {
716 reg = <2>;
717 atmel,fifo-size = <1024>;
718 atmel,nb-banks = <2>;
719 atmel,can-dma;
720 atmel,can-isoc;
721 };
722
723 ep3 {
724 reg = <3>;
725 atmel,fifo-size = <1024>;
726 atmel,nb-banks = <3>;
727 atmel,can-dma;
728 };
729
730 ep4 {
731 reg = <4>;
732 atmel,fifo-size = <1024>;
733 atmel,nb-banks = <3>;
734 atmel,can-dma;
735 };
736
737 ep5 {
738 reg = <5>;
739 atmel,fifo-size = <1024>;
740 atmel,nb-banks = <3>;
741 atmel,can-dma;
742 atmel,can-isoc;
743 };
744
745 ep6 {
746 reg = <6>;
747 atmel,fifo-size = <1024>;
748 atmel,nb-banks = <3>;
749 atmel,can-dma;
750 atmel,can-isoc;
751 };
752 };
753
Wenyou Yang136d3552013-05-31 11:10:02 +0800754 watchdog@fffffe40 {
755 compatible = "atmel,at91sam9260-wdt";
756 reg = <0xfffffe40 0x10>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +0200757 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
758 atmel,watchdog-type = "hardware";
759 atmel,reset-type = "all";
760 atmel,dbg-halt;
761 atmel,idle-halt;
Wenyou Yang136d3552013-05-31 11:10:02 +0800762 status = "disabled";
763 };
764
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100765 rtc@fffffeb0 {
Nicolas Ferre23fb05c2013-04-18 10:13:21 +0200766 compatible = "atmel,at91sam9x5-rtc";
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100767 reg = <0xfffffeb0 0x40>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800768 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Nicolas Ferreb909c6c2013-03-22 10:16:56 +0100769 status = "disabled";
770 };
Bo Shenf3ab0522013-12-19 11:59:17 +0800771
772 pwm0: pwm@f8034000 {
773 compatible = "atmel,at91sam9rl-pwm";
774 reg = <0xf8034000 0x300>;
775 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
776 #pwm-cells = <3>;
777 status = "disabled";
778 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100779 };
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800780
781 nand0: nand@40000000 {
782 compatible = "atmel,at91rm9200-nand";
783 #address-cells = <1>;
784 #size-cells = <1>;
785 reg = <0x40000000 0x10000000
Josh Wu5314bc22013-01-23 20:47:09 +0800786 0xffffe000 0x600 /* PMECC Registers */
787 0xffffe600 0x200 /* PMECC Error Location Registers */
788 0x00108000 0x18000 /* PMECC looup table in ROM code */
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800789 >;
Josh Wu5314bc22013-01-23 20:47:09 +0800790 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800791 atmel,nand-addr-offset = <21>;
792 atmel,nand-cmd-offset = <22>;
Nicolas Ferree8b2da62013-07-01 17:05:18 +0200793 atmel,nand-has-dma;
Jean-Christophe PLAGNIOL-VILLARD7a38d452012-07-12 23:36:52 +0800794 pinctrl-names = "default";
795 pinctrl-0 = <&pinctrl_nand>;
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800796 gpios = <&pioD 5 GPIO_ACTIVE_HIGH
797 &pioD 4 GPIO_ACTIVE_HIGH
Jean-Christophe PLAGNIOL-VILLARD86a89f42012-02-21 21:38:18 +0800798 0
799 >;
800 status = "disabled";
801 };
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800802
803 usb0: ohci@00600000 {
804 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
805 reg = <0x00600000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800806 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD6a062452011-11-21 06:55:18 +0800807 status = "disabled";
808 };
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800809
810 usb1: ehci@00700000 {
811 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
812 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800813 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
Jean-Christophe PLAGNIOL-VILLARD62c55532011-11-22 12:11:13 +0800814 status = "disabled";
815 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100816 };
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800817
818 i2c@0 {
819 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800820 gpios = <&pioA 30 GPIO_ACTIVE_HIGH /* sda */
821 &pioA 31 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800822 >;
823 i2c-gpio,sda-open-drain;
824 i2c-gpio,scl-open-drain;
825 i2c-gpio,delay-us = <2>; /* ~100 kHz */
826 #address-cells = <1>;
827 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100828 pinctrl-names = "default";
829 pinctrl-0 = <&pinctrl_i2c_gpio0>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800830 status = "disabled";
831 };
832
833 i2c@1 {
834 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800835 gpios = <&pioC 0 GPIO_ACTIVE_HIGH /* sda */
836 &pioC 1 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800837 >;
838 i2c-gpio,sda-open-drain;
839 i2c-gpio,scl-open-drain;
840 i2c-gpio,delay-us = <2>; /* ~100 kHz */
841 #address-cells = <1>;
842 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100843 pinctrl-names = "default";
844 pinctrl-0 = <&pinctrl_i2c_gpio1>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800845 status = "disabled";
846 };
847
848 i2c@2 {
849 compatible = "i2c-gpio";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800850 gpios = <&pioB 4 GPIO_ACTIVE_HIGH /* sda */
851 &pioB 5 GPIO_ACTIVE_HIGH /* scl */
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800852 >;
853 i2c-gpio,sda-open-drain;
854 i2c-gpio,scl-open-drain;
855 i2c-gpio,delay-us = <2>; /* ~100 kHz */
856 #address-cells = <1>;
857 #size-cells = <0>;
Richard Genoud463c9c72013-03-12 17:54:46 +0100858 pinctrl-names = "default";
859 pinctrl-0 = <&pinctrl_i2c_gpio2>;
Jean-Christophe PLAGNIOL-VILLARD10f71c22012-02-23 22:50:32 +0800860 status = "disabled";
861 };
Nicolas Ferre467f1cf2012-01-26 11:59:20 +0100862};