0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board
0004 *
0005 * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
0006 *
0007 * Author: Radu Pirea & Razvan Stefanescu,
0008 * Codrin Ciubotariu <codrin.ciubotariu@microchip.com>,
0009 * Cristian Birsan <cristian.birsan@microchip.com>
0010 */
0011 /dts-v1/;
0012 #include "sama5d2.dtsi"
0013 #include "sama5d2-pinfunc.h"
0014 #include <dt-bindings/gpio/gpio.h>
0015 #include <dt-bindings/input/input.h>
0016 #include <dt-bindings/mfd/atmel-flexcom.h>
0017
0018 / {
0019 model = "Microchip SAMA5D2-ICP";
0020 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
0021
0022 aliases {
0023 serial0 = &uart0; /* debug uart0 + mikro BUS 1 */
0024 serial1 = &uart1; /* mikro BUS 3 */
0025 serial3 = &uart3; /* mikro BUS 2 */
0026 serial5 = &uart7; /* flx2 */
0027 i2c0 = &i2c0;
0028 i2c1 = &i2c1;
0029 };
0030
0031 chosen {
0032 stdout-path = "serial0:115200n8";
0033 };
0034
0035 clocks {
0036 slow_xtal {
0037 clock-frequency = <32768>;
0038 };
0039
0040 main_xtal {
0041 clock-frequency = <12000000>;
0042 };
0043 };
0044
0045 gpio-keys {
0046 compatible = "gpio-keys";
0047
0048 pinctrl-names = "default";
0049 pinctrl-0 = <&pinctrl_key_gpio_default>;
0050
0051 button-1 {
0052 label = "USER_PB1";
0053 gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
0054 linux,code = <KEY_PROG1>;
0055 wakeup-source;
0056 };
0057 };
0058
0059 leds {
0060 compatible = "gpio-leds";
0061 pinctrl-names = "default";
0062 pinctrl-0 = <&pinctrl_led_gpio_default>;
0063 status = "okay"; /* conflict with pwm0 */
0064
0065 red {
0066 label = "red";
0067 gpios = <&pioA PIN_PB0 GPIO_ACTIVE_HIGH>;
0068 };
0069
0070 green {
0071 label = "green";
0072 gpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>;
0073 };
0074
0075 blue {
0076 label = "blue";
0077 gpios = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;
0078 linux,default-trigger = "heartbeat";
0079 };
0080 };
0081 };
0082
0083 &adc {
0084 vddana-supply = <&vdd_io_reg>;
0085 vref-supply = <&vdd_io_reg>;
0086 pinctrl-names = "default";
0087 pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
0088 status = "okay";
0089 };
0090
0091 &can0 {
0092 pinctrl-names = "default";
0093 pinctrl-0 = <&pinctrl_can0_default>;
0094 status = "okay";
0095 };
0096
0097 &can1 {
0098 pinctrl-names = "default";
0099 pinctrl-0 = <&pinctrl_can1_default>;
0100 status = "okay";
0101 };
0102
0103 &flx0 { /* mikrobus2 spi */
0104 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
0105 status = "okay";
0106
0107 spi2: spi@400 {
0108 dmas = <0>, <0>;
0109 cs-gpios = <&pioA PIN_PC0 GPIO_ACTIVE_LOW>;
0110 pinctrl-names = "default";
0111 pinctrl-0 = <&pinctrl_mikrobus2_spi &pinctrl_ksz_spi_cs>;
0112 status = "okay";
0113 #address-cells = <1>;
0114 #size-cells = <0>;
0115
0116 switch0: ksz8563@0 {
0117 compatible = "microchip,ksz8563";
0118 reg = <0>;
0119 reset-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_LOW>;
0120
0121 spi-max-frequency = <500000>;
0122 spi-cpha;
0123 spi-cpol;
0124
0125 ports {
0126 #address-cells = <1>;
0127 #size-cells = <0>;
0128 port@0 {
0129 reg = <0>;
0130 label = "lan1";
0131 };
0132
0133 port@1 {
0134 reg = <1>;
0135 label = "lan2";
0136 };
0137
0138 port@2 {
0139 reg = <2>;
0140 label = "cpu";
0141 ethernet = <&macb0>;
0142 phy-mode = "mii";
0143 fixed-link {
0144 speed = <100>;
0145 full-duplex;
0146 };
0147 };
0148 };
0149 };
0150 };
0151 };
0152
0153 &flx2 {
0154 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
0155 status = "okay";
0156
0157 uart7: serial@200 {
0158 pinctrl-0 = <&pinctrl_flx2_default>;
0159 pinctrl-names = "default";
0160 atmel,use-dma-rx;
0161 atmel,use-dma-tx;
0162 status = "okay"; /* Conflict w/ qspi1. */
0163 };
0164 };
0165
0166 &flx3 { /* mikrobus1 spi */
0167 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
0168 status = "okay";
0169
0170 spi5: spi@400 {
0171 dmas = <0>, <0>;
0172 pinctrl-names = "default";
0173 pinctrl-0 = <&pinctrl_mikrobus1_spi &pinctrl_mikrobus1_spi_cs>;
0174 status = "okay";
0175 };
0176 };
0177
0178 &flx4 {
0179 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
0180 status = "okay";
0181
0182 i2c6: i2c@600 {
0183 dmas = <0>, <0>;
0184 pinctrl-names = "default";
0185 pinctrl-0 = <&pinctrl_flx4_default>;
0186 i2c-digital-filter;
0187 i2c-digital-filter-width-ns = <35>;
0188 status = "okay";
0189
0190 mcp16502@5b {
0191 compatible = "microchip,mcp16502";
0192 reg = <0x5b>;
0193 status = "okay";
0194 lpm-gpios = <&pioBU 7 GPIO_ACTIVE_LOW>;
0195
0196 regulators {
0197 vdd_io_reg: VDD_IO {
0198 regulator-name = "VDD_IO";
0199 regulator-min-microvolt = <3300000>;
0200 regulator-max-microvolt = <3300000>;
0201 regulator-initial-mode = <2>;
0202 regulator-allowed-modes = <2>, <4>;
0203 regulator-always-on;
0204
0205 regulator-state-standby {
0206 regulator-on-in-suspend;
0207 regulator-mode = <4>;
0208 };
0209
0210 regulator-state-mem {
0211 regulator-off-in-suspend;
0212 regulator-mode = <4>;
0213 };
0214 };
0215
0216 VDD_DDR {
0217 regulator-name = "VDD_DDR";
0218 regulator-min-microvolt = <1350000>;
0219 regulator-max-microvolt = <1350000>;
0220 regulator-initial-mode = <2>;
0221 regulator-allowed-modes = <2>, <4>;
0222 regulator-always-on;
0223
0224 regulator-state-standby {
0225 regulator-on-in-suspend;
0226 regulator-mode = <4>;
0227 };
0228
0229 regulator-state-mem {
0230 regulator-on-in-suspend;
0231 regulator-mode = <4>;
0232 };
0233 };
0234
0235 VDD_CORE {
0236 regulator-name = "VDD_CORE";
0237 regulator-min-microvolt = <1250000>;
0238 regulator-max-microvolt = <1250000>;
0239 regulator-initial-mode = <2>;
0240 regulator-allowed-modes = <2>, <4>;
0241 regulator-always-on;
0242
0243 regulator-state-standby {
0244 regulator-on-in-suspend;
0245 regulator-mode = <4>;
0246 };
0247
0248 regulator-state-mem {
0249 regulator-off-in-suspend;
0250 regulator-mode = <4>;
0251 };
0252 };
0253
0254 VDD_OTHER {
0255 regulator-name = "VDD_OTHER";
0256 regulator-min-microvolt = <600000>;
0257 regulator-max-microvolt = <1850000>;
0258 regulator-initial-mode = <2>;
0259 regulator-allowed-modes = <2>, <4>;
0260
0261 regulator-state-standby {
0262 regulator-on-in-suspend;
0263 regulator-mode = <4>;
0264 };
0265
0266 regulator-state-mem {
0267 regulator-off-in-suspend;
0268 regulator-mode = <4>;
0269 };
0270 };
0271
0272 LDO1 {
0273 regulator-name = "LDO1";
0274 regulator-min-microvolt = <2500000>;
0275 regulator-max-microvolt = <2500000>;
0276 regulator-always-on;
0277
0278 regulator-state-standby {
0279 regulator-on-in-suspend;
0280 };
0281
0282 regulator-state-mem {
0283 regulator-off-in-suspend;
0284 };
0285 };
0286
0287 LDO2 {
0288 regulator-name = "LDO2";
0289 regulator-min-microvolt = <3300000>;
0290 regulator-max-microvolt = <3300000>;
0291 regulator-always-on;
0292
0293 regulator-state-standby {
0294 regulator-on-in-suspend;
0295 };
0296
0297 regulator-state-mem {
0298 regulator-off-in-suspend;
0299 };
0300 };
0301
0302 };
0303 };
0304 };
0305 };
0306
0307 &i2c0 { /* mikrobus i2c */
0308 pinctrl-names = "default", "gpio";
0309 pinctrl-0 = <&pinctrl_mikrobus_i2c>;
0310 pinctrl-1 = <&pinctrl_i2c0_gpio>;
0311 sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
0312 scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0313 i2c-digital-filter;
0314 i2c-digital-filter-width-ns = <35>;
0315 status = "okay";
0316 };
0317
0318 &i2c1 {
0319 dmas = <0>, <0>;
0320 pinctrl-names = "default", "gpio";
0321 pinctrl-0 = <&pinctrl_i2c1_default>;
0322 pinctrl-1 = <&pinctrl_i2c1_gpio>;
0323 sda-gpios = <&pioA PIN_PD19 GPIO_ACTIVE_HIGH>;
0324 scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0325 i2c-digital-filter;
0326 i2c-digital-filter-width-ns = <35>;
0327 status = "okay";
0328
0329 eeprom@50 {
0330 compatible = "atmel,24c02";
0331 reg = <0x50>;
0332 pagesize = <16>;
0333 status = "okay";
0334 };
0335
0336 eeprom@52 {
0337 compatible = "atmel,24c02";
0338 reg = <0x52>;
0339 pagesize = <16>;
0340 status = "disabled";
0341 };
0342
0343 eeprom@53 {
0344 compatible = "atmel,24c02";
0345 reg = <0x53>;
0346 pagesize = <16>;
0347 status = "disabled";
0348 };
0349 };
0350
0351 &macb0 {
0352 pinctrl-names = "default";
0353 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>;
0354 phy-mode = "mii";
0355 status = "okay";
0356
0357 fixed-link {
0358 speed = <100>;
0359 full-duplex;
0360 };
0361 };
0362
0363 &pioA {
0364 pinctrl_adc_default: adc_default {
0365 pinmux = <PIN_PD24__GPIO>,
0366 <PIN_PD25__GPIO>,
0367 <PIN_PD26__GPIO>;
0368 bias-disable;
0369 };
0370
0371 /*
0372 * The ADTRG pin can work on any edge type.
0373 * In here it's being pulled up, so need to
0374 * connect it to ground to get an edge e.g.
0375 * Trigger can be configured on falling, rise
0376 * or any edge, and the pull-up can be changed
0377 * to pull-down or left floating according to
0378 * needs.
0379 */
0380 pinctrl_adtrg_default: adtrg_default {
0381 pinmux = <PIN_PD31__ADTRG>;
0382 bias-pull-up;
0383 };
0384
0385 pinctrl_flx4_default: flx4_default {
0386 pinmux = <PIN_PC28__FLEXCOM4_IO0>,
0387 <PIN_PC29__FLEXCOM4_IO1>;
0388 bias-disable;
0389 };
0390
0391 pinctrl_can0_default: can0_default {
0392 pinmux = <PIN_PC10__CANTX0>,
0393 <PIN_PC11__CANRX0>;
0394 bias-disable;
0395 };
0396
0397 pinctrl_can1_default: can1_default {
0398 pinmux = <PIN_PC26__CANTX1>,
0399 <PIN_PC27__CANRX1>;
0400 bias-disable;
0401 };
0402
0403 pinctrl_i2c1_default: i2c1_default {
0404 pinmux = <PIN_PD19__TWD1>,
0405 <PIN_PD20__TWCK1>;
0406 bias-disable;
0407 };
0408
0409 pinctrl_i2c1_gpio: i2c1_gpio {
0410 pinmux = <PIN_PD19__GPIO>,
0411 <PIN_PD20__GPIO>;
0412 bias-disable;
0413 };
0414
0415 pinctrl_key_gpio_default: key_gpio_default {
0416 pinmux = <PIN_PD0__GPIO>;
0417 bias-pull-up;
0418 };
0419
0420 pinctrl_led_gpio_default: led_gpio_default {
0421 pinmux = <PIN_PB0__GPIO>,
0422 <PIN_PB1__GPIO>,
0423 <PIN_PA31__GPIO>;
0424 bias-pull-up;
0425 };
0426
0427 pinctrl_qspi1_default: qspi1_default {
0428 pinmux = <PIN_PA6__QSPI1_SCK>,
0429 <PIN_PA7__QSPI1_IO0>,
0430 <PIN_PA8__QSPI1_IO1>,
0431 <PIN_PA9__QSPI1_IO2>,
0432 <PIN_PA10__QSPI1_IO3>,
0433 <PIN_PA11__QSPI1_CS>;
0434 bias-disable;
0435 };
0436
0437 pinctrl_sdmmc0_default: sdmmc0_default {
0438 cmd_data {
0439 pinmux = <PIN_PA1__SDMMC0_CMD>,
0440 <PIN_PA2__SDMMC0_DAT0>,
0441 <PIN_PA3__SDMMC0_DAT1>,
0442 <PIN_PA4__SDMMC0_DAT2>,
0443 <PIN_PA5__SDMMC0_DAT3>;
0444 bias-disable;
0445 };
0446
0447 ck_cd {
0448 pinmux = <PIN_PA0__SDMMC0_CK>,
0449 <PIN_PA13__SDMMC0_CD>;
0450 bias-disable;
0451 };
0452 };
0453
0454 pinctrl_sdmmc1_default: sdmmc1_default {
0455 cmd_data {
0456 pinmux = <PIN_PA18__SDMMC1_DAT0>,
0457 <PIN_PA19__SDMMC1_DAT1>,
0458 <PIN_PA20__SDMMC1_DAT2>,
0459 <PIN_PA21__SDMMC1_DAT3>;
0460 bias-disable;
0461 };
0462
0463 ck_cd {
0464 pinmux = <PIN_PA22__SDMMC1_CK>,
0465 <PIN_PA28__SDMMC1_CMD>;
0466 bias-disable;
0467 };
0468 };
0469
0470 pinctrl_mikrobus_i2c: mikrobus_i2c {
0471 pinmux = <PIN_PD22__TWCK0>,
0472 <PIN_PD21__TWD0>;
0473 bias-disable;
0474 };
0475
0476 pinctrl_i2c0_gpio: i2c0_gpio {
0477 pinmux = <PIN_PD21__GPIO>,
0478 <PIN_PD22__GPIO>;
0479 bias-disable;
0480 };
0481
0482 pinctrl_mikrobus1_an: mikrobus1_an {
0483 pinmux = <PIN_PD26__GPIO>;
0484 bias-disable;
0485 };
0486
0487 pinctrl_mikrobus1_rst: mikrobus1_rst {
0488 pinmux = <PIN_PC5__GPIO>;
0489 bias-disable;
0490 };
0491
0492 pinctrl_mikrobus1_spi_cs: mikrobus1_spi_cs {
0493 pinmux = <PIN_PC21__FLEXCOM3_IO3>;
0494 bias-disable;
0495 };
0496
0497 pinctrl_mikrobus1_spi: mikrobus1_spi {
0498 pinmux = <PIN_PC20__FLEXCOM3_IO0>,
0499 <PIN_PC19__FLEXCOM3_IO1>,
0500 <PIN_PC18__FLEXCOM3_IO2>;
0501 bias-disable;
0502 };
0503
0504 pinctrl_mikrobus1_pwm: mikrobus1_pwm {
0505 pinmux = <PIN_PC4__TIOB1>;
0506 bias-disable;
0507 };
0508
0509 pinctrl_mikrobus1_int: mikrobus1_int {
0510 pinmux = <PIN_PC3__GPIO>;
0511 bias-disable;
0512 };
0513
0514 pinctrl_mikrobus1_uart: mikrobus1_uart {
0515 pinmux = <PIN_PB26__URXD0>,
0516 <PIN_PB27__UTXD0>;
0517 bias-disable;
0518 };
0519
0520 pinctrl_mikrobus2_an: mikrobus2_an {
0521 pinmux = <PIN_PD25__GPIO>;
0522 bias-disable;
0523 };
0524
0525 pinctrl_mikrobus2_rst: mikrobus2_rst {
0526 pinmux = <PIN_PB24__GPIO>;
0527 bias-disable;
0528 };
0529
0530 pinctrl_mikrobus2_spi_cs: mikrobus2_spi_cs {
0531 pinmux = <PIN_PB31__FLEXCOM0_IO3>;
0532 bias-disable;
0533 };
0534
0535 pinctrl_mikrobus2_spi: mikrobus2_spi {
0536 pinmux = <PIN_PB28__FLEXCOM0_IO0>,
0537 <PIN_PB29__FLEXCOM0_IO1>,
0538 <PIN_PB30__FLEXCOM0_IO2>;
0539 bias-disable;
0540 };
0541
0542 pinctrl_ksz_spi_cs: ksz_spi_cs {
0543 pinmux = <PIN_PC0__GPIO>;
0544 bias-disable;
0545 };
0546
0547 pinctrl_mikrobus2_pwm: mikrobus2_pwm {
0548 pinmux = <PIN_PB23__TIOB2>;
0549 bias-disable;
0550 };
0551
0552 pinctrl_mikrobus2_int: mikrobus2_int {
0553 pinmux = <PIN_PB22__GPIO>;
0554 bias-disable;
0555 };
0556
0557 pinctrl_mikrobus2_uart: mikrobus2_uart {
0558 pinmux = <PIN_PC12__URXD3>,
0559 <PIN_PC13__UTXD3>;
0560 bias-disable;
0561 };
0562
0563 pinctrl_mikrobus3_an: mikrobus3_an {
0564 pinmux = <PIN_PD24__GPIO>;
0565 bias-disable;
0566 };
0567
0568 pinctrl_mikrobus3_rst: mikrobus3_rst {
0569 pinmux = <PIN_PB21__GPIO>;
0570 bias-disable;
0571 };
0572
0573 pinctrl_mikrobus3_spi_cs: mikrobus3_spi_cs {
0574 pinmux = <PIN_PA17__SPI0_NPCS0>;
0575 bias-disable;
0576 };
0577
0578 pinctrl_mikrobus3_spi: mikrobus3_spi {
0579 pinmux = <PIN_PA14__SPI0_SPCK>,
0580 <PIN_PA16__SPI0_MISO>,
0581 <PIN_PA15__SPI0_MOSI>;
0582 bias-disable;
0583 };
0584
0585 pinctrl_mikrobus3_pwm: mikrobus3_pwm {
0586 pinmux = <PIN_PB20__TIOB3>;
0587 bias-disable;
0588 };
0589
0590 pinctrl_mikrobus3_int: mikrobus3_int {
0591 pinmux = <PIN_PB18__GPIO>;
0592 bias-disable;
0593 };
0594
0595 pinctrl_mikrobus3_uart: mikrobus3_uart {
0596 pinmux = <PIN_PC7__URXD1>,
0597 <PIN_PC8__UTXD1>;
0598 bias-disable;
0599 };
0600
0601 pinctrl_usb_default: usb_default {
0602 pinmux = <PIN_PC17__GPIO>;
0603 bias-disable;
0604 };
0605
0606 pinctrl_usba_vbus: usba_vbus {
0607 pinmux = <PIN_PD23__GPIO>;
0608 bias-disable;
0609 };
0610
0611 pinctrl_pwm0_pwm2_default: pwm0_pwm2_default {
0612 pinmux = <PIN_PB5__PWMH2>,
0613 <PIN_PB6__PWML2>;
0614 bias-pull-up;
0615 };
0616
0617 pinctrl_macb0_default: macb0_default {
0618 pinmux = <PIN_PD1__GRXCK>,
0619 <PIN_PD2__GTXER>,
0620 <PIN_PD5__GRX2>,
0621 <PIN_PD6__GRX3>,
0622 <PIN_PD7__GTX2>,
0623 <PIN_PD8__GTX3>,
0624 <PIN_PD9__GTXCK>,
0625 <PIN_PD10__GTXEN>,
0626 <PIN_PD11__GRXDV>,
0627 <PIN_PD12__GRXER>,
0628 <PIN_PD13__GRX0>,
0629 <PIN_PD14__GRX1>,
0630 <PIN_PD15__GTX0>,
0631 <PIN_PD16__GTX1>,
0632 <PIN_PD17__GMDC>,
0633 <PIN_PD18__GMDIO>;
0634 bias-disable;
0635 };
0636
0637 pinctrl_macb0_phy_irq: macb0_phy_irq {
0638 pinmux = <PIN_PD3__GPIO>;
0639 bias-disable;
0640 };
0641
0642 pinctrl_macb0_rst: macb0_sw_rst {
0643 pinmux = <PIN_PD4__GPIO>;
0644 bias-disable;
0645 };
0646
0647 pinctrl_flx2_default: flx2_default {
0648 pinmux = <PIN_PA6__FLEXCOM2_IO0>,
0649 <PIN_PA7__FLEXCOM2_IO1>,
0650 <PIN_PA9__FLEXCOM2_IO3>,
0651 <PIN_PA10__FLEXCOM2_IO4>;
0652 bias-disable;
0653 };
0654 };
0655
0656 &pwm0 {
0657 pinctrl-names = "default";
0658 pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
0659 status = "disabled"; /* conflict with leds, HSIC */
0660 };
0661
0662 &qspi1 {
0663 pinctrl-names = "default";
0664 pinctrl-0 = <&pinctrl_qspi1_default>;
0665 status = "disabled"; /* Conflict with wilc_pwrseq, flx2 */
0666
0667 flash@0 {
0668 #address-cells = <1>;
0669 #size-cells = <1>;
0670 compatible = "jedec,spi-nor";
0671 reg = <0>;
0672 spi-max-frequency = <80000000>;
0673 spi-tx-bus-width = <4>;
0674 spi-rx-bus-width = <4>;
0675 m25p,fast-read;
0676
0677 at91bootstrap@0 {
0678 label = "qspi: at91bootstrap";
0679 reg = <0x00000000 0x00040000>;
0680 };
0681
0682 bootloader@40000 {
0683 label = "qspi: bootloader";
0684 reg = <0x00040000 0x000c0000>;
0685 };
0686
0687 bootloaderenvred@100000 {
0688 label = "qspi: bootloader env redundant";
0689 reg = <0x00100000 0x00040000>;
0690 };
0691
0692 bootloaderenv@140000 {
0693 label = "qspi: bootloader env";
0694 reg = <0x00140000 0x00040000>;
0695 };
0696
0697 dtb@180000 {
0698 label = "qspi: device tree";
0699 reg = <0x00180000 0x00080000>;
0700 };
0701
0702 kernel@200000 {
0703 label = "qspi: kernel";
0704 reg = <0x00200000 0x00600000>;
0705 };
0706 };
0707 };
0708
0709 &sdmmc0 {
0710 no-1-8-v;
0711 bus-width = <4>;
0712 pinctrl-names = "default";
0713 pinctrl-0 = <&pinctrl_sdmmc0_default>;
0714 status = "okay";
0715 };
0716
0717 &shutdown_controller {
0718 debounce-delay-us = <976>;
0719 atmel,wakeup-rtc-timer;
0720
0721 input@0 {
0722 reg = <0>;
0723 };
0724 };
0725
0726 &spi0 { /* mikrobus3 spi */
0727 pinctrl-names = "default";
0728 pinctrl-0 = <&pinctrl_mikrobus3_spi &pinctrl_mikrobus3_spi_cs>;
0729 status = "okay";
0730 };
0731
0732 &tcb0 {
0733 timer0: timer@0 {
0734 compatible = "atmel,tcb-timer";
0735 reg = <0>;
0736 };
0737
0738 timer1: timer@1 {
0739 compatible = "atmel,tcb-timer";
0740 reg = <1>;
0741 };
0742 };
0743
0744 &uart0 {
0745 pinctrl-names = "default";
0746 pinctrl-0 = <&pinctrl_mikrobus1_uart>;
0747 atmel,use-dma-rx;
0748 atmel,use-dma-tx;
0749 status = "okay";
0750 };
0751
0752 &uart1 {
0753 pinctrl-names = "default";
0754 pinctrl-0 = <&pinctrl_mikrobus3_uart>;
0755 atmel,use-dma-rx;
0756 atmel,use-dma-tx;
0757 status = "okay";
0758 };
0759
0760 &uart3 {
0761 pinctrl-names = "default";
0762 pinctrl-0 = <&pinctrl_mikrobus2_uart>;
0763 atmel,use-dma-rx;
0764 atmel,use-dma-tx;
0765 status = "okay";
0766 };
0767
0768 &usb0 {
0769 atmel,vbus-gpio = <&pioA PIN_PD23 GPIO_ACTIVE_HIGH>;
0770 pinctrl-names = "default";
0771 pinctrl-0 = <&pinctrl_usba_vbus>;
0772 status = "okay";
0773 };
0774
0775 &usb1 {
0776 num-ports = <3>;
0777 pinctrl-names = "default";
0778 pinctrl-0 = <&pinctrl_usb_default>;
0779 status = "okay";
0780 };
0781
0782 &usb2 {
0783 phy_type = "hsic";
0784 status = "okay";
0785 };
0786
0787 &watchdog {
0788 status = "okay";
0789 };