Hi Chavira,
We need to enable I2C in the uboot. The device is on I2C-3. Below is the node for i2c-3 from uboot dtsi file 'arch/arm/dts/imx8mp.dtsi'
aliases {
i2c3 = &i2c4;
};
&i2c4 {
clock-frequency = <400000>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c4>;
pinctrl-1 = <&pinctrl_i2c4_gpio>;
scl-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>;
sda-gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>;
status = "okay";
id_eeprom: eeprom@50 {
compatible = "atmel,24c04";
reg = <0x50>;
pagesize = <16>;
status = "okay";
};
};
We get the eeprom detected using i2c tool from uboot.
Thanks,
Nilesh