VisionFive 2 Pin Control Configuration
The pin control configuration for USB host is stored in the following file:
linux-5.15/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsiThe following code block provides an example of the content details.
usb_pins: usb-pins {
drive-vbus-pin {
sf,pins = <PAD_GPIO25>;
sf,pinmux = <PAD_GPIO25_FUNC_SEL 0>;
sf,pin-ioconfig = <IO(GPIO_IE(1))>;
sf,pin-gpio-dout = <GPO_USB0_DRIVE_VBUS_IO>;
sf,pin-gpio-doen = <OEN_LOW>;
};
};
