Configuring dts File
Modify the file content of jh7100-common.dtsi under
/linux/arch/riscv/boot/dts/starfive
. The following is the default setting.
You can configure the unoccupied GPIOs as required.
Note:
The I2C GPIO pin number is the number indicated in the Pin Name. For more details about the GPIO Pin Name, see the GPIO Pinout in this document. The pin names of the I2C GPIO are listed as follows:
-
GPIO48 (I2C SDA)
-
GPIO47 (I2C SCL)