1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_wlsom1_ek.dts - Device Tree file for SAMA5D27 WLSOM1 EK
5 * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
7 * Author: Nicolas Ferre <nicolas.ferre@microcihp.com>
10 #include "at91-sama5d27_wlsom1.dtsi"
13 model = "Microchip SAMA5D27 WLSOM1 EK";
14 compatible = "microchip,sama5d27-wlsom1-ek", "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
17 serial0 = &uart0; /* DBGU */
18 serial1 = &uart6; /* BT */
19 serial2 = &uart5; /* mikro BUS 2 */
20 serial3 = &uart3; /* mikro BUS 1 */
25 stdout-path = "serial0:115200n8";
29 compatible = "gpio-keys";
31 pinctrl-names = "default";
32 pinctrl-0 = <&pinctrl_key_gpio_default>;
36 label = "USER BUTTON";
37 gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-leds";
45 pinctrl-names = "default";
46 pinctrl-0 = <&pinctrl_led_gpio_default>;
51 gpios = <&pioA PIN_PA6 GPIO_ACTIVE_HIGH>;
56 gpios = <&pioA PIN_PA7 GPIO_ACTIVE_HIGH>;
61 gpios = <&pioA PIN_PA8 GPIO_ACTIVE_HIGH>;
62 linux,default-trigger = "heartbeat";
68 vddana-supply = <&vdd_3v3>;
69 vref-supply = <&vdd_3v3>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&pinctrl_adc_default>;
76 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
80 pinctrl-0 = <&pinctrl_flx0_default>;
81 pinctrl-names = "default";
104 * There is no real pinmux for ADC, if the pin
105 * is not requested by another peripheral then
106 * the muxing is done when channel is enabled.
107 * Requesting pins for ADC is GPIO is
108 * encouraged to prevent conflicts and to
109 * disable bias in order to be in the same
110 * state when the pin is not muxed to the adc.
112 pinctrl_adc_default: adc_default {
113 pinmux = <PIN_PD25__GPIO>,
118 pinctrl_flx0_default: flx0_usart_default {
119 pinmux = <PIN_PB28__FLEXCOM0_IO0>,
120 <PIN_PB29__FLEXCOM0_IO1>;
124 pinctrl_key_gpio_default: key_gpio_default {
125 pinmux = <PIN_PB2__GPIO>;
129 pinctrl_led_gpio_default: led_gpio_default {
130 pinmux = <PIN_PA6__GPIO>,
136 pinctrl_sdmmc0_default: sdmmc0_default {
138 pinmux = <PIN_PA1__SDMMC0_CMD>,
139 <PIN_PA2__SDMMC0_DAT0>,
140 <PIN_PA3__SDMMC0_DAT1>,
141 <PIN_PA4__SDMMC0_DAT2>,
142 <PIN_PA5__SDMMC0_DAT3>;
147 pinmux = <PIN_PA0__SDMMC0_CK>,
148 <PIN_PA11__SDMMC0_VDDSEL>,
149 <PIN_PA12__SDMMC0_WP>,
150 <PIN_PA13__SDMMC0_CD>;
155 pinctrl_uart0_default: uart0_default {
156 pinmux = <PIN_PB26__URXD0>,
161 pinctrl_uart3_default: uart3_default {
162 pinmux = <PIN_PB11__URXD3>,
167 pinctrl_pwm0_default: pwm0_default {
168 pinmux = <PIN_PA31__PWML0>,
173 pinctrl_usb_default: usb_default {
174 pinmux = <PIN_PA10__GPIO>;
178 pinctrl_usba_vbus: usba_vbus {
179 pinmux = <PIN_PA16__GPIO>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_pwm0_default>;
193 qspi1_flash: spi_flash@0 {
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_sdmmc0_default>;
206 &shutdown_controller {
207 atmel,shdwc-debouncer = <976>;
208 atmel,wakeup-rtc-timer;
212 atmel,wakeup-type = "low";
218 compatible = "atmel,tcb-timer";
223 compatible = "atmel,tcb-timer";
229 pinctrl-names = "default";
230 pinctrl-0 = <&pinctrl_uart0_default>;
237 pinctrl-names = "default";
238 pinctrl-0 = <&pinctrl_uart3_default>;
245 atmel,vbus-gpio = <&pioA PIN_PA16 GPIO_ACTIVE_HIGH>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_usba_vbus>;
254 &pioA PIN_PA10 GPIO_ACTIVE_HIGH
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_usb_default>;