aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
diff options
context:
space:
mode:
authorAlan Tull <atull@kernel.org>2018-08-08 10:42:41 -0500
committerDinh Nguyen <dinguyen@kernel.org>2018-08-30 08:38:26 -0500
commitc8da1d15b8a4957f105ad77bb1404d72e304566f (patch)
tree25e3f6bdb5175fbb1f2efbcc8b8d68091c9df41f /arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
parentLinux 4.19-rc1 (diff)
downloadlinux-dev-c8da1d15b8a4957f105ad77bb1404d72e304566f.tar.xz
linux-dev-c8da1d15b8a4957f105ad77bb1404d72e304566f.zip
arm64: dts: stratix10: i2c clock running out of spec
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: Alan Tull <atull@kernel.org> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts')
-rw-r--r--arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 6edc4fa9fd42..53cf195c2ada 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -124,6 +124,8 @@
&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";