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