1/* 2 * Copyright (c) 2022-2024, Gerson Fernando Budke <nandojve@gmail.com> 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/samr21g-pinctrl.h> 7 8&pinctrl { 9 adc_default: adc_default { 10 group1 { 11 pinmux = <PA6B_ADC_AIN6>; 12 }; 13 }; 14 15 pwm_default: pwm_default { 16 group1 { 17 pinmux = <PA19F_TCC0_WO3>; 18 }; 19 }; 20 21 sercom1_i2c_default: sercom1_i2c_default { 22 group1 { 23 pinmux = <PA16C_SERCOM1_PAD0>, 24 <PA17C_SERCOM1_PAD1>; 25 }; 26 }; 27 28 sercom4_spi_default: sercom4_spi_default { 29 group1 { 30 pinmux = <PC19F_SERCOM4_PAD0>, 31 <PB31F_SERCOM4_PAD1>, 32 <PB30F_SERCOM4_PAD2>, 33 <PC18F_SERCOM4_PAD3>; 34 }; 35 }; 36 sercom5_spi_default: sercom5_spi_default { 37 group1 { 38 pinmux = <PB2D_SERCOM5_PAD0>, 39 <PB22D_SERCOM5_PAD2>, 40 <PB23D_SERCOM5_PAD3>; 41 }; 42 }; 43 44 sercom0_uart_default: sercom0_uart_default { 45 group1 { 46 pinmux = <PA4D_SERCOM0_PAD0>, 47 <PA5D_SERCOM0_PAD1>; 48 }; 49 }; 50 51 usb_dc_default: usb_dc_default { 52 group1 { 53 pinmux = <PA25G_USB_DP>, 54 <PA24G_USB_DM>; 55 }; 56 }; 57}; 58