Hi Community,
I'm working on i.MX6 sabre-SD Quad self-designed platform and use yocto 2.0 to build my image.
According to my hardware designed, I use ATMEL series AT24C16 as my EEPROM.
Below is my DTSI settings.
&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";
sgtl5000: sgtl5000@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
clocks = <&clks IMX6QDL_CLK_CKO>;/*201*/
VDDA-supply = <®_3p3v>;
VDDIO-supply = <®_3p3v>;
};
at24@50 {
compatible = "at24,24c16";
pagesize = <16>;
reg = <0x50>;
};
};
I try to cat content of EEPROM with below command.
cat /sys/devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-0050/eeprom
However, I will get below error.
Connection timed out
Why it will time out?
How can I fix this problem?
Did my DTSI setting right?
Thanks in advance!