hello everyone
at the moment I am working on adding axi iic to openpiton.
my final goal is to be able to read the temperature from an i2c device in linux.
I have been getting "input clock not found" in the boot loader:
[ 32.760851] i2c /dev entries driver
[ 32.768047] xiic-i2c fff0e00000.i2c: input clock not found.
[ 32.784563] usbcore: registered new interface driver usbhid
[ 32.790588] usbhid: USB HID core driver
[ 32.817191] NET: Registered protocol family 10
[ 32.845446] Segment Routing with IPv6
[ 32.851707] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 32.872750] NET: Registered protocol family 17
[ 32.883126] Key type dns_resolver registered
[ 32.904021] xiic-i2c fff0e00000.i2c: input clock not found.
[ 32.914074] xiic-i2c fff0e00000.i2c: input clock not found.
I was also wondering do I have to add an external pull-up to the sea and scp ports in genesys2? I found many posts related to axi iic suggesting that.
I have added these to my kernel config:
CONFIG_I2C_XILINX=y
CONFIG_I2C=y
CONFIG_OF_I2C=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_BOARDINFO=y
CONFIG_XILINX_I2C=y
CONFIG_I2C_OCORES=y
CONFIG_COMMON_CLK_XLNX_CLKWZRD=y
I attached the device tree file too.
I am new to these things and will appreciate any help.
thank you!
ariane.dts