The I2C normally used to read data from a slave such as sensors. The ARM processor has no reading data to share with another host. Can you explain to me what you are looking for?
Consider then, that the ARM is being used to process some data and is acting as a sensor for another device that is collating it. The Cyclone V Handbook, HPS Technical Reference Manual, section 20 describes the I2C port. It says "Each I2C controller must be programmed to operate in either master or slave mode only". The implication is I can use it as a slave, but I was wondering if the default driver that came with it under Linux supports slave mode, or is there an alternative driver that can be targetted using a different DTS/B?
I see you want to use different device to pick the data, sorry for misunderstanding. Yes you can use the ARM as I2C slave to collect data from it. Or you can use it as a master and ask the ARM to send the required data once you trigger this.
Please check the following APP note AN706, which describes the steps required to route an HPS peripheral through the FPGA interface using Platform Designer (Standard) and Intel® Quartus® Prime Standard Edition software. A simple design example is included to demonstrate exporting HPS EMAC0 and I2C0 peripheral signals to the FPGA interface using a Cyclone V SoC Development Kit.