I want to set i2c2 in hps to FPGA io, but it can’t work normally
The qsys settings are as follows:

Added input and output interfaces in verilog
output i2c2_clk,
inout i2c2_sda_io

Two lines

soc statement

Then modified the dtb of linux

After that, it can't work on linux (mpu6050 is not connected to i2c bus 1, and 2 is connected).

Seek help solution.