Skip to content

Commit e30f864

Browse files
committed
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 <[email protected]>
1 parent f666dc6 commit e30f864

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/arm/boot/dts/rp1.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@
305305
compatible = "snps,designware-i2c";
306306
interrupts = <RP1_INT_I2C0 IRQ_TYPE_LEVEL_HIGH>;
307307
clocks = <&rp1_clocks RP1_CLK_SYS>;
308+
i2c-scl-rising-time-ns = <65>;
309+
i2c-scl-falling-time-ns = <100>;
308310
status = "disabled";
309311
};
310312

@@ -313,6 +315,8 @@
313315
compatible = "snps,designware-i2c";
314316
interrupts = <RP1_INT_I2C1 IRQ_TYPE_LEVEL_HIGH>;
315317
clocks = <&rp1_clocks RP1_CLK_SYS>;
318+
i2c-scl-rising-time-ns = <65>;
319+
i2c-scl-falling-time-ns = <100>;
316320
status = "disabled";
317321
};
318322

@@ -321,6 +325,8 @@
321325
compatible = "snps,designware-i2c";
322326
interrupts = <RP1_INT_I2C2 IRQ_TYPE_LEVEL_HIGH>;
323327
clocks = <&rp1_clocks RP1_CLK_SYS>;
328+
i2c-scl-rising-time-ns = <65>;
329+
i2c-scl-falling-time-ns = <100>;
324330
status = "disabled";
325331
};
326332

@@ -329,6 +335,8 @@
329335
compatible = "snps,designware-i2c";
330336
interrupts = <RP1_INT_I2C3 IRQ_TYPE_LEVEL_HIGH>;
331337
clocks = <&rp1_clocks RP1_CLK_SYS>;
338+
i2c-scl-rising-time-ns = <65>;
339+
i2c-scl-falling-time-ns = <100>;
332340
status = "disabled";
333341
};
334342

@@ -337,6 +345,8 @@
337345
compatible = "snps,designware-i2c";
338346
interrupts = <RP1_INT_I2C4 IRQ_TYPE_LEVEL_HIGH>;
339347
clocks = <&rp1_clocks RP1_CLK_SYS>;
348+
i2c-scl-rising-time-ns = <65>;
349+
i2c-scl-falling-time-ns = <100>;
340350
status = "disabled";
341351
};
342352

@@ -345,6 +355,8 @@
345355
compatible = "snps,designware-i2c";
346356
interrupts = <RP1_INT_I2C5 IRQ_TYPE_LEVEL_HIGH>;
347357
clocks = <&rp1_clocks RP1_CLK_SYS>;
358+
i2c-scl-rising-time-ns = <65>;
359+
i2c-scl-falling-time-ns = <100>;
348360
status = "disabled";
349361
};
350362

@@ -353,6 +365,8 @@
353365
compatible = "snps,designware-i2c";
354366
interrupts = <RP1_INT_I2C6 IRQ_TYPE_LEVEL_HIGH>;
355367
clocks = <&rp1_clocks RP1_CLK_SYS>;
368+
i2c-scl-rising-time-ns = <65>;
369+
i2c-scl-falling-time-ns = <100>;
356370
status = "disabled";
357371
};
358372

0 commit comments

Comments
 (0)