Intel: Using Platform Designer (formerly Qsys) to connect altera_avalom_i2c (Altera Avalon I2C) to HPS-to-FPGA Bridge. I used a device tree generator to generate a device tree (.dts) from .sopcinfo, but when I checked the description for the corresponding i2c device, it was .compatible = "unknown,unknown-17.1"; pegging is not performed.

Platform Designer SoC EDS/DS-5 SoC FPGA

Category: SoCs
Tools: Quartus® Prime, SoC EDS
Device: Cyclone® V


In the device tree generated by the device tree generator, compatible is unknown when device driver binding is not possible.
Altera_avalom_i2c (Altera Avalon I2C) is not supported by the driver attached to Linux.
 
Either you can handle it by creating your own driver, or you can route the I/O of the i2c controller on the HPS side to the FPGA side.
The following file seems to correspond to the device driver for the i2c controller on the HPS side.
(linux-socfpga-socfpga-4.9.78-ltsi\drivers\i2c\busses\i2c-designware-* (.compatible = "snps,designware-i2c"))

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.