From: Alain Volmat Date: Fri, 13 Mar 2020 11:46:29 +0000 (+0100) Subject: ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp157c-ed1 X-Git-Tag: v5.7-rc1~97^2~31^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bc631b650a64ca43b3bce9ad225fbd12e051868;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp157c-ed1 On this board, the I2C4 bus has only a single slave (pmic) which supports I2C Fast Mode hence setting bus frequency to 400 KHz. Signed-off-by: Alain Volmat Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index c84f14b173719..d5f3657284031 100644 --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts @@ -134,6 +134,7 @@ pinctrl-0 = <&i2c4_pins_a>; i2c-scl-rising-time-ns = <185>; i2c-scl-falling-time-ns = <20>; + clock-frequency = <400000>; status = "okay"; /* spare dmas for other usage */ /delete-property/dmas;