1/* 2 * Copyright (c) 2022, Rtone. 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/gd32f450z(e-g-i-k)xx-pinctrl.h> 7 8&pinctrl { 9 usart0_default: usart0_default { 10 group1 { 11 pinmux = <USART0_TX_PA9>, <USART0_RX_PA10>; 12 }; 13 }; 14 15 dac_default: dac_default { 16 group1 { 17 pinmux = <DAC_OUT0_PA4>; 18 }; 19 }; 20 21 pwm1_default: pwm1_default { 22 group1 { 23 pinmux = <TIMER1_CH2_PB10>; 24 }; 25 }; 26 27 i2c0_default: i2c0_default { 28 group1 { 29 pinmux = <I2C0_SCL_PB6>, <I2C0_SDA_PB7>; 30 drive-open-drain; 31 }; 32 }; 33 34 spi5_default: spi5_default { 35 group1 { 36 pinmux = <SPI5_SCK_PG13>, <SPI5_MOSI_PG14>, 37 <SPI5_MISO_PG12>, 38 /* Use pinmux to pullup pg10 and pg11. */ 39 <SPI5_IO2_PG10>, <SPI5_IO3_PG11>; 40 }; 41 }; 42}; 43