From 5516e65e8266771be5f44765167ee4e257ac084d Mon Sep 17 00:00:00 2001 From: Alain Volmat Date: Wed, 5 Jun 2024 19:39:55 +0200 Subject: [PATCH] arm64: dts: st: set i2c2 bus freq to 400KHz and adjust timings Adjust i2c2 rising/falling timing based on measurements on the board and set i2c2 bus frequency to 400KHz. Change-Id: I487c411cd05b24dbe5a09833bd1862c56ec19b2c Signed-off-by: Alain Volmat Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/385612 ACI: CITOOLS Domain-Review: Amelie DELAUNAY ACI: CIBUILD Reviewed-by: Amelie DELAUNAY --- arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts index 5320019074fb71..0345d346eff87d 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts @@ -309,9 +309,9 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c2_pins_b>; pinctrl-1 = <&i2c2_sleep_pins_b>; - i2c-scl-rising-time-ns = <185>; - i2c-scl-falling-time-ns = <20>; - clock-frequency = <100000>; + i2c-scl-rising-time-ns = <108>; + i2c-scl-falling-time-ns = <12>; + clock-frequency = <400000>; status = "okay"; /* spare dmas for other usage */ /delete-property/dmas;