Skip to content

Commit

Permalink
arm64: dts: st: set i2c2 bus freq to 400KHz and adjust timings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/385612
ACI: CITOOLS <[email protected]>
Domain-Review: Amelie DELAUNAY <[email protected]>
ACI: CIBUILD <[email protected]>
Reviewed-by: Amelie DELAUNAY <[email protected]>
  • Loading branch information
Alain Volmat authored and fourmone committed Jun 6, 2024
1 parent 1af3a83 commit 5516e65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm64/boot/dts/st/stm32mp257f-dk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5516e65

Please sign in to comment.