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