blob: e08da17e189012682531070fa3a25c1733374a29 [file] [log] [blame]
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001/*
2 * sama5d3.dtsi - Device Tree Include file for SAMA5D3 family SoC
Josh Wub32313c2013-11-06 18:01:12 +08003 * applies to SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36 SoC
Ludovic Desroches655ff2662013-03-22 13:24:13 +00004 *
5 * Copyright (C) 2013 Atmel,
6 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
7 *
8 * Licensed under GPLv2 or later.
9 */
10
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +080011#include "skeleton.dtsi"
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +020012#include <dt-bindings/dma/at91.h>
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>
Boris BREZILLONd2e81902013-10-18 23:48:27 +020016#include <dt-bindings/clk/at91.h>
Ludovic Desroches655ff2662013-03-22 13:24:13 +000017
18/ {
19 model = "Atmel SAMA5D3 family SoC";
20 compatible = "atmel,sama5d3", "atmel,sama5";
21 interrupt-parent = <&aic>;
22
23 aliases {
24 serial0 = &dbgu;
25 serial1 = &usart0;
26 serial2 = &usart1;
27 serial3 = &usart2;
28 serial4 = &usart3;
29 gpio0 = &pioA;
30 gpio1 = &pioB;
31 gpio2 = &pioC;
32 gpio3 = &pioD;
33 gpio4 = &pioE;
34 tcb0 = &tcb0;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000035 i2c0 = &i2c0;
36 i2c1 = &i2c1;
37 i2c2 = &i2c2;
38 ssc0 = &ssc0;
39 ssc1 = &ssc1;
Bo Shenf3ab0522013-12-19 11:59:17 +080040 pwm0 = &pwm0;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000041 };
42 cpus {
Arnd Bergmann8b2efa892013-06-10 16:48:36 +020043 #address-cells = <1>;
44 #size-cells = <0>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000045 cpu@0 {
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010046 device_type = "cpu";
Ludovic Desroches655ff2662013-03-22 13:24:13 +000047 compatible = "arm,cortex-a5";
Lorenzo Pieralisie757a6e2013-04-18 18:31:35 +010048 reg = <0x0>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +000049 };
50 };
51
Alexandre Bellonid9da9772013-08-05 17:26:06 +020052 pmu {
53 compatible = "arm,cortex-a5-pmu";
54 interrupts = <46 IRQ_TYPE_LEVEL_HIGH 0>;
55 };
56
Ludovic Desroches655ff2662013-03-22 13:24:13 +000057 memory {
58 reg = <0x20000000 0x8000000>;
59 };
60
Boris BREZILLONd2e81902013-10-18 23:48:27 +020061 clocks {
62 adc_op_clk: adc_op_clk{
63 compatible = "fixed-clock";
64 #clock-cells = <0>;
65 clock-frequency = <20000000>;
66 };
67 };
68
Ludovic Desroches655ff2662013-03-22 13:24:13 +000069 ahb {
70 compatible = "simple-bus";
71 #address-cells = <1>;
72 #size-cells = <1>;
73 ranges;
74
75 apb {
76 compatible = "simple-bus";
77 #address-cells = <1>;
78 #size-cells = <1>;
79 ranges;
80
81 mmc0: mmc@f0000000 {
82 compatible = "atmel,hsmci";
83 reg = <0xf0000000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +080084 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +020085 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +020086 dma-names = "rxtx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +000087 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7>;
89 status = "disabled";
90 #address-cells = <1>;
91 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +020092 clocks = <&mci0_clk>;
93 clock-names = "mci_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +000094 };
95
96 spi0: spi@f0004000 {
97 #address-cells = <1>;
98 #size-cells = <0>;
Nicolas Ferreb7ef6782013-06-24 12:04:55 +020099 compatible = "atmel,at91rm9200-spi";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000100 reg = <0xf0004000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800101 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
Nicolas Ferree543a732013-06-24 12:16:05 +0200102 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(1)>,
103 <&dma0 2 AT91_DMA_CFG_PER_ID(2)>;
104 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000105 pinctrl-names = "default";
106 pinctrl-0 = <&pinctrl_spi0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200107 clocks = <&spi0_clk>;
108 clock-names = "spi_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000109 status = "disabled";
110 };
111
112 ssc0: ssc@f0008000 {
113 compatible = "atmel,at91sam9g45-ssc";
114 reg = <0xf0008000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800115 interrupts = <38 IRQ_TYPE_LEVEL_HIGH 4>;
Bo Shen58962b72014-03-17 17:45:34 +0800116 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(13)>,
117 <&dma0 2 AT91_DMA_CFG_PER_ID(14)>;
118 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000119 pinctrl-names = "default";
120 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200121 clocks = <&ssc0_clk>;
122 clock-names = "pclk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000123 status = "disabled";
124 };
125
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000126 tcb0: timer@f0010000 {
127 compatible = "atmel,at91sam9x5-tcb";
128 reg = <0xf0010000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800129 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200130 clocks = <&tcb0_clk>;
131 clock-names = "t0_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000132 };
133
134 i2c0: i2c@f0014000 {
135 compatible = "atmel,at91sam9x5-i2c";
136 reg = <0xf0014000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800137 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200138 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(7)>,
139 <&dma0 2 AT91_DMA_CFG_PER_ID(8)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200140 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_i2c0>;
143 #address-cells = <1>;
144 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200145 clocks = <&twi0_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000146 status = "disabled";
147 };
148
149 i2c1: i2c@f0018000 {
150 compatible = "atmel,at91sam9x5-i2c";
151 reg = <0xf0018000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800152 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200153 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(9)>,
154 <&dma0 2 AT91_DMA_CFG_PER_ID(10)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200155 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_i2c1>;
158 #address-cells = <1>;
159 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200160 clocks = <&twi1_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000161 status = "disabled";
162 };
163
164 usart0: serial@f001c000 {
165 compatible = "atmel,at91sam9260-usart";
166 reg = <0xf001c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800167 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_usart0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200170 clocks = <&usart0_clk>;
171 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000172 status = "disabled";
173 };
174
175 usart1: serial@f0020000 {
176 compatible = "atmel,at91sam9260-usart";
177 reg = <0xf0020000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800178 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_usart1>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200181 clocks = <&usart1_clk>;
182 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000183 status = "disabled";
184 };
185
Bo Shenf3ab0522013-12-19 11:59:17 +0800186 pwm0: pwm@f002c000 {
187 compatible = "atmel,sama5d3-pwm";
188 reg = <0xf002c000 0x300>;
189 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 4>;
190 #pwm-cells = <3>;
191 clocks = <&pwm_clk>;
192 status = "disabled";
193 };
194
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000195 isi: isi@f0034000 {
196 compatible = "atmel,at91sam9g45-isi";
197 reg = <0xf0034000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800198 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000199 status = "disabled";
200 };
201
202 mmc1: mmc@f8000000 {
203 compatible = "atmel,hsmci";
204 reg = <0xf8000000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800205 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200206 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200207 dma-names = "rxtx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000208 pinctrl-names = "default";
209 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
210 status = "disabled";
211 #address-cells = <1>;
212 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200213 clocks = <&mci1_clk>;
214 clock-names = "mci_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000215 };
216
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000217 spi1: spi@f8008000 {
218 #address-cells = <1>;
219 #size-cells = <0>;
Nicolas Ferreb7ef6782013-06-24 12:04:55 +0200220 compatible = "atmel,at91rm9200-spi";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000221 reg = <0xf8008000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800222 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
Nicolas Ferree543a732013-06-24 12:16:05 +0200223 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>,
224 <&dma1 2 AT91_DMA_CFG_PER_ID(16)>;
225 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000226 pinctrl-names = "default";
227 pinctrl-0 = <&pinctrl_spi1>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200228 clocks = <&spi1_clk>;
229 clock-names = "spi_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000230 status = "disabled";
231 };
232
233 ssc1: ssc@f800c000 {
234 compatible = "atmel,at91sam9g45-ssc";
235 reg = <0xf800c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800236 interrupts = <39 IRQ_TYPE_LEVEL_HIGH 4>;
Bo Shen58962b72014-03-17 17:45:34 +0800237 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(3)>,
238 <&dma1 2 AT91_DMA_CFG_PER_ID(4)>;
239 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200242 clocks = <&ssc1_clk>;
243 clock-names = "pclk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000244 status = "disabled";
245 };
246
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000247 adc0: adc@f8018000 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100248 #address-cells = <1>;
249 #size-cells = <0>;
Ludovic Desroches9879b962014-02-26 17:29:50 +0100250 compatible = "atmel,at91sam9x5-adc";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000251 reg = <0xf8018000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800252 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000253 pinctrl-names = "default";
254 pinctrl-0 = <
255 &pinctrl_adc0_adtrg
256 &pinctrl_adc0_ad0
257 &pinctrl_adc0_ad1
258 &pinctrl_adc0_ad2
259 &pinctrl_adc0_ad3
260 &pinctrl_adc0_ad4
261 &pinctrl_adc0_ad5
262 &pinctrl_adc0_ad6
263 &pinctrl_adc0_ad7
264 &pinctrl_adc0_ad8
265 &pinctrl_adc0_ad9
266 &pinctrl_adc0_ad10
267 &pinctrl_adc0_ad11
268 >;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200269 clocks = <&adc_clk>,
270 <&adc_op_clk>;
271 clock-names = "adc_clk", "adc_op_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000272 atmel,adc-channels-used = <0xfff>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000273 atmel,adc-startup-time = <40>;
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100274 atmel,adc-use-external-triggers;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000275 atmel,adc-vref = <3000>;
276 atmel,adc-res = <10 12>;
277 atmel,adc-res-names = "lowres", "highres";
278 status = "disabled";
279
280 trigger@0 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100281 reg = <0>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000282 trigger-name = "external-rising";
283 trigger-value = <0x1>;
284 trigger-external;
285 };
286 trigger@1 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100287 reg = <1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000288 trigger-name = "external-falling";
289 trigger-value = <0x2>;
290 trigger-external;
291 };
292 trigger@2 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100293 reg = <2>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000294 trigger-name = "external-any";
295 trigger-value = <0x3>;
296 trigger-external;
297 };
298 trigger@3 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100299 reg = <3>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000300 trigger-name = "continuous";
301 trigger-value = <0x6>;
302 };
303 };
304
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000305 i2c2: i2c@f801c000 {
306 compatible = "atmel,at91sam9x5-i2c";
307 reg = <0xf801c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800308 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200309 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>,
310 <&dma1 2 AT91_DMA_CFG_PER_ID(12)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200311 dma-names = "tx", "rx";
Nicolas Ferre557844e2013-12-02 17:18:48 +0100312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_i2c2>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000314 #address-cells = <1>;
315 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200316 clocks = <&twi2_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000317 status = "disabled";
318 };
319
320 usart2: serial@f8020000 {
321 compatible = "atmel,at91sam9260-usart";
322 reg = <0xf8020000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800323 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000324 pinctrl-names = "default";
325 pinctrl-0 = <&pinctrl_usart2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200326 clocks = <&usart2_clk>;
327 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000328 status = "disabled";
329 };
330
331 usart3: serial@f8024000 {
332 compatible = "atmel,at91sam9260-usart";
333 reg = <0xf8024000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800334 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000335 pinctrl-names = "default";
336 pinctrl-0 = <&pinctrl_usart3>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200337 clocks = <&usart3_clk>;
338 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000339 status = "disabled";
340 };
341
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000342 sha@f8034000 {
Nicolas Ferrec76f2662013-10-11 16:57:57 +0200343 compatible = "atmel,at91sam9g46-sha";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000344 reg = <0xf8034000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800345 interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre9860c512013-10-11 16:59:46 +0200346 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(17)>;
347 dma-names = "tx";
Boris BREZILLON4df4f442013-12-19 16:11:13 +0100348 clocks = <&sha_clk>;
349 clock-names = "sha_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000350 };
351
352 aes@f8038000 {
Nicolas Ferrec76f2662013-10-11 16:57:57 +0200353 compatible = "atmel,at91sam9g46-aes";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000354 reg = <0xf8038000 0x100>;
Nicolas Ferre07f7d502013-10-11 14:45:44 +0200355 interrupts = <43 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre9860c512013-10-11 16:59:46 +0200356 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(18)>,
357 <&dma1 2 AT91_DMA_CFG_PER_ID(19)>;
358 dma-names = "tx", "rx";
Boris BREZILLONf68cd352013-12-19 16:11:14 +0100359 clocks = <&aes_clk>;
360 clock-names = "aes_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000361 };
362
363 tdes@f803c000 {
Nicolas Ferrec76f2662013-10-11 16:57:57 +0200364 compatible = "atmel,at91sam9g46-tdes";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000365 reg = <0xf803c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800366 interrupts = <44 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre9860c512013-10-11 16:59:46 +0200367 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(20)>,
368 <&dma1 2 AT91_DMA_CFG_PER_ID(21)>;
369 dma-names = "tx", "rx";
Boris BREZILLON45e5c2c2013-12-19 16:11:15 +0100370 clocks = <&tdes_clk>;
371 clock-names = "tdes_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000372 };
373
374 dma0: dma-controller@ffffe600 {
375 compatible = "atmel,at91sam9g45-dma";
376 reg = <0xffffe600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800377 interrupts = <30 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200378 #dma-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200379 clocks = <&dma0_clk>;
380 clock-names = "dma_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000381 };
382
383 dma1: dma-controller@ffffe800 {
384 compatible = "atmel,at91sam9g45-dma";
385 reg = <0xffffe800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800386 interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200387 #dma-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200388 clocks = <&dma1_clk>;
389 clock-names = "dma_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000390 };
391
392 ramc0: ramc@ffffea00 {
393 compatible = "atmel,at91sam9g45-ddramc";
394 reg = <0xffffea00 0x200>;
395 };
396
397 dbgu: serial@ffffee00 {
398 compatible = "atmel,at91sam9260-usart";
399 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800400 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 7>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000401 pinctrl-names = "default";
402 pinctrl-0 = <&pinctrl_dbgu>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200403 clocks = <&dbgu_clk>;
404 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000405 status = "disabled";
406 };
407
408 aic: interrupt-controller@fffff000 {
409 #interrupt-cells = <3>;
410 compatible = "atmel,sama5d3-aic";
411 interrupt-controller;
412 reg = <0xfffff000 0x200>;
413 atmel,external-irqs = <47>;
414 };
415
416 pinctrl@fffff200 {
417 #address-cells = <1>;
418 #size-cells = <1>;
419 compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
420 ranges = <0xfffff200 0xfffff200 0xa00>;
421 atmel,mux-mask = <
422 /* A B C */
423 0xffffffff 0xc0fc0000 0xc0ff0000 /* pioA */
424 0xffffffff 0x0ff8ffff 0x00000000 /* pioB */
425 0xffffffff 0xbc00f1ff 0x7c00fc00 /* pioC */
426 0xffffffff 0xc001c0e0 0x0001c1e0 /* pioD */
427 0xffffffff 0xbf9f8000 0x18000000 /* pioE */
428 >;
429
430 /* shared pinctrl settings */
431 adc0 {
432 pinctrl_adc0_adtrg: adc0_adtrg {
433 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800434 <AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD19 periph A ADTRG */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000435 };
436 pinctrl_adc0_ad0: adc0_ad0 {
437 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800438 <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD20 periph A AD0 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000439 };
440 pinctrl_adc0_ad1: adc0_ad1 {
441 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800442 <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A AD1 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000443 };
444 pinctrl_adc0_ad2: adc0_ad2 {
445 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800446 <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD22 periph A AD2 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000447 };
448 pinctrl_adc0_ad3: adc0_ad3 {
449 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800450 <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD23 periph A AD3 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000451 };
452 pinctrl_adc0_ad4: adc0_ad4 {
453 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800454 <AT91_PIOD 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD24 periph A AD4 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000455 };
456 pinctrl_adc0_ad5: adc0_ad5 {
457 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800458 <AT91_PIOD 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD25 periph A AD5 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000459 };
460 pinctrl_adc0_ad6: adc0_ad6 {
461 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800462 <AT91_PIOD 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD26 periph A AD6 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000463 };
464 pinctrl_adc0_ad7: adc0_ad7 {
465 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800466 <AT91_PIOD 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD27 periph A AD7 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000467 };
468 pinctrl_adc0_ad8: adc0_ad8 {
469 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800470 <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD28 periph A AD8 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000471 };
472 pinctrl_adc0_ad9: adc0_ad9 {
473 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800474 <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD29 periph A AD9 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000475 };
476 pinctrl_adc0_ad10: adc0_ad10 {
477 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800478 <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD30 periph A AD10, conflicts with PCK0 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000479 };
480 pinctrl_adc0_ad11: adc0_ad11 {
481 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800482 <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD31 periph A AD11, conflicts with PCK1 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000483 };
484 };
485
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000486 dbgu {
487 pinctrl_dbgu: dbgu-0 {
488 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800489 <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB30 periph A */
490 AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB31 periph A with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000491 };
492 };
493
494 i2c0 {
495 pinctrl_i2c0: i2c0-0 {
496 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800497 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A TWD0 pin, conflicts with URXD1, ISI_VSYNC */
498 AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA31 periph A TWCK0 pin, conflicts with UTXD1, ISI_HSYNC */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000499 };
500 };
501
502 i2c1 {
503 pinctrl_i2c1: i2c1-0 {
504 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800505 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC26 periph B TWD1 pin, conflicts with SPI1_NPCS1, ISI_D11 */
506 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC27 periph B TWCK1 pin, conflicts with SPI1_NPCS2, ISI_D10 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000507 };
508 };
509
Nicolas Ferre557844e2013-12-02 17:18:48 +0100510 i2c2 {
511 pinctrl_i2c2: i2c2-0 {
512 atmel,pins =
513 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* TWD2 pin, conflicts with LCDDAT18, ISI_D2 */
514 AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TWCK2 pin, conflicts with LCDDAT19, ISI_D3 */
515 };
516 };
517
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000518 isi {
519 pinctrl_isi: isi-0 {
520 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800521 <AT91_PIOA 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA16 periph C ISI_D0, conflicts with LCDDAT16 */
522 AT91_PIOA 17 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA17 periph C ISI_D1, conflicts with LCDDAT17 */
523 AT91_PIOA 18 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA18 periph C ISI_D2, conflicts with LCDDAT18, TWD2 */
524 AT91_PIOA 19 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA19 periph C ISI_D3, conflicts with LCDDAT19, TWCK2 */
525 AT91_PIOA 20 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA20 periph C ISI_D4, conflicts with LCDDAT20, PWMH0 */
526 AT91_PIOA 21 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA21 periph C ISI_D5, conflicts with LCDDAT21, PWML0 */
527 AT91_PIOA 22 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA22 periph C ISI_D6, conflicts with LCDDAT22, PWMH1 */
528 AT91_PIOA 23 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA23 periph C ISI_D7, conflicts with LCDDAT23, PWML1 */
529 AT91_PIOC 30 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC30 periph C ISI_PCK, conflicts with UTXD0 */
530 AT91_PIOA 31 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA31 periph C ISI_HSYNC, conflicts with TWCK0, UTXD1 */
531 AT91_PIOA 30 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA30 periph C ISI_VSYNC, conflicts with TWD0, URXD1 */
532 AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC29 periph C ISI_PD8, conflicts with URXD0, PWMFI2 */
533 AT91_PIOC 28 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC28 periph C ISI_PD9, conflicts with SPI1_NPCS3, PWMFI0 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000534 };
535 pinctrl_isi_pck_as_mck: isi_pck_as_mck-0 {
536 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800537 <AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD31 periph B ISI_MCK */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000538 };
539 };
540
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000541 mmc0 {
542 pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 {
543 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800544 <AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A MCI0_CK */
545 AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD0 periph A MCI0_CDA with pullup */
546 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD1 periph A MCI0_DA0 with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000547 };
548 pinctrl_mmc0_dat1_3: mmc0_dat1_3 {
549 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800550 <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD2 periph A MCI0_DA1 with pullup */
551 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD3 periph A MCI0_DA2 with pullup */
552 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD4 periph A MCI0_DA3 with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000553 };
554 pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
555 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800556 <AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD5 periph A MCI0_DA4 with pullup, conflicts with TIOA0, PWMH2 */
557 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD6 periph A MCI0_DA5 with pullup, conflicts with TIOB0, PWML2 */
558 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD7 periph A MCI0_DA6 with pullup, conlicts with TCLK0, PWMH3 */
559 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD8 periph A MCI0_DA7 with pullup, conflicts with PWML3 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000560 };
561 };
562
563 mmc1 {
564 pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 {
565 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800566 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB24 periph A MCI1_CK, conflicts with GRX5 */
567 AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A MCI1_CDA with pullup, conflicts with GTX4 */
568 AT91_PIOB 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB20 periph A MCI1_DA0 with pullup, conflicts with GTX5 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000569 };
570 pinctrl_mmc1_dat1_3: mmc1_dat1_3 {
571 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800572 <AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB21 periph A MCI1_DA1 with pullup, conflicts with GTX6 */
573 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB22 periph A MCI1_DA2 with pullup, conflicts with GTX7 */
574 AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB23 periph A MCI1_DA3 with pullup, conflicts with GRX4 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000575 };
576 };
577
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000578 nand0 {
579 pinctrl_nand0_ale_cle: nand0_ale_cle-0 {
580 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800581 <AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PE21 periph A with pullup */
582 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PE22 periph A with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000583 };
584 };
585
Nicolas Ferre5eefd5f2014-04-24 17:33:51 +0200586 pwm0 {
587 pinctrl_pwm0_pwmh0_0: pwm0_pwmh0-0 {
588 atmel,pins =
589 <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D4 and LCDDAT20 */
590 };
591 pinctrl_pwm0_pwmh0_1: pwm0_pwmh0-1 {
592 atmel,pins =
593 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTX0 */
594 };
595 pinctrl_pwm0_pwml0_0: pwm0_pwml0-0 {
596 atmel,pins =
597 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D5 and LCDDAT21 */
598 };
599 pinctrl_pwm0_pwml0_1: pwm0_pwml0-1 {
600 atmel,pins =
601 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTX1 */
602 };
603
604 pinctrl_pwm0_pwmh1_0: pwm0_pwmh1-0 {
605 atmel,pins =
606 <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D6 and LCDDAT22 */
607 };
608 pinctrl_pwm0_pwmh1_1: pwm0_pwmh1-1 {
609 atmel,pins =
610 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRX0 */
611 };
612 pinctrl_pwm0_pwmh1_2: pwm0_pwmh1-2 {
613 atmel,pins =
614 <AT91_PIOB 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with G125CKO and RTS1 */
615 };
616 pinctrl_pwm0_pwml1_0: pwm0_pwml1-0 {
617 atmel,pins =
618 <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D7 and LCDDAT23 */
619 };
620 pinctrl_pwm0_pwml1_1: pwm0_pwml1-1 {
621 atmel,pins =
622 <AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRX1 */
623 };
624 pinctrl_pwm0_pwml1_2: pwm0_pwml1-2 {
625 atmel,pins =
626 <AT91_PIOE 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with IRQ */
627 };
628
629 pinctrl_pwm0_pwmh2_0: pwm0_pwmh2-0 {
630 atmel,pins =
631 <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTXCK */
632 };
633 pinctrl_pwm0_pwmh2_1: pwm0_pwmh2-1 {
634 atmel,pins =
635 <AT91_PIOD 5 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA4 and TIOA0 */
636 };
637 pinctrl_pwm0_pwml2_0: pwm0_pwml2-0 {
638 atmel,pins =
639 <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTXEN */
640 };
641 pinctrl_pwm0_pwml2_1: pwm0_pwml2-1 {
642 atmel,pins =
643 <AT91_PIOD 6 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA5 and TIOB0 */
644 };
645
646 pinctrl_pwm0_pwmh3_0: pwm0_pwmh3-0 {
647 atmel,pins =
648 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRXDV */
649 };
650 pinctrl_pwm0_pwmh3_1: pwm0_pwmh3-1 {
651 atmel,pins =
652 <AT91_PIOD 7 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA6 and TCLK0 */
653 };
654 pinctrl_pwm0_pwml3_0: pwm0_pwml3-0 {
655 atmel,pins =
656 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRXER */
657 };
658 pinctrl_pwm0_pwml3_1: pwm0_pwml3-1 {
659 atmel,pins =
660 <AT91_PIOD 8 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA7 */
661 };
662 };
663
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800664 spi0 {
665 pinctrl_spi0: spi0-0 {
666 atmel,pins =
667 <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A SPI0_MISO pin */
668 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A SPI0_MOSI pin */
669 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A SPI0_SPCK pin */
670 };
671 };
672
673 spi1 {
674 pinctrl_spi1: spi1-0 {
675 atmel,pins =
676 <AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC22 periph A SPI1_MISO pin */
677 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A SPI1_MOSI pin */
678 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC24 periph A SPI1_SPCK pin */
679 };
680 };
681
682 ssc0 {
683 pinctrl_ssc0_tx: ssc0_tx {
684 atmel,pins =
685 <AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC16 periph A TK0 */
686 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC17 periph A TF0 */
687 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC18 periph A TD0 */
688 };
689
690 pinctrl_ssc0_rx: ssc0_rx {
691 atmel,pins =
692 <AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC19 periph A RK0 */
693 AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC20 periph A RF0 */
694 AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC21 periph A RD0 */
695 };
696 };
697
698 ssc1 {
699 pinctrl_ssc1_tx: ssc1_tx {
700 atmel,pins =
701 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB2 periph B TK1, conflicts with GTX2 */
702 AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB3 periph B TF1, conflicts with GTX3 */
703 AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB6 periph B TD1, conflicts with TD1 */
704 };
705
706 pinctrl_ssc1_rx: ssc1_rx {
707 atmel,pins =
708 <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB7 periph B RK1, conflicts with EREFCK */
709 AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB10 periph B RF1, conflicts with GTXER */
710 AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB11 periph B RD1, conflicts with GRXCK */
711 };
712 };
713
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800714 usart0 {
715 pinctrl_usart0: usart0-0 {
716 atmel,pins =
717 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A */
718 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD18 periph A with pullup */
719 };
720
721 pinctrl_usart0_rts_cts: usart0_rts_cts-0 {
722 atmel,pins =
723 <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A, conflicts with SPI0_NPCS2, CANTX0 */
724 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A, conflicts with SPI0_NPCS3, PWMFI3 */
725 };
726 };
727
728 usart1 {
729 pinctrl_usart1: usart1-0 {
730 atmel,pins =
731 <AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB28 periph A */
732 AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB29 periph A with pullup */
733 };
734
735 pinctrl_usart1_rts_cts: usart1_rts_cts-0 {
736 atmel,pins =
737 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB26 periph A, conflicts with GRX7 */
738 AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB27 periph A, conflicts with G125CKO */
739 };
740 };
741
742 usart2 {
743 pinctrl_usart2: usart2-0 {
744 atmel,pins =
745 <AT91_PIOE 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE25 periph B, conflicts with A25 */
746 AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PE26 periph B with pullup, conflicts NCS0 */
747 };
748
749 pinctrl_usart2_rts_cts: usart2_rts_cts-0 {
750 atmel,pins =
751 <AT91_PIOE 23 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE23 periph B, conflicts with A23 */
752 AT91_PIOE 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE24 periph B, conflicts with A24 */
753 };
754 };
755
756 usart3 {
757 pinctrl_usart3: usart3-0 {
758 atmel,pins =
759 <AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE18 periph B, conflicts with A18 */
760 AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PE19 periph B with pullup, conflicts with A19 */
761 };
762
763 pinctrl_usart3_rts_cts: usart3_rts_cts-0 {
764 atmel,pins =
765 <AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE16 periph B, conflicts with A16 */
766 AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE17 periph B, conflicts with A17 */
767 };
768 };
769
770
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000771 pioA: gpio@fffff200 {
772 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
773 reg = <0xfffff200 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800774 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000775 #gpio-cells = <2>;
776 gpio-controller;
777 interrupt-controller;
778 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200779 clocks = <&pioA_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000780 };
781
782 pioB: gpio@fffff400 {
783 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
784 reg = <0xfffff400 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800785 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000786 #gpio-cells = <2>;
787 gpio-controller;
788 interrupt-controller;
789 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200790 clocks = <&pioB_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000791 };
792
793 pioC: gpio@fffff600 {
794 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
795 reg = <0xfffff600 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800796 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000797 #gpio-cells = <2>;
798 gpio-controller;
799 interrupt-controller;
800 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200801 clocks = <&pioC_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000802 };
803
804 pioD: gpio@fffff800 {
805 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
806 reg = <0xfffff800 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800807 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000808 #gpio-cells = <2>;
809 gpio-controller;
810 interrupt-controller;
811 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200812 clocks = <&pioD_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000813 };
814
815 pioE: gpio@fffffa00 {
816 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
817 reg = <0xfffffa00 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800818 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000819 #gpio-cells = <2>;
820 gpio-controller;
821 interrupt-controller;
822 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200823 clocks = <&pioE_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000824 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000825 };
826
827 pmc: pmc@fffffc00 {
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200828 compatible = "atmel,sama5d3-pmc";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000829 reg = <0xfffffc00 0x120>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200830 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
831 interrupt-controller;
832 #address-cells = <1>;
833 #size-cells = <0>;
834 #interrupt-cells = <1>;
835
836 clk32k: slck {
837 compatible = "fixed-clock";
838 #clock-cells = <0>;
839 clock-frequency = <32768>;
840 };
841
842 main: mainck {
843 compatible = "atmel,at91rm9200-clk-main";
844 #clock-cells = <0>;
845 interrupt-parent = <&pmc>;
846 interrupts = <AT91_PMC_MOSCS>;
847 clocks = <&clk32k>;
848 };
849
850 plla: pllack {
851 compatible = "atmel,sama5d3-clk-pll";
852 #clock-cells = <0>;
853 interrupt-parent = <&pmc>;
854 interrupts = <AT91_PMC_LOCKA>;
855 clocks = <&main>;
856 reg = <0>;
857 atmel,clk-input-range = <8000000 50000000>;
858 #atmel,pll-clk-output-range-cells = <4>;
859 atmel,pll-clk-output-ranges = <400000000 1000000000 0 0>;
860 };
861
862 plladiv: plladivck {
863 compatible = "atmel,at91sam9x5-clk-plldiv";
864 #clock-cells = <0>;
865 clocks = <&plla>;
866 };
867
868 utmi: utmick {
869 compatible = "atmel,at91sam9x5-clk-utmi";
870 #clock-cells = <0>;
871 interrupt-parent = <&pmc>;
872 interrupts = <AT91_PMC_LOCKU>;
873 clocks = <&main>;
874 };
875
876 mck: masterck {
877 compatible = "atmel,at91sam9x5-clk-master";
878 #clock-cells = <0>;
879 interrupt-parent = <&pmc>;
880 interrupts = <AT91_PMC_MCKRDY>;
881 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
882 atmel,clk-output-range = <0 166000000>;
883 atmel,clk-divisors = <1 2 4 3>;
884 };
885
886 usb: usbck {
887 compatible = "atmel,at91sam9x5-clk-usb";
888 #clock-cells = <0>;
889 clocks = <&plladiv>, <&utmi>;
890 };
891
892 prog: progck {
893 compatible = "atmel,at91sam9x5-clk-programmable";
894 #address-cells = <1>;
895 #size-cells = <0>;
896 interrupt-parent = <&pmc>;
897 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
898
899 prog0: prog0 {
900 #clock-cells = <0>;
901 reg = <0>;
902 interrupts = <AT91_PMC_PCKRDY(0)>;
903 };
904
905 prog1: prog1 {
906 #clock-cells = <0>;
907 reg = <1>;
908 interrupts = <AT91_PMC_PCKRDY(1)>;
909 };
910
911 prog2: prog2 {
912 #clock-cells = <0>;
913 reg = <2>;
914 interrupts = <AT91_PMC_PCKRDY(2)>;
915 };
916 };
917
918 smd: smdclk {
919 compatible = "atmel,at91sam9x5-clk-smd";
920 #clock-cells = <0>;
921 clocks = <&plladiv>, <&utmi>;
922 };
923
924 systemck {
925 compatible = "atmel,at91rm9200-clk-system";
926 #address-cells = <1>;
927 #size-cells = <0>;
928
929 ddrck: ddrck {
930 #clock-cells = <0>;
931 reg = <2>;
932 clocks = <&mck>;
933 };
934
935 smdck: smdck {
936 #clock-cells = <0>;
937 reg = <4>;
938 clocks = <&smd>;
939 };
940
941 uhpck: uhpck {
942 #clock-cells = <0>;
943 reg = <6>;
944 clocks = <&usb>;
945 };
946
947 udpck: udpck {
948 #clock-cells = <0>;
949 reg = <7>;
950 clocks = <&usb>;
951 };
952
953 pck0: pck0 {
954 #clock-cells = <0>;
955 reg = <8>;
956 clocks = <&prog0>;
957 };
958
959 pck1: pck1 {
960 #clock-cells = <0>;
961 reg = <9>;
962 clocks = <&prog1>;
963 };
964
965 pck2: pck2 {
966 #clock-cells = <0>;
967 reg = <10>;
968 clocks = <&prog2>;
969 };
970 };
971
972 periphck {
973 compatible = "atmel,at91sam9x5-clk-peripheral";
974 #address-cells = <1>;
975 #size-cells = <0>;
976 clocks = <&mck>;
977
978 dbgu_clk: dbgu_clk {
979 #clock-cells = <0>;
980 reg = <2>;
981 };
982
983 pioA_clk: pioA_clk {
984 #clock-cells = <0>;
985 reg = <6>;
986 };
987
988 pioB_clk: pioB_clk {
989 #clock-cells = <0>;
990 reg = <7>;
991 };
992
993 pioC_clk: pioC_clk {
994 #clock-cells = <0>;
995 reg = <8>;
996 };
997
998 pioD_clk: pioD_clk {
999 #clock-cells = <0>;
1000 reg = <9>;
1001 };
1002
1003 pioE_clk: pioE_clk {
1004 #clock-cells = <0>;
1005 reg = <10>;
1006 };
1007
1008 usart0_clk: usart0_clk {
1009 #clock-cells = <0>;
1010 reg = <12>;
1011 atmel,clk-output-range = <0 66000000>;
1012 };
1013
1014 usart1_clk: usart1_clk {
1015 #clock-cells = <0>;
1016 reg = <13>;
1017 atmel,clk-output-range = <0 66000000>;
1018 };
1019
1020 usart2_clk: usart2_clk {
1021 #clock-cells = <0>;
1022 reg = <14>;
1023 atmel,clk-output-range = <0 66000000>;
1024 };
1025
1026 usart3_clk: usart3_clk {
1027 #clock-cells = <0>;
1028 reg = <15>;
1029 atmel,clk-output-range = <0 66000000>;
1030 };
1031
1032 twi0_clk: twi0_clk {
1033 reg = <18>;
1034 #clock-cells = <0>;
1035 atmel,clk-output-range = <0 16625000>;
1036 };
1037
1038 twi1_clk: twi1_clk {
1039 #clock-cells = <0>;
1040 reg = <19>;
1041 atmel,clk-output-range = <0 16625000>;
1042 };
1043
1044 twi2_clk: twi2_clk {
1045 #clock-cells = <0>;
1046 reg = <20>;
1047 atmel,clk-output-range = <0 16625000>;
1048 };
1049
1050 mci0_clk: mci0_clk {
1051 #clock-cells = <0>;
1052 reg = <21>;
1053 };
1054
1055 mci1_clk: mci1_clk {
1056 #clock-cells = <0>;
1057 reg = <22>;
1058 };
1059
1060 spi0_clk: spi0_clk {
1061 #clock-cells = <0>;
1062 reg = <24>;
1063 atmel,clk-output-range = <0 133000000>;
1064 };
1065
1066 spi1_clk: spi1_clk {
1067 #clock-cells = <0>;
1068 reg = <25>;
1069 atmel,clk-output-range = <0 133000000>;
1070 };
1071
1072 tcb0_clk: tcb0_clk {
1073 #clock-cells = <0>;
1074 reg = <26>;
1075 atmel,clk-output-range = <0 133000000>;
1076 };
1077
1078 pwm_clk: pwm_clk {
1079 #clock-cells = <0>;
1080 reg = <28>;
1081 };
1082
1083 adc_clk: adc_clk {
1084 #clock-cells = <0>;
1085 reg = <29>;
1086 atmel,clk-output-range = <0 66000000>;
1087 };
1088
1089 dma0_clk: dma0_clk {
1090 #clock-cells = <0>;
1091 reg = <30>;
1092 };
1093
1094 dma1_clk: dma1_clk {
1095 #clock-cells = <0>;
1096 reg = <31>;
1097 };
1098
1099 uhphs_clk: uhphs_clk {
1100 #clock-cells = <0>;
1101 reg = <32>;
1102 };
1103
1104 udphs_clk: udphs_clk {
1105 #clock-cells = <0>;
1106 reg = <33>;
1107 };
1108
1109 isi_clk: isi_clk {
1110 #clock-cells = <0>;
1111 reg = <37>;
1112 };
1113
1114 ssc0_clk: ssc0_clk {
1115 #clock-cells = <0>;
1116 reg = <38>;
1117 atmel,clk-output-range = <0 66000000>;
1118 };
1119
1120 ssc1_clk: ssc1_clk {
1121 #clock-cells = <0>;
1122 reg = <39>;
1123 atmel,clk-output-range = <0 66000000>;
1124 };
1125
1126 sha_clk: sha_clk {
1127 #clock-cells = <0>;
1128 reg = <42>;
1129 };
1130
1131 aes_clk: aes_clk {
1132 #clock-cells = <0>;
1133 reg = <43>;
1134 };
1135
1136 tdes_clk: tdes_clk {
1137 #clock-cells = <0>;
1138 reg = <44>;
1139 };
1140
1141 trng_clk: trng_clk {
1142 #clock-cells = <0>;
1143 reg = <45>;
1144 };
1145
1146 fuse_clk: fuse_clk {
1147 #clock-cells = <0>;
1148 reg = <48>;
1149 };
1150 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001151 };
1152
1153 rstc@fffffe00 {
1154 compatible = "atmel,at91sam9g45-rstc";
1155 reg = <0xfffffe00 0x10>;
1156 };
1157
1158 pit: timer@fffffe30 {
1159 compatible = "atmel,at91sam9260-pit";
1160 reg = <0xfffffe30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001161 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001162 clocks = <&mck>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001163 };
1164
1165 watchdog@fffffe40 {
1166 compatible = "atmel,at91sam9260-wdt";
1167 reg = <0xfffffe40 0x10>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +02001168 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
1169 atmel,watchdog-type = "hardware";
1170 atmel,reset-type = "all";
1171 atmel,dbg-halt;
1172 atmel,idle-halt;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001173 status = "disabled";
1174 };
1175
1176 rtc@fffffeb0 {
1177 compatible = "atmel,at91rm9200-rtc";
1178 reg = <0xfffffeb0 0x30>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001179 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001180 };
1181 };
1182
1183 usb0: gadget@00500000 {
1184 #address-cells = <1>;
1185 #size-cells = <0>;
1186 compatible = "atmel,at91sam9rl-udc";
1187 reg = <0x00500000 0x100000
1188 0xf8030000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001189 interrupts = <33 IRQ_TYPE_LEVEL_HIGH 2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001190 clocks = <&udphs_clk>, <&utmi>;
1191 clock-names = "pclk", "hclk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001192 status = "disabled";
1193
1194 ep0 {
1195 reg = <0>;
1196 atmel,fifo-size = <64>;
1197 atmel,nb-banks = <1>;
1198 };
1199
1200 ep1 {
1201 reg = <1>;
1202 atmel,fifo-size = <1024>;
1203 atmel,nb-banks = <3>;
1204 atmel,can-dma;
1205 atmel,can-isoc;
1206 };
1207
1208 ep2 {
1209 reg = <2>;
1210 atmel,fifo-size = <1024>;
1211 atmel,nb-banks = <3>;
1212 atmel,can-dma;
1213 atmel,can-isoc;
1214 };
1215
1216 ep3 {
1217 reg = <3>;
1218 atmel,fifo-size = <1024>;
1219 atmel,nb-banks = <2>;
1220 atmel,can-dma;
1221 };
1222
1223 ep4 {
1224 reg = <4>;
1225 atmel,fifo-size = <1024>;
1226 atmel,nb-banks = <2>;
1227 atmel,can-dma;
1228 };
1229
1230 ep5 {
1231 reg = <5>;
1232 atmel,fifo-size = <1024>;
1233 atmel,nb-banks = <2>;
1234 atmel,can-dma;
1235 };
1236
1237 ep6 {
1238 reg = <6>;
1239 atmel,fifo-size = <1024>;
1240 atmel,nb-banks = <2>;
1241 atmel,can-dma;
1242 };
1243
1244 ep7 {
1245 reg = <7>;
1246 atmel,fifo-size = <1024>;
1247 atmel,nb-banks = <2>;
1248 atmel,can-dma;
1249 };
1250
1251 ep8 {
1252 reg = <8>;
1253 atmel,fifo-size = <1024>;
1254 atmel,nb-banks = <2>;
1255 };
1256
1257 ep9 {
1258 reg = <9>;
1259 atmel,fifo-size = <1024>;
1260 atmel,nb-banks = <2>;
1261 };
1262
1263 ep10 {
1264 reg = <10>;
1265 atmel,fifo-size = <1024>;
1266 atmel,nb-banks = <2>;
1267 };
1268
1269 ep11 {
1270 reg = <11>;
1271 atmel,fifo-size = <1024>;
1272 atmel,nb-banks = <2>;
1273 };
1274
1275 ep12 {
1276 reg = <12>;
1277 atmel,fifo-size = <1024>;
1278 atmel,nb-banks = <2>;
1279 };
1280
1281 ep13 {
1282 reg = <13>;
1283 atmel,fifo-size = <1024>;
1284 atmel,nb-banks = <2>;
1285 };
1286
1287 ep14 {
1288 reg = <14>;
1289 atmel,fifo-size = <1024>;
1290 atmel,nb-banks = <2>;
1291 };
1292
1293 ep15 {
1294 reg = <15>;
1295 atmel,fifo-size = <1024>;
1296 atmel,nb-banks = <2>;
1297 };
1298 };
1299
1300 usb1: ohci@00600000 {
1301 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1302 reg = <0x00600000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001303 interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
Boris BREZILLON5f877512014-01-16 16:25:34 +01001304 clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>,
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001305 <&uhpck>;
1306 clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001307 status = "disabled";
1308 };
1309
1310 usb2: ehci@00700000 {
1311 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1312 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001313 interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001314 clocks = <&usb>, <&uhphs_clk>, <&uhpck>;
1315 clock-names = "usb_clk", "ehci_clk", "uhpck";
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001316 status = "disabled";
1317 };
1318
1319 nand0: nand@60000000 {
1320 compatible = "atmel,at91rm9200-nand";
1321 #address-cells = <1>;
1322 #size-cells = <1>;
Josh Wu8ae599e2013-06-05 19:17:31 +08001323 ranges;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001324 reg = < 0x60000000 0x01000000 /* EBI CS3 */
1325 0xffffc070 0x00000490 /* SMC PMECC regs */
1326 0xffffc500 0x00000100 /* SMC PMECC Error Location regs */
Josh Wuafa6a2a2013-08-23 14:27:41 +08001327 0x00110000 0x00018000 /* ROM code */
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001328 >;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001329 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001330 atmel,nand-addr-offset = <21>;
1331 atmel,nand-cmd-offset = <22>;
Nicolas Ferree8b2da62013-07-01 17:05:18 +02001332 atmel,nand-has-dma;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001333 pinctrl-names = "default";
1334 pinctrl-0 = <&pinctrl_nand0_ale_cle>;
Josh Wuafa6a2a2013-08-23 14:27:41 +08001335 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001336 status = "disabled";
Josh Wu8ae599e2013-06-05 19:17:31 +08001337
1338 nfc@70000000 {
1339 compatible = "atmel,sama5d3-nfc";
1340 #address-cells = <1>;
1341 #size-cells = <1>;
1342 reg = <
1343 0x70000000 0x10000000 /* NFC Command Registers */
1344 0xffffc000 0x00000070 /* NFC HSMC regs */
1345 0x00200000 0x00100000 /* NFC SRAM banks */
1346 >;
1347 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001348 };
1349 };
1350};