2021-12-29 08:50:56 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, Teslabs Engineering S.L.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/gd32vf103v(b-8)xx-pinctrl.h>
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
usart0_default: usart0_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <USART0_RX_PA10_NORMP>, <USART0_TX_PA9_NORMP>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
usart1_default: usart1_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <USART1_RX_PA3_NORMP>, <USART1_TX_PA2_NORMP>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm0_default: pwm0_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <TIMER0_CH0_PA8_OUT_NORMP>;
|
|
|
|
};
|
|
|
|
};
|
2022-01-18 21:16:41 +08:00
|
|
|
|
|
|
|
spi0_default: spi0_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <SPI0_SCK_PA5_OUT_NORMP>, <SPI0_MOSI_PA7_OUT_NORMP>,
|
|
|
|
<SPI0_MISO_PA6_OUT_NORMP>;
|
|
|
|
};
|
|
|
|
};
|
2022-03-16 13:51:09 +08:00
|
|
|
|
|
|
|
adc0_default: adc0_default {
|
|
|
|
group1 {
|
|
|
|
pinmux = <ADC01_IN13_PC3>;
|
|
|
|
};
|
|
|
|
};
|
2021-12-29 08:50:56 +08:00
|
|
|
};
|