Commit d4e5c8ae authored by Alan Tull's avatar Alan Tull Committed by Greg Kroah-Hartman

arm64: dts: stratix10: i2c clock running out of spec

[ Upstream commit c8da1d15 ]

DesignWare I2C controller was observed running at 105.93kHz rather
than the specified 100kHz.  Adjust device tree settings to bring it
within spec (a slightly conservative 98 MHz).
Signed-off-by: default avatarAlan Tull <atull@kernel.org>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b0bac46b
......@@ -124,6 +124,8 @@ &watchdog0 {
&i2c1 {
status = "okay";
clock-frequency = <100000>;
i2c-sda-falling-time-ns = <890>; /* hcnt */
i2c-sdl-falling-time-ns = <890>; /* lcnt */
adc@14 {
compatible = "lltc,ltc2497";
......
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