1/* 2 * Copyright (c) 2022 Kamil Serwus 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/samc21n-pinctrl.h> 7 8&pinctrl { 9 10 pwm_default: pwm_default { 11 group1 { 12 pinmux = <PC5F_TCC2_WO1>; 13 }; 14 }; 15 16 adc0_default: adc0_default { 17 group1 { 18 pinmux = <PB9B_ADC0_AIN3>; 19 }; 20 }; 21 22 adc1_default: adc1_default { 23 group1 { 24 pinmux = <PA8B_ADC1_AIN10>; 25 }; 26 }; 27 28 can0_default: can0_default { 29 group1 { 30 pinmux = <PA25G_CAN0_RX>, 31 <PA24G_CAN0_TX>; 32 }; 33 }; 34 35 can1_default: can1_default { 36 group1 { 37 pinmux = <PB15G_CAN1_RX>, 38 <PB14G_CAN1_TX>; 39 }; 40 }; 41 42 sercom0_uart_default: sercom0_uart_default { 43 group1 { 44 pinmux = <PB25C_SERCOM0_PAD1>, 45 <PB24C_SERCOM0_PAD0>; 46 }; 47 }; 48 49 sercom1_i2c_default: sercom1_i2c_default { 50 group1 { 51 pinmux = <PA16C_SERCOM1_PAD0>, 52 <PA17C_SERCOM1_PAD1>; 53 }; 54 }; 55 56 sercom2_uart_default: sercom1_uart_default { 57 group1 { 58 pinmux = <PA13C_SERCOM2_PAD1>, 59 <PA12C_SERCOM2_PAD0>; 60 }; 61 }; 62 63 sercom4_uart_default: sercom4_uart_default { 64 group1 { 65 pinmux = <PB11D_SERCOM4_PAD3>, 66 <PB10D_SERCOM4_PAD2>; 67 }; 68 }; 69 70 sercom5_spi_default: sercom5_spi_default { 71 group1 { 72 pinmux = <PB0D_SERCOM5_PAD2>, 73 <PB2D_SERCOM5_PAD0>, 74 <PB1D_SERCOM5_PAD3>; 75 }; 76 }; 77 78}; 79