AnsweredAssumed Answered

LS1043A:I2C bus Speed

Question asked by ramasubramaniansubramanian on May 8, 2018
Latest reply on May 9, 2018 by Yiping Wang

Hi,

I would like to set I2C bus speed for one of the bus to 400kHz.  The LS1043A datasheet says that it can support upto 400khz.

We probed the default speed, it is 100kHz.

How can we setup 400khz speed using device tree?

  

 i2c3: i2c@21b0000 {
                        compatible = "fsl,vf610-i2c";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0x0 0x21b0000 0x0 0x10000>;
                        interrupts = <0 59 0x4>;
                        clock-names = "i2c";
                        clocks = <&clockgen 4 0>;
                        status = "disabled";
                };

 

Thanks

Rams

Outcomes