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/sam4lcXc-pinctrl.h>
7
8&pinctrl {
9	spi0_default: spi0_default {
10		group1 {
11			pinmux = <PC4A_SPI_MISO>,
12				 <PC5A_SPI_MOSI>,
13				 <PC6A_SPI_SCK>,
14				 <PA2B_SPI_NPCS0>,
15				 <PC0A_SPI_NPCS2>;
16		};
17	};
18
19	twi0_default: twi0_default {
20		group1 {
21			pinmux = <PA24B_TWIMS0_TWCK>,
22				 <PA23B_TWIMS0_TWD>;
23		};
24	};
25
26	usart0_default: usart0_default {
27		group1 {
28			pinmux = <PC2C_USART0_RXD>,
29				 <PA7B_USART0_TXD>;
30		};
31	};
32	usart0_hw_ctrl_flow: usart0_hw_ctrl_flow {
33		group1 {
34			pinmux = <PC2C_USART0_RXD>,
35				 <PC7B_USART2_RTS>;
36			bias-pull-up;
37		};
38		group2 {
39			pinmux = <PA7B_USART0_TXD>,
40				 <PC8E_USART2_CTS>;
41		};
42	};
43	usart2_default: usart2_default {
44		group1 {
45			pinmux = <PC11B_USART2_RXD>,
46				 <PC12B_USART2_TXD>;
47		};
48	};
49
50	usbc_default: usbc_default {
51		group1 {
52			pinmux = <PA25A_USBC_DM>,
53				 <PA26A_USBC_DP>;
54		};
55	};
56};
57