1/*
2 * Copyright (c) 2021, TOKITA Hiroshi
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#include <dt-bindings/pinctrl/gd32vf103c(b-8)xx-pinctrl.h>
7
8&pinctrl {
9	usart0_default: usart0_default {
10		group1 {
11			pinmux = <USART0_TX_PA9_NORMP>, <USART0_RX_PA10_NORMP>;
12		};
13	};
14
15	pwm1_default: pwm1_default {
16		group1 {
17			pinmux = <TIMER1_CH1_PA1_OUT_NORMP>, <TIMER1_CH2_PA2_OUT_NORMP>;
18		};
19	};
20
21	dac_default: dac_default {
22		group1 {
23			pinmux = <DAC_OUT0_PA4>;
24		};
25	};
26
27	spi0_default: spi0_default {
28		group1 {
29			pinmux = <SPI0_NSS_PA4_OUT_NORMP>, <SPI0_SCK_PA5_OUT_NORMP>,
30				 <SPI0_MISO_PA6_INP_NORMP>, <SPI0_MOSI_PA7_OUT_NORMP>;
31		};
32	};
33
34	spi1_default: spi1_default {
35		group1 {
36			pinmux = <SPI1_MISO_PB14_INP>, <SPI1_SCK_PB13_OUT>,
37				 <SPI1_MOSI_PB15_OUT>, <SPI1_NSS_PB12_OUT>;
38		};
39	};
40};
41