1/* 2 * Copyright (c) 2021, YuLong Yao <feilongphone@gmail.com> 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/gd32e103v(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 pwm0_default: pwm0_default { 16 group1 { 17 pinmux = <TIMER0_CH0_PA8_OUT_NORMP>; 18 }; 19 }; 20 21 dac_default: dac_default { 22 group1 { 23 pinmux = <DAC_OUT0_PA4>; 24 }; 25 }; 26 27 i2c0_default: i2c0_default { 28 group1 { 29 pinmux = <I2C0_SCL_PB6_NORMP>, <I2C0_SDA_PB7_NORMP>; 30 drive-open-drain; 31 }; 32 }; 33}; 34