2021-12-05 07:56:48 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, TOKITA Hiroshi
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/gd32vf103c(b-8)xx-pinctrl.h>
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
usart0_default: usart0_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <USART0_TX_PA9_NORMP>, <USART0_RX_PA10_NORMP>;
|
|
|
|
};
|
|
|
|
};
|
2022-01-04 07:20:33 +08:00
|
|
|
|
2022-01-13 18:21:33 +08:00
|
|
|
pwm1_default: pwm1_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <TIMER1_CH1_PA1_OUT_NORMP>, <TIMER1_CH2_PA2_OUT_NORMP>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-01-04 07:20:33 +08:00
|
|
|
dac_default: dac_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <DAC_OUT0_PA4>;
|
|
|
|
};
|
|
|
|
};
|
2022-04-11 21:42:34 +08:00
|
|
|
|
2022-01-26 22:45:06 +08:00
|
|
|
spi0_default: spi0_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <SPI0_NSS_PA4_OUT_NORMP>, <SPI0_SCK_PA5_OUT_NORMP>,
|
|
|
|
<SPI0_MISO_PA6_INP_NORMP>, <SPI0_MOSI_PA7_OUT_NORMP>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-04-11 21:42:34 +08:00
|
|
|
spi1_default: spi1_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <SPI1_MISO_PB14_INP>, <SPI1_SCK_PB13_OUT>,
|
|
|
|
<SPI1_MOSI_PB15_OUT>, <SPI1_NSS_PB12_OUT>;
|
|
|
|
};
|
|
|
|
};
|
2021-12-05 07:56:48 +08:00
|
|
|
};
|