27 lines
486 B
Plaintext
27 lines
486 B
Plaintext
|
/*
|
||
|
* 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>;
|
||
|
};
|
||
|
};
|
||
|
};
|