mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 15:16:43 +07:00
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 <atull@kernel.org> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
parent
5b5ada57e4
commit
3c56909ec2
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user