]> git.samba.org - sfrench/cifs-2.6.git/blob - arch/arm/boot/dts/at91-sama5d2_icp.dts
fix short copy handling in copy_mc_pipe_to_iter()
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / at91-sama5d2_icp.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board
4  *
5  *  Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
6  *
7  *      Author: Radu Pirea & Razvan Stefanescu,
8  *              Codrin Ciubotariu <codrin.ciubotariu@microchip.com>,
9  *              Cristian Birsan <cristian.birsan@microchip.com>
10  */
11 /dts-v1/;
12 #include "sama5d2.dtsi"
13 #include "sama5d2-pinfunc.h"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/mfd/atmel-flexcom.h>
17
18 / {
19         model = "Microchip SAMA5D2-ICP";
20         compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
21
22         aliases {
23                 serial0 = &uart0;       /* debug uart0 + mikro BUS 1 */
24                 serial1 = &uart1;       /* mikro BUS 3 */
25                 serial3 = &uart3;       /* mikro BUS 2 */
26                 serial5 = &uart7;       /* flx2 */
27                 i2c0    = &i2c0;
28                 i2c1    = &i2c1;
29         };
30
31         chosen {
32                 stdout-path = "serial0:115200n8";
33         };
34
35         clocks {
36                 slow_xtal {
37                         clock-frequency = <32768>;
38                 };
39
40                 main_xtal {
41                         clock-frequency = <12000000>;
42                 };
43         };
44
45         gpio_keys {
46                 compatible = "gpio-keys";
47
48                 pinctrl-names = "default";
49                 pinctrl-0 = <&pinctrl_key_gpio_default>;
50                 status = "okay";
51
52                 sw4 {
53                         label = "USER_PB1";
54                         gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
55                         linux,code = <KEY_PROG1>;
56                         wakeup-source;
57                 };
58         };
59
60         leds {
61                 compatible = "gpio-leds";
62                 pinctrl-names = "default";
63                 pinctrl-0 = <&pinctrl_led_gpio_default>;
64                 status = "okay"; /* conflict with pwm0 */
65
66                 red {
67                         label = "red";
68                         gpios = <&pioA PIN_PB0 GPIO_ACTIVE_HIGH>;
69                 };
70
71                 green {
72                         label = "green";
73                         gpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>;
74                 };
75
76                 blue {
77                         label = "blue";
78                         gpios = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;
79                         linux,default-trigger = "heartbeat";
80                 };
81         };
82 };
83
84 &adc {
85         vddana-supply = <&vdd_io_reg>;
86         vref-supply = <&vdd_io_reg>;
87         pinctrl-names = "default";
88         pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
89         status = "okay";
90 };
91
92 &can0 {
93         pinctrl-names = "default";
94         pinctrl-0 = <&pinctrl_can0_default>;
95         status = "okay";
96 };
97
98 &can1 {
99         pinctrl-names = "default";
100         pinctrl-0 = <&pinctrl_can1_default>;
101         status = "okay";
102 };
103
104 &flx0 { /* mikrobus2 spi */
105         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
106         status = "okay";
107
108         spi2: spi@400 {
109                 dmas = <0>, <0>;
110                 cs-gpios = <&pioA PIN_PC0 GPIO_ACTIVE_LOW>;
111                 pinctrl-names = "default";
112                 pinctrl-0 = <&pinctrl_mikrobus2_spi &pinctrl_ksz_spi_cs>;
113                 status = "okay";
114                 #address-cells = <1>;
115                 #size-cells = <0>;
116
117                 switch0: ksz8563@0 {
118                         compatible = "microchip,ksz8563";
119                         reg = <0>;
120                         reset-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_LOW>;
121
122                         spi-max-frequency = <500000>;
123                         spi-cpha;
124                         spi-cpol;
125
126                         ports {
127                                 #address-cells = <1>;
128                                 #size-cells = <0>;
129                                 port@0 {
130                                         reg = <0>;
131                                         label = "lan1";
132                                 };
133
134                                 port@1 {
135                                         reg = <1>;
136                                         label = "lan2";
137                                 };
138
139                                 port@2 {
140                                         reg = <2>;
141                                         label = "cpu";
142                                         ethernet = <&macb0>;
143                                         phy-mode = "mii";
144                                         fixed-link {
145                                                 speed = <100>;
146                                                 full-duplex;
147                                         };
148                                 };
149                         };
150                 };
151         };
152 };
153
154 &flx2 {
155         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
156         status = "okay";
157
158         uart7: serial@200 {
159                 pinctrl-0 = <&pinctrl_flx2_default>;
160                 pinctrl-names = "default";
161                 atmel,use-dma-rx;
162                 atmel,use-dma-tx;
163                 status = "okay"; /* Conflict w/ qspi1. */
164         };
165 };
166
167 &flx3 { /* mikrobus1 spi */
168         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
169         status = "okay";
170
171         spi5: spi@400 {
172                 dmas = <0>, <0>;
173                 pinctrl-names = "default";
174                 pinctrl-0 = <&pinctrl_mikrobus1_spi &pinctrl_mikrobus1_spi_cs>;
175                 status = "okay";
176         };
177 };
178
179 &flx4 {
180         atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
181         status = "okay";
182
183         i2c6: i2c@600 {
184                 dmas = <0>, <0>;
185                 pinctrl-names = "default";
186                 pinctrl-0 = <&pinctrl_flx4_default>;
187                 i2c-digital-filter;
188                 i2c-digital-filter-width-ns = <35>;
189                 status = "okay";
190
191                 mcp16502@5b {
192                         compatible = "microchip,mcp16502";
193                         reg = <0x5b>;
194                         status = "okay";
195                         lpm-gpios = <&pioBU 7 GPIO_ACTIVE_LOW>;
196
197                         regulators {
198                                 vdd_io_reg: VDD_IO {
199                                         regulator-name = "VDD_IO";
200                                         regulator-min-microvolt = <1200000>;
201                                         regulator-max-microvolt = <3700000>;
202                                         regulator-initial-mode = <2>;
203                                         regulator-allowed-modes = <2>, <4>;
204                                         regulator-always-on;
205
206                                         regulator-state-standby {
207                                                 regulator-on-in-suspend;
208                                                 regulator-mode = <4>;
209                                         };
210
211                                         regulator-state-mem {
212                                                 regulator-off-in-suspend;
213                                                 regulator-mode = <4>;
214                                         };
215                                 };
216
217                                 VDD_DDR {
218                                         regulator-name = "VDD_DDR";
219                                         regulator-min-microvolt = <600000>;
220                                         regulator-max-microvolt = <1850000>;
221                                         regulator-initial-mode = <2>;
222                                         regulator-allowed-modes = <2>, <4>;
223                                         regulator-always-on;
224
225                                         regulator-state-standby {
226                                                 regulator-on-in-suspend;
227                                                 regulator-mode = <4>;
228                                         };
229
230                                         regulator-state-mem {
231                                                 regulator-on-in-suspend;
232                                                 regulator-mode = <4>;
233                                         };
234                                 };
235
236                                 VDD_CORE {
237                                         regulator-name = "VDD_CORE";
238                                         regulator-min-microvolt = <600000>;
239                                         regulator-max-microvolt = <1850000>;
240                                         regulator-initial-mode = <2>;
241                                         regulator-allowed-modes = <2>, <4>;
242                                         regulator-always-on;
243
244                                         regulator-state-standby {
245                                                 regulator-on-in-suspend;
246                                                 regulator-mode = <4>;
247                                         };
248
249                                         regulator-state-mem {
250                                                 regulator-off-in-suspend;
251                                                 regulator-mode = <4>;
252                                         };
253                                 };
254
255                                 VDD_OTHER {
256                                         regulator-name = "VDD_OTHER";
257                                         regulator-min-microvolt = <600000>;
258                                         regulator-max-microvolt = <1850000>;
259                                         regulator-initial-mode = <2>;
260                                         regulator-allowed-modes = <2>, <4>;
261                                         regulator-always-on;
262
263                                         regulator-state-standby {
264                                                 regulator-on-in-suspend;
265                                                 regulator-mode = <4>;
266                                         };
267
268                                         regulator-state-mem {
269                                                 regulator-off-in-suspend;
270                                                 regulator-mode = <4>;
271                                         };
272                                 };
273
274                                 LDO1 {
275                                         regulator-name = "LDO1";
276                                         regulator-min-microvolt = <1200000>;
277                                         regulator-max-microvolt = <3700000>;
278                                         regulator-always-on;
279
280                                         regulator-state-standby {
281                                                 regulator-on-in-suspend;
282                                         };
283
284                                         regulator-state-mem {
285                                                 regulator-off-in-suspend;
286                                         };
287                                 };
288
289                                 LDO2 {
290                                         regulator-name = "LDO2";
291                                         regulator-min-microvolt = <1200000>;
292                                         regulator-max-microvolt = <3700000>;
293                                         regulator-always-on;
294
295                                         regulator-state-standby {
296                                                 regulator-on-in-suspend;
297                                         };
298
299                                         regulator-state-mem {
300                                                 regulator-off-in-suspend;
301                                         };
302                                 };
303
304                         };
305                 };
306         };
307 };
308
309 &i2c0 { /* mikrobus i2c */
310         pinctrl-names = "default", "gpio";
311         pinctrl-0 = <&pinctrl_mikrobus_i2c>;
312         pinctrl-1 = <&pinctrl_i2c0_gpio>;
313         sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
314         scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
315         i2c-digital-filter;
316         i2c-digital-filter-width-ns = <35>;
317         status = "okay";
318 };
319
320 &i2c1 {
321         dmas = <0>, <0>;
322         pinctrl-names = "default", "gpio";
323         pinctrl-0 = <&pinctrl_i2c1_default>;
324         pinctrl-1 = <&pinctrl_i2c1_gpio>;
325         sda-gpios = <&pioA PIN_PD19 GPIO_ACTIVE_HIGH>;
326         scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
327         i2c-digital-filter;
328         i2c-digital-filter-width-ns = <35>;
329         status = "okay";
330
331         eeprom@50 {
332                 compatible = "atmel,24c32";
333                 reg = <0x50>;
334                 pagesize = <16>;
335                 status = "okay";
336         };
337
338         eeprom@52 {
339                 compatible = "atmel,24c32";
340                 reg = <0x52>;
341                 pagesize = <16>;
342                 status = "disabled";
343         };
344
345         eeprom@53 {
346                 compatible = "atmel,24c32";
347                 reg = <0x53>;
348                 pagesize = <16>;
349                 status = "disabled";
350         };
351 };
352
353 &macb0 {
354         pinctrl-names = "default";
355         pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>;
356         phy-mode = "mii";
357         status = "okay";
358
359         fixed-link {
360                 speed = <100>;
361                 full-duplex;
362         };
363 };
364
365 &pioA {
366         pinctrl_adc_default: adc_default {
367                 pinmux = <PIN_PD24__GPIO>,
368                                 <PIN_PD25__GPIO>,
369                                 <PIN_PD26__GPIO>;
370                 bias-disable;
371         };
372
373         /*
374          * The ADTRG pin can work on any edge type.
375          * In here it's being pulled up, so need to
376          * connect it to ground to get an edge e.g.
377          * Trigger can be configured on falling, rise
378          * or any edge, and the pull-up can be changed
379          * to pull-down or left floating according to
380          * needs.
381          */
382         pinctrl_adtrg_default: adtrg_default {
383                 pinmux = <PIN_PD31__ADTRG>;
384                 bias-pull-up;
385         };
386
387         pinctrl_flx4_default: flx4_default {
388                 pinmux = <PIN_PC28__FLEXCOM4_IO0>,
389                          <PIN_PC29__FLEXCOM4_IO1>;
390                 bias-disable;
391         };
392
393         pinctrl_can0_default: can0_default {
394                 pinmux = <PIN_PC10__CANTX0>,
395                          <PIN_PC11__CANRX0>;
396                 bias-disable;
397         };
398
399         pinctrl_can1_default: can1_default {
400                 pinmux = <PIN_PC26__CANTX1>,
401                          <PIN_PC27__CANRX1>;
402                 bias-disable;
403         };
404
405         pinctrl_i2c1_default: i2c1_default {
406                 pinmux = <PIN_PD19__TWD1>,
407                          <PIN_PD20__TWCK1>;
408                 bias-disable;
409         };
410
411         pinctrl_i2c1_gpio: i2c1_gpio {
412                 pinmux = <PIN_PD19__GPIO>,
413                          <PIN_PD20__GPIO>;
414                 bias-disable;
415         };
416
417         pinctrl_key_gpio_default: key_gpio_default {
418                 pinmux = <PIN_PD0__GPIO>;
419                 bias-pull-up;
420         };
421
422         pinctrl_led_gpio_default: led_gpio_default {
423                 pinmux = <PIN_PB0__GPIO>,
424                          <PIN_PB1__GPIO>,
425                          <PIN_PA31__GPIO>;
426                 bias-pull-up;
427         };
428
429         pinctrl_qspi1_default: qspi1_default {
430                 pinmux = <PIN_PA6__QSPI1_SCK>,
431                          <PIN_PA7__QSPI1_IO0>,
432                          <PIN_PA8__QSPI1_IO1>,
433                          <PIN_PA9__QSPI1_IO2>,
434                          <PIN_PA10__QSPI1_IO3>,
435                          <PIN_PA11__QSPI1_CS>;
436                 bias-disable;
437         };
438
439         pinctrl_sdmmc0_default: sdmmc0_default {
440                 cmd_data {
441                         pinmux = <PIN_PA1__SDMMC0_CMD>,
442                                  <PIN_PA2__SDMMC0_DAT0>,
443                                  <PIN_PA3__SDMMC0_DAT1>,
444                                  <PIN_PA4__SDMMC0_DAT2>,
445                                  <PIN_PA5__SDMMC0_DAT3>;
446                         bias-disable;
447                 };
448
449                 ck_cd {
450                         pinmux = <PIN_PA0__SDMMC0_CK>,
451                                  <PIN_PA13__SDMMC0_CD>;
452                         bias-disable;
453                 };
454         };
455
456         pinctrl_sdmmc1_default: sdmmc1_default {
457                 cmd_data {
458                         pinmux = <PIN_PA18__SDMMC1_DAT0>,
459                                  <PIN_PA19__SDMMC1_DAT1>,
460                                  <PIN_PA20__SDMMC1_DAT2>,
461                                  <PIN_PA21__SDMMC1_DAT3>;
462                         bias-disable;
463                 };
464
465                 ck_cd {
466                         pinmux = <PIN_PA22__SDMMC1_CK>,
467                                  <PIN_PA28__SDMMC1_CMD>;
468                         bias-disable;
469                 };
470         };
471
472         pinctrl_mikrobus_i2c: mikrobus_i2c {
473                 pinmux = <PIN_PD22__TWCK0>,
474                          <PIN_PD21__TWD0>;
475                 bias-disable;
476         };
477
478         pinctrl_i2c0_gpio: i2c0_gpio {
479                 pinmux = <PIN_PD21__GPIO>,
480                          <PIN_PD22__GPIO>;
481                 bias-disable;
482         };
483
484         pinctrl_mikrobus1_an: mikrobus1_an {
485                 pinmux = <PIN_PD26__GPIO>;
486                 bias-disable;
487         };
488
489         pinctrl_mikrobus1_rst: mikrobus1_rst {
490                 pinmux = <PIN_PC5__GPIO>;
491                 bias-disable;
492         };
493
494         pinctrl_mikrobus1_spi_cs: mikrobus1_spi_cs {
495                 pinmux = <PIN_PC21__FLEXCOM3_IO3>;
496                 bias-disable;
497         };
498
499         pinctrl_mikrobus1_spi: mikrobus1_spi {
500                 pinmux = <PIN_PC20__FLEXCOM3_IO0>,
501                          <PIN_PC19__FLEXCOM3_IO1>,
502                          <PIN_PC18__FLEXCOM3_IO2>;
503                 bias-disable;
504         };
505
506         pinctrl_mikrobus1_pwm: mikrobus1_pwm {
507                 pinmux = <PIN_PC4__TIOB1>;
508                 bias-disable;
509         };
510
511         pinctrl_mikrobus1_int: mikrobus1_int {
512                 pinmux = <PIN_PC3__GPIO>;
513                 bias-disable;
514         };
515
516         pinctrl_mikrobus1_uart: mikrobus1_uart {
517                 pinmux = <PIN_PB26__URXD0>,
518                          <PIN_PB27__UTXD0>;
519                 bias-disable;
520         };
521
522         pinctrl_mikrobus2_an: mikrobus2_an {
523                 pinmux = <PIN_PD25__GPIO>;
524                 bias-disable;
525         };
526
527         pinctrl_mikrobus2_rst: mikrobus2_rst {
528                 pinmux = <PIN_PB24__GPIO>;
529                 bias-disable;
530         };
531
532         pinctrl_mikrobus2_spi_cs: mikrobus2_spi_cs {
533                 pinmux = <PIN_PB31__FLEXCOM0_IO3>;
534                 bias-disable;
535         };
536
537         pinctrl_mikrobus2_spi: mikrobus2_spi {
538                 pinmux = <PIN_PB28__FLEXCOM0_IO0>,
539                          <PIN_PB29__FLEXCOM0_IO1>,
540                          <PIN_PB30__FLEXCOM0_IO2>;
541                 bias-disable;
542         };
543
544         pinctrl_ksz_spi_cs: ksz_spi_cs {
545                 pinmux = <PIN_PC0__GPIO>;
546                 bias-disable;
547         };
548
549         pinctrl_mikrobus2_pwm: mikrobus2_pwm {
550                 pinmux = <PIN_PB23__TIOB2>;
551                 bias-disable;
552         };
553
554         pinctrl_mikrobus2_int: mikrobus2_int {
555                 pinmux = <PIN_PB22__GPIO>;
556                 bias-disable;
557         };
558
559         pinctrl_mikrobus2_uart: mikrobus2_uart {
560                 pinmux = <PIN_PC12__URXD3>,
561                          <PIN_PC13__UTXD3>;
562                 bias-disable;
563         };
564
565         pinctrl_mikrobus3_an: mikrobus3_an {
566                 pinmux = <PIN_PD24__GPIO>;
567                 bias-disable;
568         };
569
570         pinctrl_mikrobus3_rst: mikrobus3_rst {
571                 pinmux = <PIN_PB21__GPIO>;
572                 bias-disable;
573         };
574
575         pinctrl_mikrobus3_spi_cs: mikrobus3_spi_cs {
576                 pinmux = <PIN_PA17__SPI0_NPCS0>;
577                 bias-disable;
578         };
579
580         pinctrl_mikrobus3_spi: mikrobus3_spi {
581                 pinmux = <PIN_PA14__SPI0_SPCK>,
582                          <PIN_PA16__SPI0_MISO>,
583                          <PIN_PA15__SPI0_MOSI>;
584                 bias-disable;
585         };
586
587         pinctrl_mikrobus3_pwm: mikrobus3_pwm {
588                 pinmux = <PIN_PB20__TIOB3>;
589                 bias-disable;
590         };
591
592         pinctrl_mikrobus3_int: mikrobus3_int {
593                 pinmux = <PIN_PB18__GPIO>;
594                 bias-disable;
595         };
596
597         pinctrl_mikrobus3_uart: mikrobus3_uart {
598                 pinmux = <PIN_PC7__URXD1>,
599                          <PIN_PC8__UTXD1>;
600                 bias-disable;
601         };
602
603         pinctrl_usb_default: usb_default {
604                 pinmux = <PIN_PC17__GPIO>;
605                 bias-disable;
606         };
607
608         pinctrl_usba_vbus: usba_vbus {
609                 pinmux = <PIN_PD23__GPIO>;
610                 bias-disable;
611         };
612
613         pinctrl_pwm0_pwm2_default: pwm0_pwm2_default {
614                 pinmux = <PIN_PB5__PWMH2>,
615                          <PIN_PB6__PWML2>;
616                 bias-pull-up;
617         };
618
619         pinctrl_macb0_default: macb0_default {
620                 pinmux = <PIN_PD1__GRXCK>,
621                          <PIN_PD2__GTXER>,
622                          <PIN_PD5__GRX2>,
623                          <PIN_PD6__GRX3>,
624                          <PIN_PD7__GTX2>,
625                          <PIN_PD8__GTX3>,
626                          <PIN_PD9__GTXCK>,
627                          <PIN_PD10__GTXEN>,
628                          <PIN_PD11__GRXDV>,
629                          <PIN_PD12__GRXER>,
630                          <PIN_PD13__GRX0>,
631                          <PIN_PD14__GRX1>,
632                          <PIN_PD15__GTX0>,
633                          <PIN_PD16__GTX1>,
634                          <PIN_PD17__GMDC>,
635                          <PIN_PD18__GMDIO>;
636                 bias-disable;
637         };
638
639         pinctrl_macb0_phy_irq: macb0_phy_irq {
640                 pinmux = <PIN_PD3__GPIO>;
641                 bias-disable;
642         };
643
644         pinctrl_macb0_rst: macb0_sw_rst {
645                 pinmux = <PIN_PD4__GPIO>;
646                 bias-disable;
647         };
648
649         pinctrl_flx2_default: flx2_default {
650                 pinmux = <PIN_PA6__FLEXCOM2_IO0>,
651                          <PIN_PA7__FLEXCOM2_IO1>,
652                          <PIN_PA9__FLEXCOM2_IO3>,
653                          <PIN_PA10__FLEXCOM2_IO4>;
654                 bias-disable;
655         };
656 };
657
658 &pwm0 {
659         pinctrl-names = "default";
660         pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
661         status = "disabled"; /* conflict with leds, HSIC */
662 };
663
664 &qspi1 {
665         pinctrl-names = "default";
666         pinctrl-0 = <&pinctrl_qspi1_default>;
667         status = "disabled"; /* Conflict with wilc_pwrseq, flx2 */
668
669         flash@0 {
670                 #address-cells = <1>;
671                 #size-cells = <1>;
672                 compatible = "jedec,spi-nor";
673                 reg = <0>;
674                 spi-max-frequency = <80000000>;
675                 spi-tx-bus-width = <4>;
676                 spi-rx-bus-width = <4>;
677                 m25p,fast-read;
678
679                 at91bootstrap@0 {
680                         label = "qspi: at91bootstrap";
681                         reg = <0x00000000 0x00040000>;
682                 };
683
684                 bootloader@40000 {
685                         label = "qspi: bootloader";
686                         reg = <0x00040000 0x000c0000>;
687                 };
688
689                 bootloaderenvred@100000 {
690                         label = "qspi: bootloader env redundant";
691                         reg = <0x00100000 0x00040000>;
692                 };
693
694                 bootloaderenv@140000 {
695                         label = "qspi: bootloader env";
696                         reg = <0x00140000 0x00040000>;
697                 };
698
699                 dtb@180000 {
700                         label = "qspi: device tree";
701                         reg = <0x00180000 0x00080000>;
702                 };
703
704                 kernel@200000 {
705                         label = "qspi: kernel";
706                         reg = <0x00200000 0x00600000>;
707                 };
708         };
709 };
710
711 &sdmmc0 {
712         no-1-8-v;
713         bus-width = <4>;
714         pinctrl-names = "default";
715         pinctrl-0 = <&pinctrl_sdmmc0_default>;
716         status = "okay";
717 };
718
719 &shutdown_controller {
720         debounce-delay-us = <976>;
721         atmel,wakeup-rtc-timer;
722
723         input@0 {
724                 reg = <0>;
725         };
726 };
727
728 &spi0 {  /* mikrobus3 spi */
729         pinctrl-names = "default";
730         pinctrl-0 = <&pinctrl_mikrobus3_spi &pinctrl_mikrobus3_spi_cs>;
731         status = "okay";
732 };
733
734 &tcb0 {
735         timer0: timer@0 {
736                 compatible = "atmel,tcb-timer";
737                 reg = <0>;
738         };
739
740         timer1: timer@1 {
741                 compatible = "atmel,tcb-timer";
742                 reg = <1>;
743         };
744 };
745
746 &uart0 {
747         pinctrl-names = "default";
748         pinctrl-0 = <&pinctrl_mikrobus1_uart>;
749         atmel,use-dma-rx;
750         atmel,use-dma-tx;
751         status = "okay";
752 };
753
754 &uart1 {
755         pinctrl-names = "default";
756         pinctrl-0 = <&pinctrl_mikrobus3_uart>;
757         atmel,use-dma-rx;
758         atmel,use-dma-tx;
759         status = "okay";
760 };
761
762 &uart3 {
763         pinctrl-names = "default";
764         pinctrl-0 = <&pinctrl_mikrobus2_uart>;
765         atmel,use-dma-rx;
766         atmel,use-dma-tx;
767         status = "okay";
768 };
769
770 &usb0 {
771         atmel,vbus-gpio = <&pioA PIN_PD23 GPIO_ACTIVE_HIGH>;
772         pinctrl-names = "default";
773         pinctrl-0 = <&pinctrl_usba_vbus>;
774         status = "okay";
775 };
776
777 &usb1 {
778         num-ports = <3>;
779         pinctrl-names = "default";
780         pinctrl-0 = <&pinctrl_usb_default>;
781         status = "okay";
782 };
783
784 &usb2 {
785         phy_type = "hsic";
786         status = "okay";
787 };
788
789 &watchdog {
790         status = "okay";
791 };