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 compatible = "atmel,at91sam9260-usart";
82 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
84 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
85 AT91_XDMAC_DT_PERID(11))>,
87 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
88 AT91_XDMAC_DT_PERID(12))>;
89 dma-names = "tx", "rx";
90 clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
91 clock-names = "usart";
92 pinctrl-0 = <&pinctrl_flx0_default>;
93 pinctrl-names = "default";
116 * There is no real pinmux for ADC, if the pin
117 * is not requested by another peripheral then
118 * the muxing is done when channel is enabled.
119 * Requesting pins for ADC is GPIO is
120 * encouraged to prevent conflicts and to
121 * disable bias in order to be in the same
122 * state when the pin is not muxed to the adc.
124 pinctrl_adc_default: adc_default {
125 pinmux = <PIN_PD25__GPIO>,
130 pinctrl_flx0_default: flx0_usart_default {
131 pinmux = <PIN_PB28__FLEXCOM0_IO0>,
132 <PIN_PB29__FLEXCOM0_IO1>;
136 pinctrl_key_gpio_default: key_gpio_default {
137 pinmux = <PIN_PB2__GPIO>;
141 pinctrl_led_gpio_default: led_gpio_default {
142 pinmux = <PIN_PA6__GPIO>,
148 pinctrl_sdmmc0_default: sdmmc0_default {
150 pinmux = <PIN_PA1__SDMMC0_CMD>,
151 <PIN_PA2__SDMMC0_DAT0>,
152 <PIN_PA3__SDMMC0_DAT1>,
153 <PIN_PA4__SDMMC0_DAT2>,
154 <PIN_PA5__SDMMC0_DAT3>;
159 pinmux = <PIN_PA0__SDMMC0_CK>,
160 <PIN_PA11__SDMMC0_VDDSEL>,
161 <PIN_PA12__SDMMC0_WP>,
162 <PIN_PA13__SDMMC0_CD>;
167 pinctrl_uart0_default: uart0_default {
168 pinmux = <PIN_PB26__URXD0>,
173 pinctrl_uart3_default: uart3_default {
174 pinmux = <PIN_PB11__URXD3>,
179 pinctrl_pwm0_default: pwm0_default {
180 pinmux = <PIN_PA31__PWML0>,
185 pinctrl_usb_default: usb_default {
186 pinmux = <PIN_PA10__GPIO>;
190 pinctrl_usba_vbus: usba_vbus {
191 pinmux = <PIN_PA16__GPIO>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_pwm0_default>;
205 qspi1_flash: spi_flash@0 {
213 pinctrl-names = "default";
214 pinctrl-0 = <&pinctrl_sdmmc0_default>;
218 &shutdown_controller {
219 atmel,shdwc-debouncer = <976>;
220 atmel,wakeup-rtc-timer;
224 atmel,wakeup-type = "low";
230 compatible = "atmel,tcb-timer";
235 compatible = "atmel,tcb-timer";
241 pinctrl-names = "default";
242 pinctrl-0 = <&pinctrl_uart0_default>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&pinctrl_uart3_default>;
257 atmel,vbus-gpio = <&pioA PIN_PA16 GPIO_ACTIVE_HIGH>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&pinctrl_usba_vbus>;
266 &pioA PIN_PA10 GPIO_ACTIVE_HIGH
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_usb_default>;