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