zephyr/boards/gd/gd32f470i_eval/gd32f470i_eval-pinctrl.dtsi

43 lines
735 B
Plaintext

/*
* Copyright (c) 2022, Rtone.
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/gd32f470i(g-i-k)xx-pinctrl.h>
&pinctrl {
usart0_default: usart0_default {
group1 {
pinmux = <USART0_TX_PA9>, <USART0_RX_PA10>;
};
};
dac_default: dac_default {
group1 {
pinmux = <DAC_OUT0_PA4>;
};
};
pwm1_default: pwm1_default {
group1 {
pinmux = <TIMER1_CH2_PB10>;
};
};
i2c0_default: i2c0_default {
group1 {
pinmux = <I2C0_SCL_PB6>, <I2C0_SDA_PB7>;
drive-open-drain;
};
};
spi5_default: spi5_default {
group1 {
pinmux = <SPI5_SCK_PG13>, <SPI5_MOSI_PG14>,
<SPI5_MISO_PG12>,
/* Use pinmux to pullup pg10 and pg11. */
<SPI5_IO2_PG10>, <SPI5_IO3_PG11>;
};
};
};