1/* 2 * Copyright (c) 2021, Teslabs Engineering S.L. 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/gd32f450i(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 adc0_default: adc0_default { 16 group1 { 17 pinmux = <ADC012_IN13_PC3>; 18 }; 19 }; 20 21 dac_default: dac_default { 22 group1 { 23 pinmux = <DAC_OUT0_PA4>; 24 }; 25 }; 26 27 pwm1_default: pwm1_default { 28 group1 { 29 pinmux = <TIMER1_CH2_PB10>; 30 }; 31 }; 32 33 i2c0_default: i2c0_default { 34 group1 { 35 pinmux = <I2C0_SCL_PB6>, <I2C0_SDA_PB7>; 36 drive-open-drain; 37 }; 38 }; 39 40 spi5_default: spi5_default { 41 group1 { 42 pinmux = <SPI5_SCK_PG13>, <SPI5_MOSI_PG14>, 43 <SPI5_MISO_PG12>, 44 /* Use pinmux to pullup pg10 and pg11. */ 45 <SPI5_IO2_PG10>, <SPI5_IO3_PG11>; 46 }; 47 }; 48}; 49