ARM: dts: socfpga: set the i2c frequency
PATCH 1/1 ARM: dts: socfpga: set the i2c frequency
Use 'clock-frequency' binding for the i2c node that will put the I2C driver into the standard operating mode. 'speed-mode' was not a valid binding for the I2C driver, remove it.
Signed-off-by Alan Tull <[email protected]>
Signed-off-by Dinh Nguyen <[email protected]>
--- arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 2 +- arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts | 2 +- arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/socfpga_arria10_socdk.dtsi +1 -1
@@ -125,13 +125,13 @@ }; &i2c1 { - speed-mode = <0>; status = "okay"; /* * adjust the falling times to decrease the i2c frequency to 50Khz * because the LCD module does not work at the standard 100Khz */ + clock-frequency = <100000>; i2c-sda-falling-time-ns = <6000>; i2c-scl-falling-time-ns = <6000>;
arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts +1 -1
@@ -86,7 +86,7 @@ &i2c0 { status = "okay"; - speed-mode = <0>; + clock-frequency = <100000>; adxl345: adxl345 at 0 { compatible = "adi,adxl345";
arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts +1 -1
@@ -58,7 +58,7 @@ &i2c0 { status = "okay"; - speed-mode = <0>; + clock-frequency = <100000>; stmpe1: stmpe811 at 41 { compatible = "st,stmpe811";
Signature · 1 line
2.7.4