From 3287b41fa64e7d180c825d1c7518dcefbf9ed766 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 Jan 2024 16:05:18 +0000 Subject: [PATCH] ARM: dts: rp1: Add I2C timings Add SCL rise and fall times, to allow the derivation of timings at arbitrary speeds. Signed-off-by: Phil Elwell --- arch/arm/boot/dts/broadcom/rp1.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/rp1.dtsi b/arch/arm/boot/dts/broadcom/rp1.dtsi index 8c2ff53a045adf..46f80a729a9cca 100644 --- a/arch/arm/boot/dts/broadcom/rp1.dtsi +++ b/arch/arm/boot/dts/broadcom/rp1.dtsi @@ -305,6 +305,8 @@ compatible = "snps,designware-i2c"; interrupts = ; clocks = <&rp1_clocks RP1_CLK_SYS>; + i2c-scl-rising-time-ns = <65>; + i2c-scl-falling-time-ns = <100>; status = "disabled"; }; @@ -313,6 +315,8 @@ compatible = "snps,designware-i2c"; interrupts = ; clocks = <&rp1_clocks RP1_CLK_SYS>; + i2c-scl-rising-time-ns = <65>; + i2c-scl-falling-time-ns = <100>; status = "disabled"; }; @@ -321,6 +325,8 @@ compatible = "snps,designware-i2c"; interrupts = ; clocks = <&rp1_clocks RP1_CLK_SYS>; + i2c-scl-rising-time-ns = <65>; + i2c-scl-falling-time-ns = <100>; status = "disabled"; }; @@ -329,6 +335,8 @@ compatible = "snps,designware-i2c"; interrupts = ; clocks = <&rp1_clocks RP1_CLK_SYS>; + i2c-scl-rising-time-ns = <65>; + i2c-scl-falling-time-ns = <100>; status = "disabled"; }; @@ -337,6 +345,8 @@ compatible = "snps,designware-i2c"; interrupts = ; clocks = <&rp1_clocks RP1_CLK_SYS>; + i2c-scl-rising-time-ns = <65>; + i2c-scl-falling-time-ns = <100>; status = "disabled"; }; @@ -345,6 +355,8 @@ compatible = "snps,designware-i2c"; interrupts = ; clocks = <&rp1_clocks RP1_CLK_SYS>; + i2c-scl-rising-time-ns = <65>; + i2c-scl-falling-time-ns = <100>; status = "disabled"; }; @@ -353,6 +365,8 @@ compatible = "snps,designware-i2c"; interrupts = ; clocks = <&rp1_clocks RP1_CLK_SYS>; + i2c-scl-rising-time-ns = <65>; + i2c-scl-falling-time-ns = <100>; status = "disabled"; };