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"
11 #include <dt-bindings/input/input.h>
14 model = "Microchip SAMA5D27 WLSOM1 EK";
15 compatible = "microchip,sama5d27-wlsom1-ek", "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
18 serial0 = &uart0; /* DBGU */
19 serial1 = &uart6; /* BT */
20 serial2 = &uart5; /* mikro BUS 2 */
21 serial3 = &uart3; /* mikro BUS 1 */
26 stdout-path = "serial0:115200n8";
30 compatible = "gpio-keys";
32 pinctrl-names = "default";
33 pinctrl-0 = <&pinctrl_key_gpio_default>;
37 label = "USER BUTTON";
38 gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_PROG1>;
45 compatible = "gpio-leds";
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_led_gpio_default>;
52 gpios = <&pioA PIN_PA6 GPIO_ACTIVE_HIGH>;
57 gpios = <&pioA PIN_PA7 GPIO_ACTIVE_HIGH>;
62 gpios = <&pioA PIN_PA8 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "heartbeat";
69 vddana-supply = <&vdd_3v3>;
70 vref-supply = <&vdd_3v3>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_adc_default>;
77 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
81 pinctrl-0 = <&pinctrl_flx0_default>;
82 pinctrl-names = "default";
105 * There is no real pinmux for ADC, if the pin
106 * is not requested by another peripheral then
107 * the muxing is done when channel is enabled.
108 * Requesting pins for ADC is GPIO is
109 * encouraged to prevent conflicts and to
110 * disable bias in order to be in the same
111 * state when the pin is not muxed to the adc.
113 pinctrl_adc_default: adc_default {
114 pinmux = <PIN_PD25__GPIO>,
119 pinctrl_flx0_default: flx0_usart_default {
120 pinmux = <PIN_PB28__FLEXCOM0_IO0>,
121 <PIN_PB29__FLEXCOM0_IO1>;
125 pinctrl_key_gpio_default: key_gpio_default {
126 pinmux = <PIN_PB2__GPIO>;
130 pinctrl_led_gpio_default: led_gpio_default {
131 pinmux = <PIN_PA6__GPIO>,
137 pinctrl_sdmmc0_default: sdmmc0_default {
139 pinmux = <PIN_PA1__SDMMC0_CMD>,
140 <PIN_PA2__SDMMC0_DAT0>,
141 <PIN_PA3__SDMMC0_DAT1>,
142 <PIN_PA4__SDMMC0_DAT2>,
143 <PIN_PA5__SDMMC0_DAT3>;
148 pinmux = <PIN_PA0__SDMMC0_CK>,
149 <PIN_PA11__SDMMC0_VDDSEL>,
150 <PIN_PA12__SDMMC0_WP>,
151 <PIN_PA13__SDMMC0_CD>;
156 pinctrl_uart0_default: uart0_default {
157 pinmux = <PIN_PB26__URXD0>,
162 pinctrl_uart3_default: uart3_default {
163 pinmux = <PIN_PB11__URXD3>,
168 pinctrl_pwm0_default: pwm0_default {
169 pinmux = <PIN_PA31__PWML0>,
174 pinctrl_usb_default: usb_default {
175 pinmux = <PIN_PA10__GPIO>;
179 pinctrl_usba_vbus: usba_vbus {
180 pinmux = <PIN_PA16__GPIO>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_pwm0_default>;
194 qspi1_flash: spi_flash@0 {
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_sdmmc0_default>;
207 &shutdown_controller {
208 debounce-delay-us = <976>;
209 atmel,wakeup-rtc-timer;
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>;