Ls2088ardb i2c support?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ls2088ardb i2c support?

2,170 Views
latha_g
Contributor II

Hi team,

I have booted the kernel image for LS2088 V2XD board with latest sdk of nxp. I am unable to find the I2c in /dev, there are 4 i2c enable in .dtsi file of sdk.

please help me to resolve this.

Labels (1)
Tags (1)
0 Kudos
3 Replies

1,875 Views
latha_g
Contributor II

Hi pavel,

the follawing are the dtsi settings for i2c .please check them.

i2c0: i2c@2000000 {
compatible = "fsl,vf610-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x2000000 0x0 0x10000>;
interrupts = <0 34 0x4>; /* Level high type */
clock-names = "i2c";
clocks = <&clockgen 4 3>;
};

i2c1: i2c@2010000 {
compatible = "fsl,vf610-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x2010000 0x0 0x10000>;
interrupts = <0 34 0x4>; /* Level high type */
clock-names = "i2c";
clocks = <&clockgen 4 3>;
};

i2c2: i2c@2020000 {
compatible = "fsl,vf610-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x2020000 0x0 0x10000>;
interrupts = <0 35 0x4>; /* Level high type */
clock-names = "i2c";
clocks = <&clockgen 4 3>;
};

i2c3: i2c@2030000 {
compatible = "fsl,vf610-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x2030000 0x0 0x10000>;
interrupts = <0 35 0x4>; /* Level high type */
clock-names = "i2c";
clocks = <&clockgen 4 3>;
};

0 Kudos

1,875 Views
Pavel
NXP Employee
NXP Employee

Look at the Chapter 11.5 of LSDK 18.12 documentation:

https://www.nxp.com/docs/en/supporting-information/LSDK-KC-REV18.12.pdf

 

This Chapter contains I2C for Power and Thermal monitors on the LS2088QDS board.

Use this Chapter as example for using I2C on the LS2088 board.

 

Have a great day,
Pavel Chubakov

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,875 Views
latha_g
Contributor II

Hi Pavel,

The above mentioned documnent gives me i2c for thermal sensor, but i have enabled 4 i2c bus but while booting it gives an error.

imx-i2c 2000000.i2c: fsl-scl-gpio not found
[ 3.765522] imx-i2c 2000000.i2c: can't get I2C clock

i have enabled all drivers even then this comes, im unable to get i2c bus in /dev .

please help me to resolve this and also why i am getting fsl-scl-gpio not found.

0 Kudos