blob: 261311bdf65bcb601ee5824b57ea3dcf68920db2 [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>
Tushar Behera35d35aa2014-03-06 11:34:43 +053016#include <dt-bindings/clock/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 {
Alexandre Belloni334394c2014-06-17 15:30:20 +020062 slow_xtal: slow_xtal {
63 compatible = "fixed-clock";
64 #clock-cells = <0>;
65 clock-frequency = <0>;
66 };
67
68 main_xtal: main_xtal {
69 compatible = "fixed-clock";
70 #clock-cells = <0>;
71 clock-frequency = <0>;
72 };
73
Boris BREZILLONd2e81902013-10-18 23:48:27 +020074 adc_op_clk: adc_op_clk{
75 compatible = "fixed-clock";
76 #clock-cells = <0>;
77 clock-frequency = <20000000>;
78 };
79 };
80
Alexandre Bellonif04660e2015-01-13 19:12:24 +010081 sram: sram@00300000 {
82 compatible = "mmio-sram";
83 reg = <0x00300000 0x20000>;
84 };
85
Ludovic Desroches655ff2662013-03-22 13:24:13 +000086 ahb {
87 compatible = "simple-bus";
88 #address-cells = <1>;
89 #size-cells = <1>;
90 ranges;
91
92 apb {
93 compatible = "simple-bus";
94 #address-cells = <1>;
95 #size-cells = <1>;
96 ranges;
97
98 mmc0: mmc@f0000000 {
99 compatible = "atmel,hsmci";
100 reg = <0xf0000000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800101 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200102 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200103 dma-names = "rxtx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7>;
106 status = "disabled";
107 #address-cells = <1>;
108 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200109 clocks = <&mci0_clk>;
110 clock-names = "mci_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000111 };
112
113 spi0: spi@f0004000 {
114 #address-cells = <1>;
115 #size-cells = <0>;
Nicolas Ferreb7ef6782013-06-24 12:04:55 +0200116 compatible = "atmel,at91rm9200-spi";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000117 reg = <0xf0004000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800118 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
Nicolas Ferree543a732013-06-24 12:16:05 +0200119 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(1)>,
120 <&dma0 2 AT91_DMA_CFG_PER_ID(2)>;
121 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_spi0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200124 clocks = <&spi0_clk>;
125 clock-names = "spi_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000126 status = "disabled";
127 };
128
129 ssc0: ssc@f0008000 {
130 compatible = "atmel,at91sam9g45-ssc";
131 reg = <0xf0008000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800132 interrupts = <38 IRQ_TYPE_LEVEL_HIGH 4>;
Bo Shen58962b72014-03-17 17:45:34 +0800133 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(13)>,
134 <&dma0 2 AT91_DMA_CFG_PER_ID(14)>;
135 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200138 clocks = <&ssc0_clk>;
139 clock-names = "pclk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000140 status = "disabled";
141 };
142
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000143 tcb0: timer@f0010000 {
144 compatible = "atmel,at91sam9x5-tcb";
145 reg = <0xf0010000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800146 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200147 clocks = <&tcb0_clk>;
148 clock-names = "t0_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000149 };
150
151 i2c0: i2c@f0014000 {
152 compatible = "atmel,at91sam9x5-i2c";
153 reg = <0xf0014000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800154 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200155 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(7)>,
156 <&dma0 2 AT91_DMA_CFG_PER_ID(8)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200157 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000158 pinctrl-names = "default";
159 pinctrl-0 = <&pinctrl_i2c0>;
160 #address-cells = <1>;
161 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200162 clocks = <&twi0_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000163 status = "disabled";
164 };
165
166 i2c1: i2c@f0018000 {
167 compatible = "atmel,at91sam9x5-i2c";
168 reg = <0xf0018000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800169 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200170 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(9)>,
171 <&dma0 2 AT91_DMA_CFG_PER_ID(10)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200172 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000173 pinctrl-names = "default";
174 pinctrl-0 = <&pinctrl_i2c1>;
175 #address-cells = <1>;
176 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200177 clocks = <&twi1_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000178 status = "disabled";
179 };
180
181 usart0: serial@f001c000 {
182 compatible = "atmel,at91sam9260-usart";
183 reg = <0xf001c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800184 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desrochesd24cd782014-08-12 16:37:57 +0200185 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(3)>,
186 <&dma0 2 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
187 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_usart0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200190 clocks = <&usart0_clk>;
191 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000192 status = "disabled";
193 };
194
195 usart1: serial@f0020000 {
196 compatible = "atmel,at91sam9260-usart";
197 reg = <0xf0020000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800198 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desrochesd24cd782014-08-12 16:37:57 +0200199 dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(5)>,
200 <&dma0 2 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
201 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_usart1>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200204 clocks = <&usart1_clk>;
205 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000206 status = "disabled";
207 };
208
Bo Shenf3ab0522013-12-19 11:59:17 +0800209 pwm0: pwm@f002c000 {
210 compatible = "atmel,sama5d3-pwm";
211 reg = <0xf002c000 0x300>;
212 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 4>;
213 #pwm-cells = <3>;
214 clocks = <&pwm_clk>;
215 status = "disabled";
216 };
217
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000218 isi: isi@f0034000 {
219 compatible = "atmel,at91sam9g45-isi";
220 reg = <0xf0034000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800221 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>;
Josh Wu4dd32e62015-01-14 10:41:54 +0800222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_isi_data_0_7>;
Josh Wub00122f2015-01-04 17:02:26 +0800224 clocks = <&isi_clk>;
225 clock-names = "isi_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000226 status = "disabled";
Josh Wu4dd32e62015-01-14 10:41:54 +0800227 port {
228 #address-cells = <1>;
229 #size-cells = <0>;
230 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000231 };
232
Alexandre Belloni6ced9f4a2014-12-18 10:45:51 +0100233 sfr: sfr@f0038000 {
234 compatible = "atmel,sama5d3-sfr", "syscon";
235 reg = <0xf0038000 0x60>;
236 };
237
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000238 mmc1: mmc@f8000000 {
239 compatible = "atmel,hsmci";
240 reg = <0xf8000000 0x600>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800241 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200242 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(0)>;
Ludovic Desroches05c1bc92013-04-16 15:03:10 +0200243 dma-names = "rxtx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000244 pinctrl-names = "default";
245 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
246 status = "disabled";
247 #address-cells = <1>;
248 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200249 clocks = <&mci1_clk>;
250 clock-names = "mci_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000251 };
252
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000253 spi1: spi@f8008000 {
254 #address-cells = <1>;
255 #size-cells = <0>;
Nicolas Ferreb7ef6782013-06-24 12:04:55 +0200256 compatible = "atmel,at91rm9200-spi";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000257 reg = <0xf8008000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800258 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
Nicolas Ferree543a732013-06-24 12:16:05 +0200259 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>,
260 <&dma1 2 AT91_DMA_CFG_PER_ID(16)>;
261 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000262 pinctrl-names = "default";
263 pinctrl-0 = <&pinctrl_spi1>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200264 clocks = <&spi1_clk>;
265 clock-names = "spi_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000266 status = "disabled";
267 };
268
269 ssc1: ssc@f800c000 {
270 compatible = "atmel,at91sam9g45-ssc";
271 reg = <0xf800c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800272 interrupts = <39 IRQ_TYPE_LEVEL_HIGH 4>;
Bo Shen58962b72014-03-17 17:45:34 +0800273 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(3)>,
274 <&dma1 2 AT91_DMA_CFG_PER_ID(4)>;
275 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000276 pinctrl-names = "default";
277 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200278 clocks = <&ssc1_clk>;
279 clock-names = "pclk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000280 status = "disabled";
281 };
282
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000283 adc0: adc@f8018000 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100284 #address-cells = <1>;
285 #size-cells = <0>;
Ludovic Desroches9879b962014-02-26 17:29:50 +0100286 compatible = "atmel,at91sam9x5-adc";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000287 reg = <0xf8018000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800288 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000289 pinctrl-names = "default";
290 pinctrl-0 = <
291 &pinctrl_adc0_adtrg
292 &pinctrl_adc0_ad0
293 &pinctrl_adc0_ad1
294 &pinctrl_adc0_ad2
295 &pinctrl_adc0_ad3
296 &pinctrl_adc0_ad4
297 &pinctrl_adc0_ad5
298 &pinctrl_adc0_ad6
299 &pinctrl_adc0_ad7
300 &pinctrl_adc0_ad8
301 &pinctrl_adc0_ad9
302 &pinctrl_adc0_ad10
303 &pinctrl_adc0_ad11
304 >;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200305 clocks = <&adc_clk>,
306 <&adc_op_clk>;
307 clock-names = "adc_clk", "adc_op_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000308 atmel,adc-channels-used = <0xfff>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000309 atmel,adc-startup-time = <40>;
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100310 atmel,adc-use-external-triggers;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000311 atmel,adc-vref = <3000>;
312 atmel,adc-res = <10 12>;
313 atmel,adc-res-names = "lowres", "highres";
314 status = "disabled";
315
316 trigger@0 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100317 reg = <0>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000318 trigger-name = "external-rising";
319 trigger-value = <0x1>;
320 trigger-external;
321 };
322 trigger@1 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100323 reg = <1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000324 trigger-name = "external-falling";
325 trigger-value = <0x2>;
326 trigger-external;
327 };
328 trigger@2 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100329 reg = <2>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000330 trigger-name = "external-any";
331 trigger-value = <0x3>;
332 trigger-external;
333 };
334 trigger@3 {
Alexandre Bellonib3b84de2014-03-10 20:17:24 +0100335 reg = <3>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000336 trigger-name = "continuous";
337 trigger-value = <0x6>;
338 };
339 };
340
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000341 i2c2: i2c@f801c000 {
342 compatible = "atmel,at91sam9x5-i2c";
343 reg = <0xf801c000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800344 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desrochesd4ae89c2013-05-30 18:08:22 +0200345 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>,
346 <&dma1 2 AT91_DMA_CFG_PER_ID(12)>;
Ludovic Desrochesd9a63a42013-04-16 15:03:08 +0200347 dma-names = "tx", "rx";
Nicolas Ferre557844e2013-12-02 17:18:48 +0100348 pinctrl-names = "default";
349 pinctrl-0 = <&pinctrl_i2c2>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000350 #address-cells = <1>;
351 #size-cells = <0>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200352 clocks = <&twi2_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000353 status = "disabled";
354 };
355
356 usart2: serial@f8020000 {
357 compatible = "atmel,at91sam9260-usart";
358 reg = <0xf8020000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800359 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desrochesd24cd782014-08-12 16:37:57 +0200360 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(7)>,
361 <&dma1 2 (AT91_DMA_CFG_PER_ID(8) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
362 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000363 pinctrl-names = "default";
364 pinctrl-0 = <&pinctrl_usart2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200365 clocks = <&usart2_clk>;
366 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000367 status = "disabled";
368 };
369
370 usart3: serial@f8024000 {
371 compatible = "atmel,at91sam9260-usart";
372 reg = <0xf8024000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800373 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
Ludovic Desrochesd24cd782014-08-12 16:37:57 +0200374 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(9)>,
375 <&dma1 2 (AT91_DMA_CFG_PER_ID(10) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
376 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000377 pinctrl-names = "default";
378 pinctrl-0 = <&pinctrl_usart3>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200379 clocks = <&usart3_clk>;
380 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000381 status = "disabled";
382 };
383
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000384 sha@f8034000 {
Nicolas Ferrec76f2662013-10-11 16:57:57 +0200385 compatible = "atmel,at91sam9g46-sha";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000386 reg = <0xf8034000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800387 interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre9860c512013-10-11 16:59:46 +0200388 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(17)>;
389 dma-names = "tx";
Boris BREZILLON4df4f442013-12-19 16:11:13 +0100390 clocks = <&sha_clk>;
391 clock-names = "sha_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000392 };
393
394 aes@f8038000 {
Nicolas Ferrec76f2662013-10-11 16:57:57 +0200395 compatible = "atmel,at91sam9g46-aes";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000396 reg = <0xf8038000 0x100>;
Nicolas Ferre07f7d502013-10-11 14:45:44 +0200397 interrupts = <43 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre9860c512013-10-11 16:59:46 +0200398 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(18)>,
399 <&dma1 2 AT91_DMA_CFG_PER_ID(19)>;
400 dma-names = "tx", "rx";
Boris BREZILLONf68cd352013-12-19 16:11:14 +0100401 clocks = <&aes_clk>;
402 clock-names = "aes_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000403 };
404
405 tdes@f803c000 {
Nicolas Ferrec76f2662013-10-11 16:57:57 +0200406 compatible = "atmel,at91sam9g46-tdes";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000407 reg = <0xf803c000 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800408 interrupts = <44 IRQ_TYPE_LEVEL_HIGH 0>;
Nicolas Ferre9860c512013-10-11 16:59:46 +0200409 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(20)>,
410 <&dma1 2 AT91_DMA_CFG_PER_ID(21)>;
411 dma-names = "tx", "rx";
Boris BREZILLON45e5c2c2013-12-19 16:11:15 +0100412 clocks = <&tdes_clk>;
413 clock-names = "tdes_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000414 };
415
416 dma0: dma-controller@ffffe600 {
417 compatible = "atmel,at91sam9g45-dma";
418 reg = <0xffffe600 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800419 interrupts = <30 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200420 #dma-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200421 clocks = <&dma0_clk>;
422 clock-names = "dma_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000423 };
424
425 dma1: dma-controller@ffffe800 {
426 compatible = "atmel,at91sam9g45-dma";
427 reg = <0xffffe800 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800428 interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
Ludovic Desroches980ce7d2013-04-16 15:03:06 +0200429 #dma-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200430 clocks = <&dma1_clk>;
431 clock-names = "dma_clk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000432 };
433
434 ramc0: ramc@ffffea00 {
Alexandre Belloni063de892014-07-08 18:21:14 +0200435 compatible = "atmel,sama5d3-ddramc";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000436 reg = <0xffffea00 0x200>;
Alexandre Belloni063de892014-07-08 18:21:14 +0200437 clocks = <&ddrck>, <&mpddr_clk>;
438 clock-names = "ddrck", "mpddr";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000439 };
440
441 dbgu: serial@ffffee00 {
442 compatible = "atmel,at91sam9260-usart";
443 reg = <0xffffee00 0x200>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800444 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 7>;
Ludovic Desrochesd24cd782014-08-12 16:37:57 +0200445 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(13)>,
446 <&dma1 2 (AT91_DMA_CFG_PER_ID(14) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
447 dma-names = "tx", "rx";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_dbgu>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200450 clocks = <&dbgu_clk>;
451 clock-names = "usart";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000452 status = "disabled";
453 };
454
455 aic: interrupt-controller@fffff000 {
456 #interrupt-cells = <3>;
457 compatible = "atmel,sama5d3-aic";
458 interrupt-controller;
459 reg = <0xfffff000 0x200>;
460 atmel,external-irqs = <47>;
461 };
462
463 pinctrl@fffff200 {
464 #address-cells = <1>;
465 #size-cells = <1>;
Marek Roszkoe0065cf2014-08-23 23:12:05 -0400466 compatible = "atmel,sama5d3-pinctrl", "atmel,at91sam9x5-pinctrl", "simple-bus";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000467 ranges = <0xfffff200 0xfffff200 0xa00>;
468 atmel,mux-mask = <
469 /* A B C */
470 0xffffffff 0xc0fc0000 0xc0ff0000 /* pioA */
471 0xffffffff 0x0ff8ffff 0x00000000 /* pioB */
472 0xffffffff 0xbc00f1ff 0x7c00fc00 /* pioC */
473 0xffffffff 0xc001c0e0 0x0001c1e0 /* pioD */
474 0xffffffff 0xbf9f8000 0x18000000 /* pioE */
475 >;
476
477 /* shared pinctrl settings */
478 adc0 {
479 pinctrl_adc0_adtrg: adc0_adtrg {
480 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800481 <AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD19 periph A ADTRG */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000482 };
483 pinctrl_adc0_ad0: adc0_ad0 {
484 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800485 <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD20 periph A AD0 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000486 };
487 pinctrl_adc0_ad1: adc0_ad1 {
488 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800489 <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD21 periph A AD1 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000490 };
491 pinctrl_adc0_ad2: adc0_ad2 {
492 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800493 <AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD22 periph A AD2 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000494 };
495 pinctrl_adc0_ad3: adc0_ad3 {
496 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800497 <AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD23 periph A AD3 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000498 };
499 pinctrl_adc0_ad4: adc0_ad4 {
500 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800501 <AT91_PIOD 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD24 periph A AD4 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000502 };
503 pinctrl_adc0_ad5: adc0_ad5 {
504 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800505 <AT91_PIOD 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD25 periph A AD5 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000506 };
507 pinctrl_adc0_ad6: adc0_ad6 {
508 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800509 <AT91_PIOD 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD26 periph A AD6 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000510 };
511 pinctrl_adc0_ad7: adc0_ad7 {
512 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800513 <AT91_PIOD 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD27 periph A AD7 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000514 };
515 pinctrl_adc0_ad8: adc0_ad8 {
516 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800517 <AT91_PIOD 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD28 periph A AD8 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000518 };
519 pinctrl_adc0_ad9: adc0_ad9 {
520 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800521 <AT91_PIOD 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD29 periph A AD9 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000522 };
523 pinctrl_adc0_ad10: adc0_ad10 {
524 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800525 <AT91_PIOD 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD30 periph A AD10, conflicts with PCK0 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000526 };
527 pinctrl_adc0_ad11: adc0_ad11 {
528 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800529 <AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD31 periph A AD11, conflicts with PCK1 */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000530 };
531 };
532
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000533 dbgu {
534 pinctrl_dbgu: dbgu-0 {
535 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800536 <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB30 periph A */
537 AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB31 periph A with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000538 };
539 };
540
541 i2c0 {
542 pinctrl_i2c0: i2c0-0 {
543 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800544 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A TWD0 pin, conflicts with URXD1, ISI_VSYNC */
545 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 +0000546 };
547 };
548
549 i2c1 {
550 pinctrl_i2c1: i2c1-0 {
551 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800552 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC26 periph B TWD1 pin, conflicts with SPI1_NPCS1, ISI_D11 */
553 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 +0000554 };
555 };
556
Nicolas Ferre557844e2013-12-02 17:18:48 +0100557 i2c2 {
558 pinctrl_i2c2: i2c2-0 {
559 atmel,pins =
560 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* TWD2 pin, conflicts with LCDDAT18, ISI_D2 */
561 AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TWCK2 pin, conflicts with LCDDAT19, ISI_D3 */
562 };
563 };
564
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000565 isi {
Bo Shencbaa29c2015-01-04 17:02:27 +0800566 pinctrl_isi_data_0_7: isi-0-data-0-7 {
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000567 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800568 <AT91_PIOA 16 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA16 periph C ISI_D0, conflicts with LCDDAT16 */
569 AT91_PIOA 17 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA17 periph C ISI_D1, conflicts with LCDDAT17 */
570 AT91_PIOA 18 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA18 periph C ISI_D2, conflicts with LCDDAT18, TWD2 */
571 AT91_PIOA 19 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA19 periph C ISI_D3, conflicts with LCDDAT19, TWCK2 */
572 AT91_PIOA 20 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA20 periph C ISI_D4, conflicts with LCDDAT20, PWMH0 */
573 AT91_PIOA 21 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA21 periph C ISI_D5, conflicts with LCDDAT21, PWML0 */
574 AT91_PIOA 22 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA22 periph C ISI_D6, conflicts with LCDDAT22, PWMH1 */
575 AT91_PIOA 23 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA23 periph C ISI_D7, conflicts with LCDDAT23, PWML1 */
576 AT91_PIOC 30 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC30 periph C ISI_PCK, conflicts with UTXD0 */
577 AT91_PIOA 31 AT91_PERIPH_C AT91_PINCTRL_NONE /* PA31 periph C ISI_HSYNC, conflicts with TWCK0, UTXD1 */
Bo Shencbaa29c2015-01-04 17:02:27 +0800578 AT91_PIOA 30 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PA30 periph C ISI_VSYNC, conflicts with TWD0, URXD1 */
579 };
580
581 pinctrl_isi_data_8_9: isi-0-data-8-9 {
582 atmel,pins =
583 <AT91_PIOC 29 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC29 periph C ISI_PD8, conflicts with URXD0, PWMFI2 */
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800584 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 +0000585 };
Bo Shencbaa29c2015-01-04 17:02:27 +0800586
Bo Shen3d755482015-01-04 17:02:28 +0800587 pinctrl_isi_data_10_11: isi-0-data-10-11 {
588 atmel,pins =
589 <AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE /* PC27 periph C ISI_PD10, conflicts with SPI1_NPCS2, TWCK1 */
590 AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PC26 periph C ISI_PD11, conflicts with SPI1_NPCS1, TWD1 */
591 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000592 };
593
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000594 mmc0 {
595 pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 {
596 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800597 <AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD9 periph A MCI0_CK */
598 AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD0 periph A MCI0_CDA with pullup */
599 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD1 periph A MCI0_DA0 with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000600 };
601 pinctrl_mmc0_dat1_3: mmc0_dat1_3 {
602 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800603 <AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD2 periph A MCI0_DA1 with pullup */
604 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD3 periph A MCI0_DA2 with pullup */
605 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD4 periph A MCI0_DA3 with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000606 };
607 pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
608 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800609 <AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD5 periph A MCI0_DA4 with pullup, conflicts with TIOA0, PWMH2 */
610 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD6 periph A MCI0_DA5 with pullup, conflicts with TIOB0, PWML2 */
611 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD7 periph A MCI0_DA6 with pullup, conlicts with TCLK0, PWMH3 */
612 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 +0000613 };
614 };
615
616 mmc1 {
617 pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 {
618 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800619 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB24 periph A MCI1_CK, conflicts with GRX5 */
620 AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB19 periph A MCI1_CDA with pullup, conflicts with GTX4 */
621 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 +0000622 };
623 pinctrl_mmc1_dat1_3: mmc1_dat1_3 {
624 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800625 <AT91_PIOB 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB21 periph A MCI1_DA1 with pullup, conflicts with GTX6 */
626 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB22 periph A MCI1_DA2 with pullup, conflicts with GTX7 */
627 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 +0000628 };
629 };
630
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000631 nand0 {
632 pinctrl_nand0_ale_cle: nand0_ale_cle-0 {
633 atmel,pins =
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800634 <AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PE21 periph A with pullup */
635 AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PE22 periph A with pullup */
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000636 };
637 };
638
Nicolas Ferre5eefd5f2014-04-24 17:33:51 +0200639 pwm0 {
640 pinctrl_pwm0_pwmh0_0: pwm0_pwmh0-0 {
641 atmel,pins =
642 <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D4 and LCDDAT20 */
643 };
644 pinctrl_pwm0_pwmh0_1: pwm0_pwmh0-1 {
645 atmel,pins =
646 <AT91_PIOB 0 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTX0 */
647 };
648 pinctrl_pwm0_pwml0_0: pwm0_pwml0-0 {
649 atmel,pins =
650 <AT91_PIOA 21 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D5 and LCDDAT21 */
651 };
652 pinctrl_pwm0_pwml0_1: pwm0_pwml0-1 {
653 atmel,pins =
654 <AT91_PIOB 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTX1 */
655 };
656
657 pinctrl_pwm0_pwmh1_0: pwm0_pwmh1-0 {
658 atmel,pins =
659 <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D6 and LCDDAT22 */
660 };
661 pinctrl_pwm0_pwmh1_1: pwm0_pwmh1-1 {
662 atmel,pins =
663 <AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRX0 */
664 };
665 pinctrl_pwm0_pwmh1_2: pwm0_pwmh1-2 {
666 atmel,pins =
667 <AT91_PIOB 27 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with G125CKO and RTS1 */
668 };
669 pinctrl_pwm0_pwml1_0: pwm0_pwml1-0 {
670 atmel,pins =
671 <AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with ISI_D7 and LCDDAT23 */
672 };
673 pinctrl_pwm0_pwml1_1: pwm0_pwml1-1 {
674 atmel,pins =
675 <AT91_PIOB 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRX1 */
676 };
677 pinctrl_pwm0_pwml1_2: pwm0_pwml1-2 {
678 atmel,pins =
679 <AT91_PIOE 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with IRQ */
680 };
681
682 pinctrl_pwm0_pwmh2_0: pwm0_pwmh2-0 {
683 atmel,pins =
684 <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTXCK */
685 };
686 pinctrl_pwm0_pwmh2_1: pwm0_pwmh2-1 {
687 atmel,pins =
688 <AT91_PIOD 5 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA4 and TIOA0 */
689 };
690 pinctrl_pwm0_pwml2_0: pwm0_pwml2-0 {
691 atmel,pins =
692 <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GTXEN */
693 };
694 pinctrl_pwm0_pwml2_1: pwm0_pwml2-1 {
695 atmel,pins =
696 <AT91_PIOD 6 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA5 and TIOB0 */
697 };
698
699 pinctrl_pwm0_pwmh3_0: pwm0_pwmh3-0 {
700 atmel,pins =
701 <AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRXDV */
702 };
703 pinctrl_pwm0_pwmh3_1: pwm0_pwmh3-1 {
704 atmel,pins =
705 <AT91_PIOD 7 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA6 and TCLK0 */
706 };
707 pinctrl_pwm0_pwml3_0: pwm0_pwml3-0 {
708 atmel,pins =
709 <AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with GRXER */
710 };
711 pinctrl_pwm0_pwml3_1: pwm0_pwml3-1 {
712 atmel,pins =
713 <AT91_PIOD 8 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* conflicts with MCI0_DA7 */
714 };
715 };
716
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800717 spi0 {
718 pinctrl_spi0: spi0-0 {
719 atmel,pins =
720 <AT91_PIOD 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD10 periph A SPI0_MISO pin */
721 AT91_PIOD 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD11 periph A SPI0_MOSI pin */
722 AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD12 periph A SPI0_SPCK pin */
723 };
724 };
725
726 spi1 {
727 pinctrl_spi1: spi1-0 {
728 atmel,pins =
729 <AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC22 periph A SPI1_MISO pin */
730 AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A SPI1_MOSI pin */
731 AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC24 periph A SPI1_SPCK pin */
732 };
733 };
734
735 ssc0 {
736 pinctrl_ssc0_tx: ssc0_tx {
737 atmel,pins =
738 <AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC16 periph A TK0 */
739 AT91_PIOC 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC17 periph A TF0 */
740 AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC18 periph A TD0 */
741 };
742
743 pinctrl_ssc0_rx: ssc0_rx {
744 atmel,pins =
745 <AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC19 periph A RK0 */
746 AT91_PIOC 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC20 periph A RF0 */
747 AT91_PIOC 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC21 periph A RD0 */
748 };
749 };
750
751 ssc1 {
752 pinctrl_ssc1_tx: ssc1_tx {
753 atmel,pins =
754 <AT91_PIOB 2 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB2 periph B TK1, conflicts with GTX2 */
755 AT91_PIOB 3 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB3 periph B TF1, conflicts with GTX3 */
756 AT91_PIOB 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB6 periph B TD1, conflicts with TD1 */
757 };
758
759 pinctrl_ssc1_rx: ssc1_rx {
760 atmel,pins =
761 <AT91_PIOB 7 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB7 periph B RK1, conflicts with EREFCK */
762 AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB10 periph B RF1, conflicts with GTXER */
763 AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB11 periph B RD1, conflicts with GRXCK */
764 };
765 };
766
Jean-Christophe PLAGNIOL-VILLARDc9d0f312013-04-24 08:34:25 +0800767 usart0 {
768 pinctrl_usart0: usart0-0 {
769 atmel,pins =
770 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD17 periph A */
771 AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD18 periph A with pullup */
772 };
773
774 pinctrl_usart0_rts_cts: usart0_rts_cts-0 {
775 atmel,pins =
776 <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PD15 periph A, conflicts with SPI0_NPCS2, CANTX0 */
777 AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A, conflicts with SPI0_NPCS3, PWMFI3 */
778 };
779 };
780
781 usart1 {
782 pinctrl_usart1: usart1-0 {
783 atmel,pins =
784 <AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB28 periph A */
785 AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB29 periph A with pullup */
786 };
787
788 pinctrl_usart1_rts_cts: usart1_rts_cts-0 {
789 atmel,pins =
790 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB26 periph A, conflicts with GRX7 */
791 AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB27 periph A, conflicts with G125CKO */
792 };
793 };
794
795 usart2 {
796 pinctrl_usart2: usart2-0 {
797 atmel,pins =
798 <AT91_PIOE 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE25 periph B, conflicts with A25 */
799 AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PE26 periph B with pullup, conflicts NCS0 */
800 };
801
802 pinctrl_usart2_rts_cts: usart2_rts_cts-0 {
803 atmel,pins =
804 <AT91_PIOE 23 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE23 periph B, conflicts with A23 */
805 AT91_PIOE 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE24 periph B, conflicts with A24 */
806 };
807 };
808
809 usart3 {
810 pinctrl_usart3: usart3-0 {
811 atmel,pins =
812 <AT91_PIOE 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE18 periph B, conflicts with A18 */
813 AT91_PIOE 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PE19 periph B with pullup, conflicts with A19 */
814 };
815
816 pinctrl_usart3_rts_cts: usart3_rts_cts-0 {
817 atmel,pins =
818 <AT91_PIOE 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PE16 periph B, conflicts with A16 */
819 AT91_PIOE 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PE17 periph B, conflicts with A17 */
820 };
821 };
822
823
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000824 pioA: gpio@fffff200 {
825 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
826 reg = <0xfffff200 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800827 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000828 #gpio-cells = <2>;
829 gpio-controller;
830 interrupt-controller;
831 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200832 clocks = <&pioA_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000833 };
834
835 pioB: gpio@fffff400 {
836 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
837 reg = <0xfffff400 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800838 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000839 #gpio-cells = <2>;
840 gpio-controller;
841 interrupt-controller;
842 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200843 clocks = <&pioB_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000844 };
845
846 pioC: gpio@fffff600 {
847 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
848 reg = <0xfffff600 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800849 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000850 #gpio-cells = <2>;
851 gpio-controller;
852 interrupt-controller;
853 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200854 clocks = <&pioC_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000855 };
856
857 pioD: gpio@fffff800 {
858 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
859 reg = <0xfffff800 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800860 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000861 #gpio-cells = <2>;
862 gpio-controller;
863 interrupt-controller;
864 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200865 clocks = <&pioD_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000866 };
867
868 pioE: gpio@fffffa00 {
869 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
870 reg = <0xfffffa00 0x100>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +0800871 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 1>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000872 #gpio-cells = <2>;
873 gpio-controller;
874 interrupt-controller;
875 #interrupt-cells = <2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200876 clocks = <&pioE_clk>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000877 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000878 };
879
880 pmc: pmc@fffffc00 {
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200881 compatible = "atmel,sama5d3-pmc";
Ludovic Desroches655ff2662013-03-22 13:24:13 +0000882 reg = <0xfffffc00 0x120>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200883 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
884 interrupt-controller;
885 #address-cells = <1>;
886 #size-cells = <0>;
887 #interrupt-cells = <1>;
888
Boris BREZILLON47532192014-04-22 15:12:34 +0200889 main_rc_osc: main_rc_osc {
890 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200891 #clock-cells = <0>;
Boris BREZILLON47532192014-04-22 15:12:34 +0200892 interrupt-parent = <&pmc>;
893 interrupts = <AT91_PMC_MOSCRCS>;
894 clock-frequency = <12000000>;
895 clock-accuracy = <50000000>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200896 };
897
Boris BREZILLON47532192014-04-22 15:12:34 +0200898 main_osc: main_osc {
899 compatible = "atmel,at91rm9200-clk-main-osc";
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200900 #clock-cells = <0>;
901 interrupt-parent = <&pmc>;
902 interrupts = <AT91_PMC_MOSCS>;
Boris BREZILLON47532192014-04-22 15:12:34 +0200903 clocks = <&main_xtal>;
904 };
905
906 main: mainck {
907 compatible = "atmel,at91sam9x5-clk-main";
908 #clock-cells = <0>;
909 interrupt-parent = <&pmc>;
910 interrupts = <AT91_PMC_MOSCSELS>;
911 clocks = <&main_rc_osc &main_osc>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +0200912 };
913
914 plla: pllack {
915 compatible = "atmel,sama5d3-clk-pll";
916 #clock-cells = <0>;
917 interrupt-parent = <&pmc>;
918 interrupts = <AT91_PMC_LOCKA>;
919 clocks = <&main>;
920 reg = <0>;
921 atmel,clk-input-range = <8000000 50000000>;
922 #atmel,pll-clk-output-range-cells = <4>;
923 atmel,pll-clk-output-ranges = <400000000 1000000000 0 0>;
924 };
925
926 plladiv: plladivck {
927 compatible = "atmel,at91sam9x5-clk-plldiv";
928 #clock-cells = <0>;
929 clocks = <&plla>;
930 };
931
932 utmi: utmick {
933 compatible = "atmel,at91sam9x5-clk-utmi";
934 #clock-cells = <0>;
935 interrupt-parent = <&pmc>;
936 interrupts = <AT91_PMC_LOCKU>;
937 clocks = <&main>;
938 };
939
940 mck: masterck {
941 compatible = "atmel,at91sam9x5-clk-master";
942 #clock-cells = <0>;
943 interrupt-parent = <&pmc>;
944 interrupts = <AT91_PMC_MCKRDY>;
945 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>;
946 atmel,clk-output-range = <0 166000000>;
947 atmel,clk-divisors = <1 2 4 3>;
948 };
949
950 usb: usbck {
951 compatible = "atmel,at91sam9x5-clk-usb";
952 #clock-cells = <0>;
953 clocks = <&plladiv>, <&utmi>;
954 };
955
956 prog: progck {
957 compatible = "atmel,at91sam9x5-clk-programmable";
958 #address-cells = <1>;
959 #size-cells = <0>;
960 interrupt-parent = <&pmc>;
961 clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
962
963 prog0: prog0 {
964 #clock-cells = <0>;
965 reg = <0>;
966 interrupts = <AT91_PMC_PCKRDY(0)>;
967 };
968
969 prog1: prog1 {
970 #clock-cells = <0>;
971 reg = <1>;
972 interrupts = <AT91_PMC_PCKRDY(1)>;
973 };
974
975 prog2: prog2 {
976 #clock-cells = <0>;
977 reg = <2>;
978 interrupts = <AT91_PMC_PCKRDY(2)>;
979 };
980 };
981
982 smd: smdclk {
983 compatible = "atmel,at91sam9x5-clk-smd";
984 #clock-cells = <0>;
985 clocks = <&plladiv>, <&utmi>;
986 };
987
988 systemck {
989 compatible = "atmel,at91rm9200-clk-system";
990 #address-cells = <1>;
991 #size-cells = <0>;
992
993 ddrck: ddrck {
994 #clock-cells = <0>;
995 reg = <2>;
996 clocks = <&mck>;
997 };
998
999 smdck: smdck {
1000 #clock-cells = <0>;
1001 reg = <4>;
1002 clocks = <&smd>;
1003 };
1004
1005 uhpck: uhpck {
1006 #clock-cells = <0>;
1007 reg = <6>;
1008 clocks = <&usb>;
1009 };
1010
1011 udpck: udpck {
1012 #clock-cells = <0>;
1013 reg = <7>;
1014 clocks = <&usb>;
1015 };
1016
1017 pck0: pck0 {
1018 #clock-cells = <0>;
1019 reg = <8>;
1020 clocks = <&prog0>;
1021 };
1022
1023 pck1: pck1 {
1024 #clock-cells = <0>;
1025 reg = <9>;
1026 clocks = <&prog1>;
1027 };
1028
1029 pck2: pck2 {
1030 #clock-cells = <0>;
1031 reg = <10>;
1032 clocks = <&prog2>;
1033 };
1034 };
1035
1036 periphck {
1037 compatible = "atmel,at91sam9x5-clk-peripheral";
1038 #address-cells = <1>;
1039 #size-cells = <0>;
1040 clocks = <&mck>;
1041
1042 dbgu_clk: dbgu_clk {
1043 #clock-cells = <0>;
1044 reg = <2>;
1045 };
1046
Alexandre Belloni8a85ba22014-09-16 10:43:57 +02001047 hsmc_clk: hsmc_clk {
1048 #clock-cells = <0>;
1049 reg = <5>;
1050 };
1051
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001052 pioA_clk: pioA_clk {
1053 #clock-cells = <0>;
1054 reg = <6>;
1055 };
1056
1057 pioB_clk: pioB_clk {
1058 #clock-cells = <0>;
1059 reg = <7>;
1060 };
1061
1062 pioC_clk: pioC_clk {
1063 #clock-cells = <0>;
1064 reg = <8>;
1065 };
1066
1067 pioD_clk: pioD_clk {
1068 #clock-cells = <0>;
1069 reg = <9>;
1070 };
1071
1072 pioE_clk: pioE_clk {
1073 #clock-cells = <0>;
1074 reg = <10>;
1075 };
1076
1077 usart0_clk: usart0_clk {
1078 #clock-cells = <0>;
1079 reg = <12>;
1080 atmel,clk-output-range = <0 66000000>;
1081 };
1082
1083 usart1_clk: usart1_clk {
1084 #clock-cells = <0>;
1085 reg = <13>;
1086 atmel,clk-output-range = <0 66000000>;
1087 };
1088
1089 usart2_clk: usart2_clk {
1090 #clock-cells = <0>;
1091 reg = <14>;
1092 atmel,clk-output-range = <0 66000000>;
1093 };
1094
1095 usart3_clk: usart3_clk {
1096 #clock-cells = <0>;
1097 reg = <15>;
1098 atmel,clk-output-range = <0 66000000>;
1099 };
1100
1101 twi0_clk: twi0_clk {
1102 reg = <18>;
1103 #clock-cells = <0>;
1104 atmel,clk-output-range = <0 16625000>;
1105 };
1106
1107 twi1_clk: twi1_clk {
1108 #clock-cells = <0>;
1109 reg = <19>;
1110 atmel,clk-output-range = <0 16625000>;
1111 };
1112
1113 twi2_clk: twi2_clk {
1114 #clock-cells = <0>;
1115 reg = <20>;
1116 atmel,clk-output-range = <0 16625000>;
1117 };
1118
1119 mci0_clk: mci0_clk {
1120 #clock-cells = <0>;
1121 reg = <21>;
1122 };
1123
1124 mci1_clk: mci1_clk {
1125 #clock-cells = <0>;
1126 reg = <22>;
1127 };
1128
1129 spi0_clk: spi0_clk {
1130 #clock-cells = <0>;
1131 reg = <24>;
1132 atmel,clk-output-range = <0 133000000>;
1133 };
1134
1135 spi1_clk: spi1_clk {
1136 #clock-cells = <0>;
1137 reg = <25>;
1138 atmel,clk-output-range = <0 133000000>;
1139 };
1140
1141 tcb0_clk: tcb0_clk {
1142 #clock-cells = <0>;
1143 reg = <26>;
1144 atmel,clk-output-range = <0 133000000>;
1145 };
1146
1147 pwm_clk: pwm_clk {
1148 #clock-cells = <0>;
1149 reg = <28>;
1150 };
1151
1152 adc_clk: adc_clk {
1153 #clock-cells = <0>;
1154 reg = <29>;
1155 atmel,clk-output-range = <0 66000000>;
1156 };
1157
1158 dma0_clk: dma0_clk {
1159 #clock-cells = <0>;
1160 reg = <30>;
1161 };
1162
1163 dma1_clk: dma1_clk {
1164 #clock-cells = <0>;
1165 reg = <31>;
1166 };
1167
1168 uhphs_clk: uhphs_clk {
1169 #clock-cells = <0>;
1170 reg = <32>;
1171 };
1172
1173 udphs_clk: udphs_clk {
1174 #clock-cells = <0>;
1175 reg = <33>;
1176 };
1177
1178 isi_clk: isi_clk {
1179 #clock-cells = <0>;
1180 reg = <37>;
1181 };
1182
1183 ssc0_clk: ssc0_clk {
1184 #clock-cells = <0>;
1185 reg = <38>;
1186 atmel,clk-output-range = <0 66000000>;
1187 };
1188
1189 ssc1_clk: ssc1_clk {
1190 #clock-cells = <0>;
1191 reg = <39>;
1192 atmel,clk-output-range = <0 66000000>;
1193 };
1194
1195 sha_clk: sha_clk {
1196 #clock-cells = <0>;
1197 reg = <42>;
1198 };
1199
1200 aes_clk: aes_clk {
1201 #clock-cells = <0>;
1202 reg = <43>;
1203 };
1204
1205 tdes_clk: tdes_clk {
1206 #clock-cells = <0>;
1207 reg = <44>;
1208 };
1209
1210 trng_clk: trng_clk {
1211 #clock-cells = <0>;
1212 reg = <45>;
1213 };
1214
1215 fuse_clk: fuse_clk {
1216 #clock-cells = <0>;
1217 reg = <48>;
1218 };
Alexandre Belloni063de892014-07-08 18:21:14 +02001219
1220 mpddr_clk: mpddr_clk {
1221 #clock-cells = <0>;
1222 reg = <49>;
1223 };
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001224 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001225 };
1226
1227 rstc@fffffe00 {
1228 compatible = "atmel,at91sam9g45-rstc";
1229 reg = <0xfffffe00 0x10>;
1230 };
1231
Maxime Ripard16aa7f1f12014-07-03 14:08:47 +02001232 shutdown-controller@fffffe10 {
1233 compatible = "atmel,at91sam9x5-shdwc";
1234 reg = <0xfffffe10 0x10>;
1235 };
1236
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001237 pit: timer@fffffe30 {
1238 compatible = "atmel,at91sam9260-pit";
1239 reg = <0xfffffe30 0xf>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001240 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001241 clocks = <&mck>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001242 };
1243
1244 watchdog@fffffe40 {
1245 compatible = "atmel,at91sam9260-wdt";
1246 reg = <0xfffffe40 0x10>;
Boris BREZILLONfe46aa62013-10-04 09:24:14 +02001247 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;
1248 atmel,watchdog-type = "hardware";
1249 atmel,reset-type = "all";
1250 atmel,dbg-halt;
1251 atmel,idle-halt;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001252 status = "disabled";
1253 };
1254
Boris BREZILLON47532192014-04-22 15:12:34 +02001255 sckc@fffffe50 {
1256 compatible = "atmel,at91sam9x5-sckc";
1257 reg = <0xfffffe50 0x4>;
1258
1259 slow_rc_osc: slow_rc_osc {
1260 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
1261 #clock-cells = <0>;
1262 clock-frequency = <32768>;
1263 clock-accuracy = <50000000>;
1264 atmel,startup-time-usec = <75>;
1265 };
1266
1267 slow_osc: slow_osc {
1268 compatible = "atmel,at91sam9x5-clk-slow-osc";
1269 #clock-cells = <0>;
1270 clocks = <&slow_xtal>;
1271 atmel,startup-time-usec = <1200000>;
1272 };
1273
1274 clk32k: slowck {
1275 compatible = "atmel,at91sam9x5-clk-slow";
1276 #clock-cells = <0>;
1277 clocks = <&slow_rc_osc &slow_osc>;
1278 };
1279 };
1280
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001281 rtc@fffffeb0 {
1282 compatible = "atmel,at91rm9200-rtc";
1283 reg = <0xfffffeb0 0x30>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001284 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001285 };
1286 };
1287
1288 usb0: gadget@00500000 {
1289 #address-cells = <1>;
1290 #size-cells = <0>;
1291 compatible = "atmel,at91sam9rl-udc";
1292 reg = <0x00500000 0x100000
1293 0xf8030000 0x4000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001294 interrupts = <33 IRQ_TYPE_LEVEL_HIGH 2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001295 clocks = <&udphs_clk>, <&utmi>;
1296 clock-names = "pclk", "hclk";
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001297 status = "disabled";
1298
1299 ep0 {
1300 reg = <0>;
1301 atmel,fifo-size = <64>;
1302 atmel,nb-banks = <1>;
1303 };
1304
1305 ep1 {
1306 reg = <1>;
1307 atmel,fifo-size = <1024>;
1308 atmel,nb-banks = <3>;
1309 atmel,can-dma;
1310 atmel,can-isoc;
1311 };
1312
1313 ep2 {
1314 reg = <2>;
1315 atmel,fifo-size = <1024>;
1316 atmel,nb-banks = <3>;
1317 atmel,can-dma;
1318 atmel,can-isoc;
1319 };
1320
1321 ep3 {
1322 reg = <3>;
1323 atmel,fifo-size = <1024>;
1324 atmel,nb-banks = <2>;
1325 atmel,can-dma;
1326 };
1327
1328 ep4 {
1329 reg = <4>;
1330 atmel,fifo-size = <1024>;
1331 atmel,nb-banks = <2>;
1332 atmel,can-dma;
1333 };
1334
1335 ep5 {
1336 reg = <5>;
1337 atmel,fifo-size = <1024>;
1338 atmel,nb-banks = <2>;
1339 atmel,can-dma;
1340 };
1341
1342 ep6 {
1343 reg = <6>;
1344 atmel,fifo-size = <1024>;
1345 atmel,nb-banks = <2>;
1346 atmel,can-dma;
1347 };
1348
1349 ep7 {
1350 reg = <7>;
1351 atmel,fifo-size = <1024>;
1352 atmel,nb-banks = <2>;
1353 atmel,can-dma;
1354 };
1355
1356 ep8 {
1357 reg = <8>;
1358 atmel,fifo-size = <1024>;
1359 atmel,nb-banks = <2>;
1360 };
1361
1362 ep9 {
1363 reg = <9>;
1364 atmel,fifo-size = <1024>;
1365 atmel,nb-banks = <2>;
1366 };
1367
1368 ep10 {
1369 reg = <10>;
1370 atmel,fifo-size = <1024>;
1371 atmel,nb-banks = <2>;
1372 };
1373
1374 ep11 {
1375 reg = <11>;
1376 atmel,fifo-size = <1024>;
1377 atmel,nb-banks = <2>;
1378 };
1379
1380 ep12 {
1381 reg = <12>;
1382 atmel,fifo-size = <1024>;
1383 atmel,nb-banks = <2>;
1384 };
1385
1386 ep13 {
1387 reg = <13>;
1388 atmel,fifo-size = <1024>;
1389 atmel,nb-banks = <2>;
1390 };
1391
1392 ep14 {
1393 reg = <14>;
1394 atmel,fifo-size = <1024>;
1395 atmel,nb-banks = <2>;
1396 };
1397
1398 ep15 {
1399 reg = <15>;
1400 atmel,fifo-size = <1024>;
1401 atmel,nb-banks = <2>;
1402 };
1403 };
1404
1405 usb1: ohci@00600000 {
1406 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
1407 reg = <0x00600000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001408 interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
Boris BREZILLON5f877512014-01-16 16:25:34 +01001409 clocks = <&usb>, <&uhphs_clk>, <&uhphs_clk>,
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001410 <&uhpck>;
1411 clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck";
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001412 status = "disabled";
1413 };
1414
1415 usb2: ehci@00700000 {
1416 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
1417 reg = <0x00700000 0x100000>;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001418 interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
Boris BREZILLONd2e81902013-10-18 23:48:27 +02001419 clocks = <&usb>, <&uhphs_clk>, <&uhpck>;
1420 clock-names = "usb_clk", "ehci_clk", "uhpck";
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001421 status = "disabled";
1422 };
1423
1424 nand0: nand@60000000 {
1425 compatible = "atmel,at91rm9200-nand";
1426 #address-cells = <1>;
1427 #size-cells = <1>;
Josh Wu8ae599e2013-06-05 19:17:31 +08001428 ranges;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001429 reg = < 0x60000000 0x01000000 /* EBI CS3 */
1430 0xffffc070 0x00000490 /* SMC PMECC regs */
1431 0xffffc500 0x00000100 /* SMC PMECC Error Location regs */
Josh Wuafa6a2a2013-08-23 14:27:41 +08001432 0x00110000 0x00018000 /* ROM code */
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001433 >;
Jean-Christophe PLAGNIOL-VILLARD5e8b3bc2013-04-24 08:34:25 +08001434 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001435 atmel,nand-addr-offset = <21>;
1436 atmel,nand-cmd-offset = <22>;
Nicolas Ferree8b2da62013-07-01 17:05:18 +02001437 atmel,nand-has-dma;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001438 pinctrl-names = "default";
1439 pinctrl-0 = <&pinctrl_nand0_ale_cle>;
Josh Wuafa6a2a2013-08-23 14:27:41 +08001440 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001441 status = "disabled";
Josh Wu8ae599e2013-06-05 19:17:31 +08001442
1443 nfc@70000000 {
1444 compatible = "atmel,sama5d3-nfc";
1445 #address-cells = <1>;
1446 #size-cells = <1>;
1447 reg = <
1448 0x70000000 0x10000000 /* NFC Command Registers */
1449 0xffffc000 0x00000070 /* NFC HSMC regs */
1450 0x00200000 0x00100000 /* NFC SRAM banks */
1451 >;
Alexandre Belloni8a85ba22014-09-16 10:43:57 +02001452 clocks = <&hsmc_clk>;
Josh Wu8ae599e2013-06-05 19:17:31 +08001453 };
Ludovic Desroches655ff2662013-03-22 13:24:13 +00001454 };
1455 };
1456};