zephyr/boards/gd/gd32vf103c_starter/gd32vf103c_starter-pinctrl....

21 lines
383 B
Plaintext

/*
* Copyright (c) 2022 YuLong Yao <feilongphone@gmail.com>
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/gd32vf103c(b-8)xx-pinctrl.h>
&pinctrl {
usart0_default: usart0_default {
group1 {
pinmux = <USART0_RX_PA10_NORMP>, <USART0_TX_PA9_NORMP>;
};
};
pwm2_default: pwm2_default {
group1 {
pinmux = <TIMER2_CH1_PA7_OUT_NORMP>;
};
};
};