x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / at91sam9rl.dtsi
blobf4c129a98f176392336f788c933e1a4f01109b0c
1 /*
2  * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC
3  *
4  *  Copyright (C) 2014 Alexandre Belloni <alexandre.belloni@free-electrons.com>
5  *
6  * Licensed under GPLv2 or later.
7  */
9 #include "skeleton.dtsi"
10 #include <dt-bindings/pinctrl/at91.h>
11 #include <dt-bindings/clock/at91.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/pwm/pwm.h>
16 / {
17         model = "Atmel AT91SAM9RL family SoC";
18         compatible = "atmel,at91sam9rl", "atmel,at91sam9";
19         interrupt-parent = <&aic>;
21         aliases {
22                 serial0 = &dbgu;
23                 serial1 = &usart0;
24                 serial2 = &usart1;
25                 serial3 = &usart2;
26                 serial4 = &usart3;
27                 gpio0 = &pioA;
28                 gpio1 = &pioB;
29                 gpio2 = &pioC;
30                 gpio3 = &pioD;
31                 tcb0 = &tcb0;
32                 i2c0 = &i2c0;
33                 i2c1 = &i2c1;
34                 ssc0 = &ssc0;
35                 ssc1 = &ssc1;
36                 pwm0 = &pwm0;
37         };
39         cpus {
40                 #address-cells = <0>;
41                 #size-cells = <0>;
43                 cpu {
44                         compatible = "arm,arm926ej-s";
45                         device_type = "cpu";
46                 };
47         };
49         memory {
50                 reg = <0x20000000 0x04000000>;
51         };
53         clocks {
54                 slow_xtal: slow_xtal {
55                         compatible = "fixed-clock";
56                         #clock-cells = <0>;
57                         clock-frequency = <0>;
58                 };
60                 main_xtal: main_xtal {
61                         compatible = "fixed-clock";
62                         #clock-cells = <0>;
63                         clock-frequency = <0>;
64                 };
66                 adc_op_clk: adc_op_clk{
67                         compatible = "fixed-clock";
68                         #clock-cells = <0>;
69                         clock-frequency = <1000000>;
70                 };
71         };
73         sram: sram@00300000 {
74                 compatible = "mmio-sram";
75                 reg = <0x00300000 0x10000>;
76         };
78         ahb {
79                 compatible = "simple-bus";
80                 #address-cells = <1>;
81                 #size-cells = <1>;
82                 ranges;
84                 fb0: fb@00500000 {
85                         compatible = "atmel,at91sam9rl-lcdc";
86                         reg = <0x00500000 0x1000>;
87                         interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>;
88                         pinctrl-names = "default";
89                         pinctrl-0 = <&pinctrl_fb>;
90                         clocks = <&lcd_clk>, <&lcd_clk>;
91                         clock-names = "hclk", "lcdc_clk";
92                         status = "disabled";
93                 };
95                 nand0: nand@40000000 {
96                         compatible = "atmel,at91rm9200-nand";
97                         #address-cells = <1>;
98                         #size-cells = <1>;
99                         reg = <0x40000000 0x10000000>,
100                               <0xffffe800 0x200>;
101                         atmel,nand-addr-offset = <21>;
102                         atmel,nand-cmd-offset = <22>;
103                         atmel,nand-has-dma;
104                         pinctrl-names = "default";
105                         pinctrl-0 = <&pinctrl_nand>;
106                         gpios = <&pioD 17 GPIO_ACTIVE_HIGH>,
107                                 <&pioB 6 GPIO_ACTIVE_HIGH>,
108                                 <0>;
109                         status = "disabled";
110                 };
112                 apb {
113                         compatible = "simple-bus";
114                         #address-cells = <1>;
115                         #size-cells = <1>;
116                         ranges;
118                         tcb0: timer@fffa0000 {
119                                 compatible = "atmel,at91rm9200-tcb";
120                                 reg = <0xfffa0000 0x100>;
121                                 interrupts = <16 IRQ_TYPE_LEVEL_HIGH 0>,
122                                              <17 IRQ_TYPE_LEVEL_HIGH 0>,
123                                              <18 IRQ_TYPE_LEVEL_HIGH 0>;
124                                 clocks = <&tc0_clk>, <&tc1_clk>, <&tc2_clk>, <&clk32k>;
125                                 clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
126                         };
128                         mmc0: mmc@fffa4000 {
129                                 compatible = "atmel,hsmci";
130                                 reg = <0xfffa4000 0x600>;
131                                 interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
132                                 #address-cells = <1>;
133                                 #size-cells = <0>;
134                                 pinctrl-names = "default";
135                                 clocks = <&mci0_clk>;
136                                 clock-names = "mci_clk";
137                                 status = "disabled";
138                         };
140                         i2c0: i2c@fffa8000 {
141                                 compatible = "atmel,at91sam9260-i2c";
142                                 reg = <0xfffa8000 0x100>;
143                                 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
144                                 #address-cells = <1>;
145                                 #size-cells = <0>;
146                                 clocks = <&twi0_clk>;
147                                 status = "disabled";
148                         };
150                         i2c1: i2c@fffac000 {
151                                 compatible = "atmel,at91sam9260-i2c";
152                                 reg = <0xfffac000 0x100>;
153                                 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
154                                 #address-cells = <1>;
155                                 #size-cells = <0>;
156                                 status = "disabled";
157                         };
159                         usart0: serial@fffb0000 {
160                                 compatible = "atmel,at91sam9260-usart";
161                                 reg = <0xfffb0000 0x200>;
162                                 interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
163                                 atmel,use-dma-rx;
164                                 atmel,use-dma-tx;
165                                 pinctrl-names = "default";
166                                 pinctrl-0 = <&pinctrl_usart0>;
167                                 clocks = <&usart0_clk>;
168                                 clock-names = "usart";
169                                 status = "disabled";
170                         };
172                         usart1: serial@fffb4000 {
173                                 compatible = "atmel,at91sam9260-usart";
174                                 reg = <0xfffb4000 0x200>;
175                                 interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
176                                 atmel,use-dma-rx;
177                                 atmel,use-dma-tx;
178                                 pinctrl-names = "default";
179                                 pinctrl-0 = <&pinctrl_usart1>;
180                                 clocks = <&usart1_clk>;
181                                 clock-names = "usart";
182                                 status = "disabled";
183                         };
185                         usart2: serial@fffb8000 {
186                                 compatible = "atmel,at91sam9260-usart";
187                                 reg = <0xfffb8000 0x200>;
188                                 interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
189                                 atmel,use-dma-rx;
190                                 atmel,use-dma-tx;
191                                 pinctrl-names = "default";
192                                 pinctrl-0 = <&pinctrl_usart2>;
193                                 clocks = <&usart2_clk>;
194                                 clock-names = "usart";
195                                 status = "disabled";
196                         };
198                         usart3: serial@fffbc000 {
199                                 compatible = "atmel,at91sam9260-usart";
200                                 reg = <0xfffbc000 0x200>;
201                                 interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
202                                 atmel,use-dma-rx;
203                                 atmel,use-dma-tx;
204                                 pinctrl-names = "default";
205                                 pinctrl-0 = <&pinctrl_usart3>;
206                                 clocks = <&usart3_clk>;
207                                 clock-names = "usart";
208                                 status = "disabled";
209                         };
211                         ssc0: ssc@fffc0000 {
212                                 compatible = "atmel,at91sam9rl-ssc";
213                                 reg = <0xfffc0000 0x4000>;
214                                 interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
215                                 pinctrl-names = "default";
216                                 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
217                                 status = "disabled";
218                         };
220                         ssc1: ssc@fffc4000 {
221                                 compatible = "atmel,at91sam9rl-ssc";
222                                 reg = <0xfffc4000 0x4000>;
223                                 interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
224                                 pinctrl-names = "default";
225                                 pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
226                                 status = "disabled";
227                         };
229                         pwm0: pwm@fffc8000 {
230                                 compatible = "atmel,at91sam9rl-pwm";
231                                 reg = <0xfffc8000 0x300>;
232                                 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
233                                 #pwm-cells = <3>;
234                                 clocks = <&pwm_clk>;
235                                 clock-names = "pwm_clk";
236                                 status = "disabled";
237                         };
239                         spi0: spi@fffcc000 {
240                                 #address-cells = <1>;
241                                 #size-cells = <0>;
242                                 compatible = "atmel,at91rm9200-spi";
243                                 reg = <0xfffcc000 0x200>;
244                                 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
245                                 pinctrl-names = "default";
246                                 pinctrl-0 = <&pinctrl_spi0>;
247                                 clocks = <&spi0_clk>;
248                                 clock-names = "spi_clk";
249                                 status = "disabled";
250                         };
252                         adc0: adc@fffd0000 {
253                                 #address-cells = <1>;
254                                 #size-cells = <0>;
255                                 compatible = "atmel,at91sam9rl-adc";
256                                 reg = <0xfffd0000 0x100>;
257                                 interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
258                                 clocks = <&adc_clk>, <&adc_op_clk>;
259                                 clock-names = "adc_clk", "adc_op_clk";
260                                 atmel,adc-use-external-triggers;
261                                 atmel,adc-channels-used = <0x3f>;
262                                 atmel,adc-vref = <3300>;
263                                 atmel,adc-startup-time = <40>;
264                                 atmel,adc-res = <8 10>;
265                                 atmel,adc-res-names = "lowres", "highres";
266                                 atmel,adc-use-res = "highres";
268                                 trigger0 {
269                                         trigger-name = "timer-counter-0";
270                                         trigger-value = <0x1>;
271                                 };
272                                 trigger1 {
273                                         trigger-name = "timer-counter-1";
274                                         trigger-value = <0x3>;
275                                 };
277                                 trigger2 {
278                                         trigger-name = "timer-counter-2";
279                                         trigger-value = <0x5>;
280                                 };
282                                 trigger3 {
283                                         trigger-name = "external";
284                                         trigger-value = <0x13>;
285                                         trigger-external;
286                                 };
287                         };
289                         usb0: gadget@fffd4000 {
290                                 #address-cells = <1>;
291                                 #size-cells = <0>;
292                                 compatible = "atmel,at91sam9rl-udc";
293                                 reg = <0x00600000 0x100000>,
294                                       <0xfffd4000 0x4000>;
295                                 interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
296                                 clocks = <&udphs_clk>, <&utmi>;
297                                 clock-names = "pclk", "hclk";
298                                 status = "disabled";
300                                 ep@0 {
301                                         reg = <0>;
302                                         atmel,fifo-size = <64>;
303                                         atmel,nb-banks = <1>;
304                                 };
306                                 ep@1 {
307                                         reg = <1>;
308                                         atmel,fifo-size = <1024>;
309                                         atmel,nb-banks = <2>;
310                                         atmel,can-dma;
311                                         atmel,can-isoc;
312                                 };
314                                 ep@2 {
315                                         reg = <2>;
316                                         atmel,fifo-size = <1024>;
317                                         atmel,nb-banks = <2>;
318                                         atmel,can-dma;
319                                         atmel,can-isoc;
320                                 };
322                                 ep@3 {
323                                         reg = <3>;
324                                         atmel,fifo-size = <1024>;
325                                         atmel,nb-banks = <3>;
326                                         atmel,can-dma;
327                                 };
329                                 ep@4 {
330                                         reg = <4>;
331                                         atmel,fifo-size = <1024>;
332                                         atmel,nb-banks = <3>;
333                                         atmel,can-dma;
334                                 };
336                                 ep@5 {
337                                         reg = <5>;
338                                         atmel,fifo-size = <1024>;
339                                         atmel,nb-banks = <3>;
340                                         atmel,can-dma;
341                                         atmel,can-isoc;
342                                 };
344                                 ep@6 {
345                                         reg = <6>;
346                                         atmel,fifo-size = <1024>;
347                                         atmel,nb-banks = <3>;
348                                         atmel,can-dma;
349                                         atmel,can-isoc;
350                                 };
351                         };
353                         dma0: dma-controller@ffffe600 {
354                                 compatible = "atmel,at91sam9rl-dma";
355                                 reg = <0xffffe600 0x200>;
356                                 interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
357                                 #dma-cells = <2>;
358                                 clocks = <&dma0_clk>;
359                                 clock-names = "dma_clk";
360                         };
362                         ramc0: ramc@ffffea00 {
363                                 compatible = "atmel,at91sam9260-sdramc";
364                                 reg = <0xffffea00 0x200>;
365                         };
367                         aic: interrupt-controller@fffff000 {
368                                 #interrupt-cells = <3>;
369                                 compatible = "atmel,at91rm9200-aic";
370                                 interrupt-controller;
371                                 reg = <0xfffff000 0x200>;
372                                 atmel,external-irqs = <31>;
373                         };
375                         dbgu: serial@fffff200 {
376                                 compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
377                                 reg = <0xfffff200 0x200>;
378                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
379                                 pinctrl-names = "default";
380                                 pinctrl-0 = <&pinctrl_dbgu>;
381                                 clocks = <&mck>;
382                                 clock-names = "usart";
383                                 status = "disabled";
384                         };
386                         pinctrl@fffff400 {
387                                 #address-cells = <1>;
388                                 #size-cells = <1>;
389                                 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
390                                 ranges = <0xfffff400 0xfffff400 0x800>;
392                                 atmel,mux-mask =
393                                         /*    A         B     */
394                                         <0xffffffff 0xe05c6738>,  /* pioA */
395                                         <0xffffffff 0x0000c780>,  /* pioB */
396                                         <0xffffffff 0xe3ffff0e>,  /* pioC */
397                                         <0x003fffff 0x0001ff3c>;  /* pioD */
399                                 /* shared pinctrl settings */
400                                 adc0 {
401                                         pinctrl_adc0_ts: adc0_ts-0 {
402                                                 atmel,pins =
403                                                         <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE>,
404                                                         <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>,
405                                                         <AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>,
406                                                         <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
407                                         };
409                                         pinctrl_adc0_ad0: adc0_ad0-0 {
410                                                 atmel,pins = <AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE>;
411                                         };
413                                         pinctrl_adc0_ad1: adc0_ad1-0 {
414                                                 atmel,pins = <AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;
415                                         };
417                                         pinctrl_adc0_ad2: adc0_ad2-0 {
418                                                 atmel,pins = <AT91_PIOA 19 AT91_PERIPH_A AT91_PINCTRL_NONE>;
419                                         };
421                                         pinctrl_adc0_ad3: adc0_ad3-0 {
422                                                 atmel,pins = <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
423                                         };
425                                         pinctrl_adc0_ad4: adc0_ad4-0 {
426                                                 atmel,pins = <AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE>;
427                                         };
429                                         pinctrl_adc0_ad5: adc0_ad5-0 {
430                                                 atmel,pins = <AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE>;
431                                         };
433                                         pinctrl_adc0_adtrg: adc0_adtrg-0 {
434                                                 atmel,pins = <AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
435                                         };
436                                 };
438                                 dbgu {
439                                         pinctrl_dbgu: dbgu-0 {
440                                                 atmel,pins =
441                                                         <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
442                                                         <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
443                                         };
444                                 };
446                                 fb {
447                                         pinctrl_fb: fb-0 {
448                                                 atmel,pins =
449                                                         <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>,
450                                                         <AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE>,
451                                                         <AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE>,
452                                                         <AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE>,
453                                                         <AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE>,
454                                                         <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>,
455                                                         <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE>,
456                                                         <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>,
457                                                         <AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE>,
458                                                         <AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_NONE>,
459                                                         <AT91_PIOC 15 AT91_PERIPH_B AT91_PINCTRL_NONE>,
460                                                         <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE>,
461                                                         <AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE>,
462                                                         <AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE>,
463                                                         <AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>,
464                                                         <AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE>,
465                                                         <AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>,
466                                                         <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_NONE>,
467                                                         <AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>,
468                                                         <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>,
469                                                         <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>;
470                                         };
471                                 };
473                                 i2c_gpio0 {
474                                         pinctrl_i2c_gpio0: i2c_gpio0-0 {
475                                                 atmel,pins =
476                                                         <AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>,
477                                                         <AT91_PIOA 24 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
478                                         };
479                                 };
481                                 i2c_gpio1 {
482                                         pinctrl_i2c_gpio1: i2c_gpio1-0 {
483                                                 atmel,pins =
484                                                         <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>,
485                                                         <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
486                                         };
487                                 };
489                                 mmc0 {
490                                         pinctrl_mmc0_clk: mmc0_clk-0 {
491                                                 atmel,pins =
492                                                         <AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
493                                         };
495                                         pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
496                                                 atmel,pins =
497                                                         <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
498                                                         <AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
499                                         };
501                                         pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
502                                                 atmel,pins =
503                                                         <AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
504                                                         <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
505                                                         <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
506                                         };
507                                 };
509                                 nand {
510                                         pinctrl_nand: nand-0 {
511                                                 atmel,pins =
512                                                         <AT91_PIOD 17 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>,
513                                                         <AT91_PIOB 6 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
514                                         };
516                                         pinctrl_nand0_ale_cle: nand_ale_cle-0 {
517                                                 atmel,pins =
518                                                         <AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>,
519                                                         <AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE>;
520                                         };
522                                         pinctrl_nand0_oe_we: nand_oe_we-0 {
523                                                 atmel,pins =
524                                                         <AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE>,
525                                                         <AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>;
526                                         };
528                                         pinctrl_nand0_cs: nand_cs-0 {
529                                                 atmel,pins =
530                                                         <AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE>;
531                                         };
532                                 };
534                                 pwm0 {
535                                         pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
536                                                 atmel,pins = <AT91_PIOB 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
537                                         };
539                                         pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
540                                                 atmel,pins = <AT91_PIOC 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
541                                         };
543                                         pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
544                                                 atmel,pins = <AT91_PIOD 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
545                                         };
547                                         pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
548                                                 atmel,pins = <AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;
549                                         };
551                                         pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
552                                                 atmel,pins = <AT91_PIOC 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
553                                         };
555                                         pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
556                                                 atmel,pins = <AT91_PIOD 15 AT91_PERIPH_B AT91_PINCTRL_NONE>;
557                                         };
559                                         pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
560                                                 atmel,pins = <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
561                                         };
563                                         pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
564                                                 atmel,pins = <AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;
565                                         };
567                                         pinctrl_pwm0_pwm2_2: pwm0_pwm2-2 {
568                                                 atmel,pins = <AT91_PIOD 16 AT91_PERIPH_B AT91_PINCTRL_NONE>;
569                                         };
571                                         pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
572                                                 atmel,pins = <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>;
573                                         };
575                                         pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
576                                                 atmel,pins = <AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_NONE>;
577                                         };
578                                 };
580                                 spi0 {
581                                         pinctrl_spi0: spi0-0 {
582                                                 atmel,pins =
583                                                         <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>,
584                                                         <AT91_PIOA 26 AT91_PERIPH_A AT91_PINCTRL_NONE>,
585                                                         <AT91_PIOA 27 AT91_PERIPH_A AT91_PINCTRL_NONE>;
586                                         };
587                                 };
589                                 ssc0 {
590                                         pinctrl_ssc0_tx: ssc0_tx-0 {
591                                                 atmel,pins =
592                                                         <AT91_PIOA 15 AT91_PERIPH_A AT91_PINCTRL_NONE>,
593                                                         <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE>,
594                                                         <AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
595                                         };
597                                         pinctrl_ssc0_rx: ssc0_rx-0 {
598                                                 atmel,pins =
599                                                         <AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE>,
600                                                         <AT91_PIOA 16 AT91_PERIPH_A AT91_PINCTRL_NONE>,
601                                                         <AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE>;
602                                         };
603                                 };
605                                 ssc1 {
606                                         pinctrl_ssc1_tx: ssc1_tx-0 {
607                                                 atmel,pins =
608                                                         <AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>,
609                                                         <AT91_PIOA 29 AT91_PERIPH_B AT91_PINCTRL_NONE>,
610                                                         <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;
611                                         };
613                                         pinctrl_ssc1_rx: ssc1_rx-0 {
614                                                 atmel,pins =
615                                                         <AT91_PIOA 8 AT91_PERIPH_B AT91_PINCTRL_NONE>,
616                                                         <AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE>,
617                                                         <AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
618                                         };
619                                 };
621                                 tcb0 {
622                                         pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
623                                                 atmel,pins = <AT91_PIOA 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
624                                         };
626                                         pinctrl_tcb0_tclk1: tcb0_tclk1-0 {
627                                                 atmel,pins = <AT91_PIOC 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;
628                                         };
630                                         pinctrl_tcb0_tclk2: tcb0_tclk2-0 {
631                                                 atmel,pins = <AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
632                                         };
634                                         pinctrl_tcb0_tioa0: tcb0_tioa0-0 {
635                                                 atmel,pins = <AT91_PIOA 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
636                                         };
638                                         pinctrl_tcb0_tioa1: tcb0_tioa1-0 {
639                                                 atmel,pins = <AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE>;
640                                         };
642                                         pinctrl_tcb0_tioa2: tcb0_tioa2-0 {
643                                                 atmel,pins = <AT91_PIOD 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
644                                         };
646                                         pinctrl_tcb0_tiob0: tcb0_tiob0-0 {
647                                                 atmel,pins = <AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
648                                         };
650                                         pinctrl_tcb0_tiob1: tcb0_tiob1-0 {
651                                                 atmel,pins = <AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE>;
652                                         };
654                                         pinctrl_tcb0_tiob2: tcb0_tiob2-0 {
655                                                 atmel,pins = <AT91_PIOD 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
656                                         };
657                                 };
659                                 usart0 {
660                                         pinctrl_usart0: usart0-0 {
661                                                 atmel,pins =
662                                                         <AT91_PIOA 6 AT91_PERIPH_A AT91_PINCTRL_NONE>,
663                                                         <AT91_PIOA 7 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
664                                         };
666                                         pinctrl_usart0_rts: usart0_rts-0 {
667                                                 atmel,pins =
668                                                         <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>;
669                                         };
671                                         pinctrl_usart0_cts: usart0_cts-0 {
672                                                 atmel,pins =
673                                                         <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>;
674                                         };
676                                         pinctrl_usart0_dtr_dsr: usart0_dtr_dsr-0 {
677                                                 atmel,pins =
678                                                         <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_NONE>,
679                                                         <AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
680                                         };
682                                         pinctrl_usart0_dcd: usart0_dcd-0 {
683                                                 atmel,pins =
684                                                         <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>;
685                                         };
687                                         pinctrl_usart0_ri: usart0_ri-0 {
688                                                 atmel,pins =
689                                                         <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>;
690                                         };
692                                         pinctrl_usart0_sck: usart0_sck-0 {
693                                                 atmel,pins =
694                                                         <AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;
695                                         };
696                                 };
698                                 usart1 {
699                                         pinctrl_usart1: usart1-0 {
700                                                 atmel,pins =
701                                                         <AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
702                                                         <AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE>;
703                                         };
705                                         pinctrl_usart1_rts: usart1_rts-0 {
706                                                 atmel,pins =
707                                                         <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
708                                         };
710                                         pinctrl_usart1_cts: usart1_cts-0 {
711                                                 atmel,pins =
712                                                         <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
713                                         };
715                                         pinctrl_usart1_sck: usart1_sck-0 {
716                                                 atmel,pins =
717                                                         <AT91_PIOD 2 AT91_PERIPH_B AT91_PINCTRL_NONE>;
718                                         };
719                                 };
721                                 usart2 {
722                                         pinctrl_usart2: usart2-0 {
723                                                 atmel,pins =
724                                                         <AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
725                                                         <AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE>;
726                                         };
728                                         pinctrl_usart2_rts: usart2_rts-0 {
729                                                 atmel,pins =
730                                                         <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>;
731                                         };
733                                         pinctrl_usart2_cts: usart2_cts-0 {
734                                                 atmel,pins =
735                                                         <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE>;
736                                         };
738                                         pinctrl_usart2_sck: usart2_sck-0 {
739                                                 atmel,pins =
740                                                         <AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE>;
741                                         };
742                                 };
744                                 usart3 {
745                                         pinctrl_usart3: usart3-0 {
746                                                 atmel,pins =
747                                                         <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
748                                                         <AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
749                                         };
751                                         pinctrl_usart3_rts: usart3_rts-0 {
752                                                 atmel,pins =
753                                                         <AT91_PIOD 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
754                                         };
756                                         pinctrl_usart3_cts: usart3_cts-0 {
757                                                 atmel,pins =
758                                                         <AT91_PIOD 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
759                                         };
761                                         pinctrl_usart3_sck: usart3_sck-0 {
762                                                 atmel,pins =
763                                                         <AT91_PIOA 20 AT91_PERIPH_B AT91_PINCTRL_NONE>;
764                                         };
765                                 };
767                                 pioA: gpio@fffff400 {
768                                         compatible = "atmel,at91rm9200-gpio";
769                                         reg = <0xfffff400 0x200>;
770                                         interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
771                                         #gpio-cells = <2>;
772                                         gpio-controller;
773                                         interrupt-controller;
774                                         #interrupt-cells = <2>;
775                                         clocks = <&pioA_clk>;
776                                 };
778                                 pioB: gpio@fffff600 {
779                                         compatible = "atmel,at91rm9200-gpio";
780                                         reg = <0xfffff600 0x200>;
781                                         interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
782                                         #gpio-cells = <2>;
783                                         gpio-controller;
784                                         interrupt-controller;
785                                         #interrupt-cells = <2>;
786                                         clocks = <&pioB_clk>;
787                                 };
789                                 pioC: gpio@fffff800 {
790                                         compatible = "atmel,at91rm9200-gpio";
791                                         reg = <0xfffff800 0x200>;
792                                         interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
793                                         #gpio-cells = <2>;
794                                         gpio-controller;
795                                         interrupt-controller;
796                                         #interrupt-cells = <2>;
797                                         clocks = <&pioC_clk>;
798                                 };
800                                 pioD: gpio@fffffa00 {
801                                         compatible = "atmel,at91rm9200-gpio";
802                                         reg = <0xfffffa00 0x200>;
803                                         interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
804                                         #gpio-cells = <2>;
805                                         gpio-controller;
806                                         interrupt-controller;
807                                         #interrupt-cells = <2>;
808                                         clocks = <&pioD_clk>;
809                                 };
810                         };
812                         pmc: pmc@fffffc00 {
813                                 compatible = "atmel,at91sam9g45-pmc", "syscon";
814                                 reg = <0xfffffc00 0x100>;
815                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
816                                 interrupt-controller;
817                                 #address-cells = <1>;
818                                 #size-cells = <0>;
819                                 #interrupt-cells = <1>;
821                                 main: mainck {
822                                         compatible = "atmel,at91rm9200-clk-main";
823                                         #clock-cells = <0>;
824                                         interrupts-extended = <&pmc AT91_PMC_MOSCS>;
825                                         clocks = <&main_xtal>;
826                                 };
828                                 plla: pllack {
829                                         compatible = "atmel,at91rm9200-clk-pll";
830                                         #clock-cells = <0>;
831                                         interrupts-extended = <&pmc AT91_PMC_LOCKA>;
832                                         clocks = <&main>;
833                                         reg = <0>;
834                                         atmel,clk-input-range = <1000000 32000000>;
835                                         #atmel,pll-clk-output-range-cells = <3>;
836                                         atmel,pll-clk-output-ranges = <80000000 200000000 0>,
837                                                                 <190000000 240000000 2>;
838                                 };
840                                 utmi: utmick {
841                                         compatible = "atmel,at91sam9x5-clk-utmi";
842                                         #clock-cells = <0>;
843                                         interrupt-parent = <&pmc>;
844                                         interrupts = <AT91_PMC_LOCKU>;
845                                         clocks = <&main>;
846                                 };
848                                 mck: masterck {
849                                         compatible = "atmel,at91rm9200-clk-master";
850                                         #clock-cells = <0>;
851                                         interrupts-extended = <&pmc AT91_PMC_MCKRDY>;
852                                         clocks = <&clk32k>, <&main>, <&plla>, <&utmi>;
853                                         atmel,clk-output-range = <0 94000000>;
854                                         atmel,clk-divisors = <1 2 4 0>;
855                                 };
857                                 prog: progck {
858                                         compatible = "atmel,at91rm9200-clk-programmable";
859                                         #address-cells = <1>;
860                                         #size-cells = <0>;
861                                         interrupt-parent = <&pmc>;
862                                         clocks = <&clk32k>, <&main>, <&plla>, <&utmi>, <&mck>;
864                                         prog0: prog0 {
865                                                 #clock-cells = <0>;
866                                                 reg = <0>;
867                                                 interrupts = <AT91_PMC_PCKRDY(0)>;
868                                         };
870                                         prog1: prog1 {
871                                                 #clock-cells = <0>;
872                                                 reg = <1>;
873                                                 interrupts = <AT91_PMC_PCKRDY(1)>;
874                                         };
875                                 };
877                                 systemck {
878                                         compatible = "atmel,at91rm9200-clk-system";
879                                         #address-cells = <1>;
880                                         #size-cells = <0>;
882                                         pck0: pck0 {
883                                                 #clock-cells = <0>;
884                                                 reg = <8>;
885                                                 clocks = <&prog0>;
886                                         };
888                                         pck1: pck1 {
889                                                 #clock-cells = <0>;
890                                                 reg = <9>;
891                                                 clocks = <&prog1>;
892                                         };
894                                 };
896                                 periphck {
897                                         compatible = "atmel,at91rm9200-clk-peripheral";
898                                         #address-cells = <1>;
899                                         #size-cells = <0>;
900                                         clocks = <&mck>;
902                                         pioA_clk: pioA_clk {
903                                                 #clock-cells = <0>;
904                                                 reg = <2>;
905                                         };
907                                         pioB_clk: pioB_clk {
908                                                 #clock-cells = <0>;
909                                                 reg = <3>;
910                                         };
912                                         pioC_clk: pioC_clk {
913                                                 #clock-cells = <0>;
914                                                 reg = <4>;
915                                         };
917                                         pioD_clk: pioD_clk {
918                                                 #clock-cells = <0>;
919                                                 reg = <5>;
920                                         };
922                                         usart0_clk: usart0_clk {
923                                                 #clock-cells = <0>;
924                                                 reg = <6>;
925                                         };
927                                         usart1_clk: usart1_clk {
928                                                 #clock-cells = <0>;
929                                                 reg = <7>;
930                                         };
932                                         usart2_clk: usart2_clk {
933                                                 #clock-cells = <0>;
934                                                 reg = <8>;
935                                         };
937                                         usart3_clk: usart3_clk {
938                                                 #clock-cells = <0>;
939                                                 reg = <9>;
940                                         };
942                                         mci0_clk: mci0_clk {
943                                                 #clock-cells = <0>;
944                                                 reg = <10>;
945                                         };
947                                         twi0_clk: twi0_clk {
948                                                 #clock-cells = <0>;
949                                                 reg = <11>;
950                                         };
952                                         twi1_clk: twi1_clk {
953                                                 #clock-cells = <0>;
954                                                 reg = <12>;
955                                         };
957                                         spi0_clk: spi0_clk {
958                                                 #clock-cells = <0>;
959                                                 reg = <13>;
960                                         };
962                                         ssc0_clk: ssc0_clk {
963                                                 #clock-cells = <0>;
964                                                 reg = <14>;
965                                         };
967                                         ssc1_clk: ssc1_clk {
968                                                 #clock-cells = <0>;
969                                                 reg = <15>;
970                                         };
972                                         tc0_clk: tc0_clk {
973                                                 #clock-cells = <0>;
974                                                 reg = <16>;
975                                         };
977                                         tc1_clk: tc1_clk {
978                                                 #clock-cells = <0>;
979                                                 reg = <17>;
980                                         };
982                                         tc2_clk: tc2_clk {
983                                                 #clock-cells = <0>;
984                                                 reg = <18>;
985                                         };
987                                         pwm_clk: pwm_clk {
988                                                 #clock-cells = <0>;
989                                                 reg = <19>;
990                                         };
992                                         adc_clk: adc_clk {
993                                                 #clock-cells = <0>;
994                                                 reg = <20>;
995                                         };
997                                         dma0_clk: dma0_clk {
998                                                 #clock-cells = <0>;
999                                                 reg = <21>;
1000                                         };
1002                                         udphs_clk: udphs_clk {
1003                                                 #clock-cells = <0>;
1004                                                 reg = <22>;
1005                                         };
1007                                         lcd_clk: lcd_clk {
1008                                                 #clock-cells = <0>;
1009                                                 reg = <23>;
1010                                         };
1011                                 };
1012                         };
1014                         rstc@fffffd00 {
1015                                 compatible = "atmel,at91sam9260-rstc";
1016                                 reg = <0xfffffd00 0x10>;
1017                                 clocks = <&clk32k>;
1018                         };
1020                         shdwc@fffffd10 {
1021                                 compatible = "atmel,at91sam9260-shdwc";
1022                                 reg = <0xfffffd10 0x10>;
1023                                 clocks = <&clk32k>;
1024                         };
1026                         pit: timer@fffffd30 {
1027                                 compatible = "atmel,at91sam9260-pit";
1028                                 reg = <0xfffffd30 0xf>;
1029                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1030                                 clocks = <&mck>;
1031                         };
1033                         watchdog@fffffd40 {
1034                                 compatible = "atmel,at91sam9260-wdt";
1035                                 reg = <0xfffffd40 0x10>;
1036                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1037                                 clocks = <&clk32k>;
1038                                 status = "disabled";
1039                         };
1041                         sckc@fffffd50 {
1042                                 compatible = "atmel,at91sam9x5-sckc";
1043                                 reg = <0xfffffd50 0x4>;
1045                                 slow_osc: slow_osc {
1046                                         compatible = "atmel,at91sam9x5-clk-slow-osc";
1047                                         #clock-cells = <0>;
1048                                         atmel,startup-time-usec = <1200000>;
1049                                         clocks = <&slow_xtal>;
1050                                 };
1052                                 slow_rc_osc: slow_rc_osc {
1053                                         compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
1054                                         #clock-cells = <0>;
1055                                         atmel,startup-time-usec = <75>;
1056                                         clock-frequency = <32768>;
1057                                         clock-accuracy = <50000000>;
1058                                 };
1060                                 clk32k: slck {
1061                                         compatible = "atmel,at91sam9x5-clk-slow";
1062                                         #clock-cells = <0>;
1063                                         clocks = <&slow_rc_osc &slow_osc>;
1064                                 };
1065                         };
1067                         rtc@fffffd20 {
1068                                 compatible = "atmel,at91sam9260-rtt";
1069                                 reg = <0xfffffd20 0x10>;
1070                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1071                                 clocks = <&clk32k>;
1072                                 status = "disabled";
1073                         };
1075                         gpbr: syscon@fffffd60 {
1076                                 compatible = "atmel,at91sam9260-gpbr", "syscon";
1077                                 reg = <0xfffffd60 0x10>;
1078                                 status = "disabled";
1079                         };
1081                         rtc@fffffe00 {
1082                                 compatible = "atmel,at91rm9200-rtc";
1083                                 reg = <0xfffffe00 0x40>;
1084                                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
1085                                 clocks = <&clk32k>;
1086                                 status = "disabled";
1087                         };
1089                 };
1090         };
1092         i2c-gpio-0 {
1093                 compatible = "i2c-gpio";
1094                 gpios = <&pioA 23 GPIO_ACTIVE_HIGH>, /* sda */
1095                         <&pioA 24 GPIO_ACTIVE_HIGH>; /* scl */
1096                 i2c-gpio,sda-open-drain;
1097                 i2c-gpio,scl-open-drain;
1098                 i2c-gpio,delay-us = <2>;        /* ~100 kHz */
1099                 #address-cells = <1>;
1100                 #size-cells = <0>;
1101                 pinctrl-names = "default";
1102                 pinctrl-0 = <&pinctrl_i2c_gpio0>;
1103                 status = "disabled";
1104         };
1106         i2c-gpio-1 {
1107                 compatible = "i2c-gpio";
1108                 gpios = <&pioD 10 GPIO_ACTIVE_HIGH>, /* sda */
1109                         <&pioD 11 GPIO_ACTIVE_HIGH>; /* scl */
1110                 i2c-gpio,sda-open-drain;
1111                 i2c-gpio,scl-open-drain;
1112                 i2c-gpio,delay-us = <2>;        /* ~100 kHz */
1113                 #address-cells = <1>;
1114                 #size-cells = <0>;
1115                 pinctrl-names = "default";
1116                 pinctrl-0 = <&pinctrl_i2c_gpio1>;
1117                 status = "disabled";
1118         };