1/* 2 * Copyright (c) 2022, Gerson Fernando Budke <nandojve@gmail.com> 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/samd21-da1gXabcd-pinctrl.h> 7 8&pinctrl { 9 pwm_default: pwm_default { 10 group1 { 11 pinmux = <PA17E_TCC2_WO1>; 12 }; 13 }; 14 15 sercom4_i2c_default: sercom4_i2c_default { 16 group1 { 17 pinmux = <PB8D_SERCOM4_PAD0>, 18 <PB9D_SERCOM4_PAD1>; 19 }; 20 }; 21 22 sercom1_spi_default: sercom1_spi_default { 23 group1 { 24 pinmux = <PA16C_SERCOM1_PAD0>, 25 <PA17C_SERCOM1_PAD1>, 26 <PA19C_SERCOM1_PAD3>; 27 }; 28 }; 29 sercom2_spi_default: sercom2_spi_default { 30 group1 { 31 pinmux = <PA12C_SERCOM2_PAD0>, 32 <PA13C_SERCOM2_PAD1>, 33 <PA15C_SERCOM2_PAD3>; 34 }; 35 }; 36 37 sercom3_uart_default: sercom3_uart_default { 38 group1 { 39 pinmux = <PA23C_SERCOM3_PAD1>, 40 <PA22C_SERCOM3_PAD0>; 41 }; 42 }; 43 sercom5_uart_default: sercom5_uart_default { 44 group1 { 45 pinmux = <PB23D_SERCOM5_PAD3>, 46 <PB22D_SERCOM5_PAD2>; 47 }; 48 }; 49 50 usb_dc_default: usb_dc_default { 51 group1 { 52 pinmux = <PA25G_USB_DP>, 53 <PA24G_USB_DM>; 54 }; 55 }; 56}; 57