Commit 3c56909e authored by Dinh Nguyen's avatar Dinh Nguyen

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: default avatarAlan Tull <atull@kernel.org>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 5b5ada57
......@@ -130,13 +130,13 @@ a10sr_rst: reset-controller {
};
&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>;
......
......@@ -86,7 +86,7 @@ &gpio2 {
&i2c0 {
status = "okay";
speed-mode = <0>;
clock-frequency = <100000>;
adxl345: adxl345@0 {
compatible = "adi,adxl345";
......
......@@ -58,7 +58,7 @@ &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */
&i2c0 {
status = "okay";
speed-mode = <0>;
clock-frequency = <100000>;
stmpe1: stmpe811@41 {
compatible = "st,stmpe811";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment