2022-03-11 09:42:59 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022, Gerson Fernando Budke <nandojve@gmail.com>
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/samd21-da1eXabcd-pinctrl.h>
|
|
|
|
|
|
|
|
&pinctrl {
|
2022-03-13 23:30:30 +08:00
|
|
|
pwm_default: pwm_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <PA22F_TCC0_WO4>,
|
|
|
|
<PA19F_TCC0_WO3>,
|
|
|
|
<PA23F_TCC0_WO5>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-03-13 23:06:04 +08:00
|
|
|
sercom0_i2c_default: sercom0_i2c_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <PA4D_SERCOM0_PAD0>,
|
|
|
|
<PA5D_SERCOM0_PAD1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-03-13 11:22:39 +08:00
|
|
|
sercom0_spi_default: sercom0_spi_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <PA6D_SERCOM0_PAD2>,
|
|
|
|
<PA4D_SERCOM0_PAD0>,
|
|
|
|
<PA5D_SERCOM0_PAD1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
sercom3_spi_default: sercom3_spi_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <PA18D_SERCOM3_PAD2>,
|
|
|
|
<PA16D_SERCOM3_PAD0>,
|
|
|
|
<PA17D_SERCOM3_PAD1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-03-11 09:42:59 +08:00
|
|
|
sercom0_uart_default: sercom0_uart_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <PA5D_SERCOM0_PAD1>,
|
|
|
|
<PA4D_SERCOM0_PAD0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
sercom2_uart_default: sercom2_uart_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <PA9D_SERCOM2_PAD1>,
|
|
|
|
<PA8D_SERCOM2_PAD0>;
|
|
|
|
};
|
|
|
|
};
|
2022-03-13 23:45:17 +08:00
|
|
|
|
|
|
|
usb_dc_default: usb_dc_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <PA25G_USB_DP>,
|
|
|
|
<PA24G_USB_DM>;
|
|
|
|
};
|
|
|
|
};
|
2022-03-11 09:42:59 +08:00
|
|
|
};
|