1/* 2 * Copyright (c) 2022 YuLong Yao <feilongphone@gmail.com> 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/gd32a503v(b-c-d)xx-pinctrl.h> 7 8&pinctrl { 9 usart0_default: usart0_default { 10 group1 { 11 pinmux = <USART0_TX_PA10>, <USART0_RX_PA11>; 12 }; 13 }; 14 15 adc0_default: adc0_default { 16 group1 { 17 pinmux = <ADC0_IN1_PC10>; 18 }; 19 }; 20 21 dac_default: dac_default { 22 group1 { 23 pinmux = <DAC_OUT_PA7>; 24 }; 25 }; 26 27 spi0_default: spi0_default { 28 group1 { 29 pinmux = <SPI0_SCK_PE14>, <SPI0_MOSI_PA2>, 30 <SPI0_MISO_PE13>, 31 /* Use pinmux to pullup pg10 and pg11. */ 32 <SPI0_IO2_PE15>, <SPI0_IO3_PB10>; 33 }; 34 }; 35}; 36