Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / sam9x60.dtsi
blob84066c1298df954145859773d4772e5cbe4538eb
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * sam9x60.dtsi - Device Tree Include file for Microchip SAM9X60 SoC
4  *
5  * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
6  *
7  * Author: Sandeep Sheriker M <sandeepsheriker.mallikarjun@microchip.com>
8  */
10 #include <dt-bindings/dma/at91.h>
11 #include <dt-bindings/pinctrl/at91.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/clock/at91.h>
15 #include <dt-bindings/mfd/atmel-flexcom.h>
17 / {
18         #address-cells = <1>;
19         #size-cells = <1>;
20         model = "Microchip SAM9X60 SoC";
21         compatible = "microchip,sam9x60";
22         interrupt-parent = <&aic>;
24         aliases {
25                 serial0 = &dbgu;
26                 gpio0 = &pioA;
27                 gpio1 = &pioB;
28                 gpio2 = &pioC;
29                 gpio3 = &pioD;
30                 tcb0 = &tcb0;
31                 tcb1 = &tcb1;
32         };
34         cpus {
35                 #address-cells = <1>;
36                 #size-cells = <0>;
38                 cpu@0 {
39                         compatible = "arm,arm926ej-s";
40                         device_type = "cpu";
41                         reg = <0>;
42                 };
43         };
45         memory@20000000 {
46                 device_type = "memory";
47                 reg = <0x20000000 0x10000000>;
48         };
50         clocks {
51                 slow_xtal: slow_xtal {
52                         compatible = "fixed-clock";
53                         #clock-cells = <0>;
54                 };
56                 main_xtal: main_xtal {
57                         compatible = "fixed-clock";
58                         #clock-cells = <0>;
59                 };
60         };
62         sram: sram@300000 {
63                 compatible = "mmio-sram";
64                 reg = <0x00300000 0x100000>;
65                 #address-cells = <1>;
66                 #size-cells = <1>;
67                 ranges = <0 0x00300000 0x100000>;
68         };
70         ahb {
71                 compatible = "simple-bus";
72                 #address-cells = <1>;
73                 #size-cells = <1>;
74                 ranges;
76                 usb0: gadget@500000 {
77                         #address-cells = <1>;
78                         #size-cells = <0>;
79                         compatible = "microchip,sam9x60-udc";
80                         reg = <0x00500000 0x100000
81                                 0xf803c000 0x400>;
82                         interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
83                         clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
84                         clock-names = "pclk", "hclk";
85                         assigned-clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>;
86                         assigned-clock-rates = <480000000>;
87                         status = "disabled";
88                 };
90                 usb1: ohci@600000 {
91                         compatible = "atmel,at91rm9200-ohci", "usb-ohci";
92                         reg = <0x00600000 0x100000>;
93                         interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
94                         clocks = <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_SYSTEM 6>;
95                         clock-names = "ohci_clk", "hclk", "uhpck";
96                         status = "disabled";
97                 };
99                 usb2: ehci@700000 {
100                         compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
101                         reg = <0x00700000 0x100000>;
102                         interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
103                         clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 22>;
104                         clock-names = "usb_clk", "ehci_clk";
105                         assigned-clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>;
106                         assigned-clock-rates = <480000000>;
107                         status = "disabled";
108                 };
110                 ebi: ebi@10000000 {
111                         compatible = "microchip,sam9x60-ebi";
112                         #address-cells = <2>;
113                         #size-cells = <1>;
114                         atmel,smc = <&smc>;
115                         microchip,sfr = <&sfr>;
116                         reg = <0x10000000 0x60000000>;
117                         ranges = <0x0 0x0 0x10000000 0x10000000
118                                   0x1 0x0 0x20000000 0x10000000
119                                   0x2 0x0 0x30000000 0x10000000
120                                   0x3 0x0 0x40000000 0x10000000
121                                   0x4 0x0 0x50000000 0x10000000
122                                   0x5 0x0 0x60000000 0x10000000>;
123                         clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
124                         status = "disabled";
126                         nand_controller: nand-controller {
127                                 compatible = "microchip,sam9x60-nand-controller";
128                                 ecc-engine = <&pmecc>;
129                                 #address-cells = <2>;
130                                 #size-cells = <1>;
131                                 ranges;
132                                 status = "disabled";
133                         };
134                 };
136                 sdmmc0: sdio-host@80000000 {
137                         compatible = "microchip,sam9x60-sdhci";
138                         reg = <0x80000000 0x300>;
139                         interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
140                         clocks = <&pmc PMC_TYPE_PERIPHERAL 12>, <&pmc PMC_TYPE_GCK 12>;
141                         clock-names = "hclock", "multclk";
142                         assigned-clocks = <&pmc PMC_TYPE_GCK 12>;
143                         assigned-clock-rates = <100000000>;
144                         status = "disabled";
145                 };
147                 sdmmc1: sdio-host@90000000 {
148                         compatible = "microchip,sam9x60-sdhci";
149                         reg = <0x90000000 0x300>;
150                         interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
151                         clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_GCK 26>;
152                         clock-names = "hclock", "multclk";
153                         assigned-clocks = <&pmc PMC_TYPE_GCK 26>;
154                         assigned-clock-rates = <100000000>;
155                         status = "disabled";
156                 };
158                 apb {
159                         compatible = "simple-bus";
160                         #address-cells = <1>;
161                         #size-cells = <1>;
162                         ranges;
164                         flx4: flexcom@f0000000 {
165                                 compatible = "atmel,sama5d2-flexcom";
166                                 reg = <0xf0000000 0x200>;
167                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
168                                 #address-cells = <1>;
169                                 #size-cells = <1>;
170                                 ranges = <0x0 0xf0000000 0x800>;
171                                 status = "disabled";
172                         };
174                         flx5: flexcom@f0004000 {
175                                 compatible = "atmel,sama5d2-flexcom";
176                                 reg = <0xf0004000 0x200>;
177                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
178                                 #address-cells = <1>;
179                                 #size-cells = <1>;
180                                 ranges = <0x0 0xf0004000 0x800>;
181                                 status = "disabled";
182                         };
184                         dma0: dma-controller@f0008000 {
185                                 compatible = "microchip,sam9x60-dma", "atmel,sama5d4-dma";
186                                 reg = <0xf0008000 0x1000>;
187                                 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
188                                 #dma-cells = <1>;
189                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
190                                 clock-names = "dma_clk";
191                         };
193                         ssc: ssc@f0010000 {
194                                 compatible = "atmel,at91sam9g45-ssc";
195                                 reg = <0xf0010000 0x4000>;
196                                 interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
197                                 dmas = <&dma0
198                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
199                                          AT91_XDMAC_DT_PERID(38))>,
200                                        <&dma0
201                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
202                                          AT91_XDMAC_DT_PERID(39))>;
203                                 dma-names = "tx", "rx";
204                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
205                                 clock-names = "pclk";
206                                 status = "disabled";
207                         };
209                         qspi: spi@f0014000 {
210                                 compatible = "microchip,sam9x60-qspi";
211                                 reg = <0xf0014000 0x100>, <0x70000000 0x10000000>;
212                                 reg-names = "qspi_base", "qspi_mmap";
213                                 interrupts = <35 IRQ_TYPE_LEVEL_HIGH 7>;
214                                 dmas = <&dma0
215                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
216                                          AT91_XDMAC_DT_PERID(26))>,
217                                        <&dma0
218                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
219                                          AT91_XDMAC_DT_PERID(27))>;
220                                 dma-names = "tx", "rx";
221                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_SYSTEM 19>;
222                                 clock-names = "pclk", "qspick";
223                                 atmel,pmc = <&pmc>;
224                                 #address-cells = <1>;
225                                 #size-cells = <0>;
226                                 status = "disabled";
227                         };
229                         i2s: i2s@f001c000 {
230                                 compatible = "microchip,sam9x60-i2smcc";
231                                 reg = <0xf001c000 0x100>;
232                                 interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>;
233                                 dmas = <&dma0
234                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
235                                          AT91_XDMAC_DT_PERID(36))>,
236                                        <&dma0
237                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
238                                          AT91_XDMAC_DT_PERID(37))>;
239                                 dma-names = "tx", "rx";
240                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 34>, <&pmc PMC_TYPE_GCK 34>;
241                                 clock-names = "pclk", "gclk";
242                                 status = "disabled";
243                         };
245                         flx11: flexcom@f0020000 {
246                                 compatible = "atmel,sama5d2-flexcom";
247                                 reg = <0xf0020000 0x200>;
248                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
249                                 #address-cells = <1>;
250                                 #size-cells = <1>;
251                                 ranges = <0x0 0xf0020000 0x800>;
252                                 status = "disabled";
253                         };
255                         flx12: flexcom@f0024000 {
256                                 compatible = "atmel,sama5d2-flexcom";
257                                 reg = <0xf0024000 0x200>;
258                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
259                                 #address-cells = <1>;
260                                 #size-cells = <1>;
261                                 ranges = <0x0 0xf0024000 0x800>;
262                                 status = "disabled";
263                         };
265                         pit64b: timer@f0028000 {
266                                 compatible = "microchip,sam9x60-pit64b";
267                                 reg = <0xf0028000 0x100>;
268                                 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 7>;
269                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 37>, <&pmc PMC_TYPE_GCK 37>;
270                                 clock-names = "pclk", "gclk";
271                         };
273                         sha: sha@f002c000 {
274                                 compatible = "atmel,at91sam9g46-sha";
275                                 reg = <0xf002c000 0x100>;
276                                 interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>;
277                                 dmas = <&dma0
278                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
279                                          AT91_XDMAC_DT_PERID(34))>;
280                                 dma-names = "tx";
281                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
282                                 clock-names = "sha_clk";
283                                 status = "okay";
284                         };
286                         trng: trng@f0030000 {
287                                 compatible = "microchip,sam9x60-trng";
288                                 reg = <0xf0030000 0x100>;
289                                 interrupts = <38 IRQ_TYPE_LEVEL_HIGH 0>;
290                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
291                                 status = "okay";
292                         };
294                         aes: aes@f0034000 {
295                                 compatible = "atmel,at91sam9g46-aes";
296                                 reg = <0xf0034000 0x100>;
297                                 interrupts = <39 IRQ_TYPE_LEVEL_HIGH 0>;
298                                 dmas = <&dma0
299                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
300                                          AT91_XDMAC_DT_PERID(32))>,
301                                        <&dma0
302                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
303                                          AT91_XDMAC_DT_PERID(33))>;
304                                 dma-names = "tx", "rx";
305                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
306                                 clock-names = "aes_clk";
307                                 status = "okay";
308                         };
310                         tdes: tdes@f0038000 {
311                                 compatible = "atmel,at91sam9g46-tdes";
312                                 reg = <0xf0038000 0x100>;
313                                 interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>;
314                                 dmas = <&dma0
315                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
316                                          AT91_XDMAC_DT_PERID(31))>,
317                                        <&dma0
318                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
319                                          AT91_XDMAC_DT_PERID(30))>;
320                                 dma-names = "tx", "rx";
321                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
322                                 clock-names = "tdes_clk";
323                                 status = "okay";
324                         };
326                         classd: classd@f003c000 {
327                                 compatible = "atmel,sama5d2-classd";
328                                 reg = <0xf003c000 0x100>;
329                                 interrupts = <42 IRQ_TYPE_LEVEL_HIGH 7>;
330                                 dmas = <&dma0
331                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
332                                          AT91_XDMAC_DT_PERID(35))>;
333                                 dma-names = "tx";
334                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 42>, <&pmc PMC_TYPE_GCK 42>;
335                                 clock-names = "pclk", "gclk";
336                                 status = "disabled";
337                         };
339                         can0: can@f8000000 {
340                                 compatible = "microchip,sam9x60-can", "atmel,at91sam9x5-can";
341                                 reg = <0xf8000000 0x300>;
342                                 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 3>;
343                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 29>;
344                                 clock-names = "can_clk";
345                                 status = "disabled";
346                         };
348                         can1: can@f8004000 {
349                                 compatible = "microchip,sam9x60-can", "atmel,at91sam9x5-can";
350                                 reg = <0xf8004000 0x300>;
351                                 interrupts = <30 IRQ_TYPE_LEVEL_HIGH 3>;
352                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 30>;
353                                 clock-names = "can_clk";
354                                 status = "disabled";
355                         };
357                         tcb0: timer@f8008000 {
358                                 compatible = "microchip,sam9x60-tcb", "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
359                                 #address-cells = <1>;
360                                 #size-cells = <0>;
361                                 reg = <0xf8008000 0x100>;
362                                 interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
363                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&clk32k 0>;
364                                 clock-names = "t0_clk", "slow_clk";
365                         };
367                         tcb1: timer@f800c000 {
368                                 compatible = "microchip,sam9x60-tcb", "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
369                                 #address-cells = <1>;
370                                 #size-cells = <0>;
371                                 reg = <0xf800c000 0x100>;
372                                 interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
373                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 45>, <&clk32k 0>;
374                                 clock-names = "t0_clk", "slow_clk";
375                         };
377                         flx6: flexcom@f8010000 {
378                                 compatible = "atmel,sama5d2-flexcom";
379                                 reg = <0xf8010000 0x200>;
380                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
381                                 #address-cells = <1>;
382                                 #size-cells = <1>;
383                                 ranges = <0x0 0xf8010000 0x800>;
384                                 status = "disabled";
385                         };
387                         flx7: flexcom@f8014000 {
388                                 compatible = "atmel,sama5d2-flexcom";
389                                 reg = <0xf8014000 0x200>;
390                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
391                                 #address-cells = <1>;
392                                 #size-cells = <1>;
393                                 ranges = <0x0 0xf8014000 0x800>;
394                                 status = "disabled";
395                         };
397                         flx8: flexcom@f8018000 {
398                                 compatible = "atmel,sama5d2-flexcom";
399                                 reg = <0xf8018000 0x200>;
400                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
401                                 #address-cells = <1>;
402                                 #size-cells = <1>;
403                                 ranges = <0x0 0xf8018000 0x800>;
404                                 status = "disabled";
405                         };
407                         flx0: flexcom@f801c000 {
408                                 compatible = "atmel,sama5d2-flexcom";
409                                 reg = <0xf801c000 0x200>;
410                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
411                                 #address-cells = <1>;
412                                 #size-cells = <1>;
413                                 ranges = <0x0 0xf801c000 0x800>;
414                                 status = "disabled";
415                         };
417                         flx1: flexcom@f8020000 {
418                                 compatible = "atmel,sama5d2-flexcom";
419                                 reg = <0xf8020000 0x200>;
420                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
421                                 #address-cells = <1>;
422                                 #size-cells = <1>;
423                                 ranges = <0x0 0xf8020000 0x800>;
424                                 status = "disabled";
425                         };
427                         flx2: flexcom@f8024000 {
428                                 compatible = "atmel,sama5d2-flexcom";
429                                 reg = <0xf8024000 0x200>;
430                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
431                                 #address-cells = <1>;
432                                 #size-cells = <1>;
433                                 ranges = <0x0 0xf8024000 0x800>;
434                                 status = "disabled";
435                         };
437                         flx3: flexcom@f8028000 {
438                                 compatible = "atmel,sama5d2-flexcom";
439                                 reg = <0xf8028000 0x200>;
440                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
441                                 #address-cells = <1>;
442                                 #size-cells = <1>;
443                                 ranges = <0x0 0xf8028000 0x800>;
444                                 status = "disabled";
445                         };
447                         macb0: ethernet@f802c000 {
448                                 compatible = "cdns,sam9x60-macb", "cdns,macb";
449                                 reg = <0xf802c000 0x1000>;
450                                 interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
451                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>;
452                                 clock-names = "hclk", "pclk";
453                                 status = "disabled";
454                         };
456                         macb1: ethernet@f8030000 {
457                                 compatible = "cdns,sam9x60-macb", "cdns,macb";
458                                 reg = <0xf8030000 0x1000>;
459                                 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 3>;
460                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 27>, <&pmc PMC_TYPE_PERIPHERAL 27>;
461                                 clock-names = "hclk", "pclk";
462                                 status = "disabled";
463                         };
465                         pwm0: pwm@f8034000 {
466                                 compatible = "microchip,sam9x60-pwm";
467                                 reg = <0xf8034000 0x300>;
468                                 interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
469                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
470                                 #pwm-cells = <3>;
471                                 status="disabled";
472                         };
474                         hlcdc: hlcdc@f8038000 {
475                                 compatible = "microchip,sam9x60-hlcdc";
476                                 reg = <0xf8038000 0x4000>;
477                                 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 0>;
478                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 25>, <&pmc PMC_TYPE_GCK 25>, <&clk32k 1>;
479                                 clock-names = "periph_clk","sys_clk", "slow_clk";
480                                 assigned-clocks = <&pmc PMC_TYPE_GCK 25>;
481                                 assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_MCK>;
482                                 status = "disabled";
484                                 hlcdc-display-controller {
485                                         compatible = "atmel,hlcdc-display-controller";
486                                         #address-cells = <1>;
487                                         #size-cells = <0>;
489                                         port@0 {
490                                                 #address-cells = <1>;
491                                                 #size-cells = <0>;
492                                                 reg = <0>;
493                                         };
494                                 };
496                                 hlcdc_pwm: hlcdc-pwm {
497                                         compatible = "atmel,hlcdc-pwm";
498                                         #pwm-cells = <3>;
499                                 };
500                         };
502                         flx9: flexcom@f8040000 {
503                                 compatible = "atmel,sama5d2-flexcom";
504                                 reg = <0xf8040000 0x200>;
505                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
506                                 #address-cells = <1>;
507                                 #size-cells = <1>;
508                                 ranges = <0x0 0xf8040000 0x800>;
509                                 status = "disabled";
510                         };
512                         flx10: flexcom@f8044000 {
513                                 compatible = "atmel,sama5d2-flexcom";
514                                 reg = <0xf8044000 0x200>;
515                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
516                                 #address-cells = <1>;
517                                 #size-cells = <1>;
518                                 ranges = <0x0 0xf8044000 0x800>;
519                                 status = "disabled";
520                         };
522                         isi: isi@f8048000 {
523                                 compatible = "microchip,sam9x60-isi", "atmel,at91sam9g45-isi";
524                                 reg = <0xf8048000 0x100>;
525                                 interrupts = <43 IRQ_TYPE_LEVEL_HIGH 5>;
526                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 43>;
527                                 clock-names = "isi_clk";
528                                 status = "disabled";
529                                 port {
530                                         #address-cells = <1>;
531                                         #size-cells = <0>;
532                                 };
533                         };
535                         adc: adc@f804c000 {
536                                 compatible = "microchip,sam9x60-adc", "atmel,sama5d2-adc";
537                                 reg = <0xf804c000 0x100>;
538                                 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
539                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
540                                 clock-names = "adc_clk";
541                                 dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | AT91_XDMAC_DT_PERID(40))>;
542                                 dma-names = "rx";
543                                 atmel,min-sample-rate-hz = <200000>;
544                                 atmel,max-sample-rate-hz = <20000000>;
545                                 atmel,startup-time-ms = <4>;
546                                 atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
547                                 #io-channel-cells = <1>;
548                                 status = "disabled";
549                         };
551                         sfr: sfr@f8050000 {
552                                 compatible = "microchip,sam9x60-sfr", "syscon";
553                                 reg = <0xf8050000 0x100>;
554                         };
556                         matrix: matrix@ffffde00 {
557                                 compatible = "microchip,sam9x60-matrix", "atmel,at91sam9x5-matrix", "syscon";
558                                 reg = <0xffffde00 0x200>;
559                         };
561                         pmecc: ecc-engine@ffffe000 {
562                                 compatible = "microchip,sam9x60-pmecc", "atmel,at91sam9g45-pmecc";
563                                 reg = <0xffffe000 0x300>,
564                                       <0xffffe600 0x100>;
565                         };
567                         mpddrc: mpddrc@ffffe800 {
568                                 compatible = "microchip,sam9x60-ddramc", "atmel,sama5d3-ddramc";
569                                 reg = <0xffffe800 0x200>;
570                                 clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_CORE PMC_MCK>;
571                                 clock-names = "ddrck", "mpddr";
572                         };
574                         smc: smc@ffffea00 {
575                                 compatible = "microchip,sam9x60-smc", "atmel,at91sam9260-smc", "syscon";
576                                 reg = <0xffffea00 0x100>;
577                         };
579                         aic: interrupt-controller@fffff100 {
580                                 compatible = "microchip,sam9x60-aic";
581                                 #interrupt-cells = <3>;
582                                 interrupt-controller;
583                                 reg = <0xfffff100 0x100>;
584                                 atmel,external-irqs = <31>;
585                         };
587                         dbgu: serial@fffff200 {
588                                 compatible = "microchip,sam9x60-dbgu", "microchip,sam9x60-usart", "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
589                                 reg = <0xfffff200 0x200>;
590                                 interrupts = <47 IRQ_TYPE_LEVEL_HIGH 7>;
591                                 dmas = <&dma0
592                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
593                                          AT91_XDMAC_DT_PERID(28))>,
594                                        <&dma0
595                                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
596                                          AT91_XDMAC_DT_PERID(29))>;
597                                 dma-names = "tx", "rx";
598                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 47>;
599                                 clock-names = "usart";
600                                 status = "disabled";
601                         };
603                         pinctrl: pinctrl@fffff400 {
604                                 #address-cells = <1>;
605                                 #size-cells = <1>;
606                                 compatible = "microchip,sam9x60-pinctrl", "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
607                                 ranges = <0xfffff400 0xfffff400 0x800>;
609                                 pioA: gpio@fffff400 {
610                                         compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
611                                         reg = <0xfffff400 0x200>;
612                                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
613                                         #gpio-cells = <2>;
614                                         gpio-controller;
615                                         interrupt-controller;
616                                         #interrupt-cells = <2>;
617                                         clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
618                                 };
620                                 pioB: gpio@fffff600 {
621                                         compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
622                                         reg = <0xfffff600 0x200>;
623                                         interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
624                                         #gpio-cells = <2>;
625                                         gpio-controller;
626                                         #gpio-lines = <26>;
627                                         interrupt-controller;
628                                         #interrupt-cells = <2>;
629                                         clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
630                                 };
632                                 pioC: gpio@fffff800 {
633                                         compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
634                                         reg = <0xfffff800 0x200>;
635                                         interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
636                                         #gpio-cells = <2>;
637                                         gpio-controller;
638                                         interrupt-controller;
639                                         #interrupt-cells = <2>;
640                                         clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
641                                 };
643                                 pioD: gpio@fffffa00 {
644                                         compatible = "microchip,sam9x60-gpio", "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
645                                         reg = <0xfffffa00 0x200>;
646                                         interrupts = <44 IRQ_TYPE_LEVEL_HIGH 1>;
647                                         #gpio-cells = <2>;
648                                         gpio-controller;
649                                         #gpio-lines = <22>;
650                                         interrupt-controller;
651                                         #interrupt-cells = <2>;
652                                         clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
653                                 };
654                         };
656                         pmc: pmc@fffffc00 {
657                                 compatible = "microchip,sam9x60-pmc", "syscon";
658                                 reg = <0xfffffc00 0x200>;
659                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
660                                 #clock-cells = <2>;
661                                 clocks = <&clk32k 1>, <&clk32k 0>, <&main_xtal>;
662                                 clock-names = "td_slck", "md_slck", "main_xtal";
663                         };
665                         reset_controller: rstc@fffffe00 {
666                                 compatible = "microchip,sam9x60-rstc";
667                                 reg = <0xfffffe00 0x10>;
668                                 clocks = <&clk32k 0>;
669                         };
671                         shutdown_controller: shdwc@fffffe10 {
672                                 compatible = "microchip,sam9x60-shdwc";
673                                 reg = <0xfffffe10 0x10>;
674                                 clocks = <&clk32k 0>;
675                                 #address-cells = <1>;
676                                 #size-cells = <0>;
677                                 atmel,wakeup-rtc-timer;
678                                 atmel,wakeup-rtt-timer;
679                                 status = "disabled";
680                         };
682                         rtt: rtt@fffffe20 {
683                                 compatible = "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
684                                 reg = <0xfffffe20 0x20>;
685                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
686                                 clocks = <&clk32k 0>;
687                         };
689                         pit: timer@fffffe40 {
690                                 compatible = "atmel,at91sam9260-pit";
691                                 reg = <0xfffffe40 0x10>;
692                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
693                                 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
694                         };
696                         clk32k: sckc@fffffe50 {
697                                 compatible = "microchip,sam9x60-sckc";
698                                 reg = <0xfffffe50 0x4>;
699                                 clocks = <&slow_xtal>;
700                                 #clock-cells = <1>;
701                         };
703                         gpbr: syscon@fffffe60 {
704                                 compatible = "microchip,sam9x60-gpbr", "atmel,at91sam9260-gpbr", "syscon";
705                                 reg = <0xfffffe60 0x10>;
706                         };
708                         rtc: rtc@fffffea8 {
709                                 compatible = "microchip,sam9x60-rtc", "atmel,at91sam9x5-rtc";
710                                 reg = <0xfffffea8 0x100>;
711                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
712                                 clocks = <&clk32k 0>;
713                         };
715                         watchdog: watchdog@ffffff80 {
716                                 compatible = "microchip,sam9x60-wdt";
717                                 reg = <0xffffff80 0x24>;
718                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
719                                 clocks = <&clk32k 0>;
720                                 status = "disabled";
721                         };
722                 };
723         };