1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.6/target/linux/bcm27xx/patches-6.6/0807-dts-rp1-Add-I2C-timings.patch
Ycarus (Yannick Chabanois) 12de1d2995 Add RPI kernel 6.6 support
2024-04-05 20:55:33 +02:00

108 lines
3.1 KiB
Diff

From fdc68711dd46c4b921d5a11b0f78e654178e4a1e Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Tue, 19 Dec 2023 11:27:20 +0000
Subject: [PATCH 0807/1002] dts: rp1: Add I2C timings
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/broadcom/rp1.dtsi | 42 +++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/rp1.dtsi b/arch/arm/boot/dts/broadcom/rp1.dtsi
index 8e60d1bfa898..c10c6cdf8f98 100644
--- a/arch/arm/boot/dts/broadcom/rp1.dtsi
+++ b/arch/arm/boot/dts/broadcom/rp1.dtsi
@@ -305,6 +305,12 @@ rp1_i2c0: i2c@70000 {
compatible = "snps,designware-i2c";
interrupts = <RP1_INT_I2C0 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_SYS>;
+ snps,ss_hcnt = <978>;
+ snps,ss_lcnt = <990>;
+ snps,fs_hcnt = <200>;
+ snps,fs_lcnt = <268>;
+ snps,fp_hcnt = <60>;
+ snps,fp_lcnt = <107>;
status = "disabled";
};
@@ -313,6 +319,12 @@ rp1_i2c1: i2c@74000 {
compatible = "snps,designware-i2c";
interrupts = <RP1_INT_I2C1 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_SYS>;
+ snps,ss_hcnt = <978>;
+ snps,ss_lcnt = <990>;
+ snps,fs_hcnt = <200>;
+ snps,fs_lcnt = <268>;
+ snps,fp_hcnt = <60>;
+ snps,fp_lcnt = <107>;
status = "disabled";
};
@@ -321,6 +333,12 @@ rp1_i2c2: i2c@78000 {
compatible = "snps,designware-i2c";
interrupts = <RP1_INT_I2C2 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_SYS>;
+ snps,ss_hcnt = <978>;
+ snps,ss_lcnt = <990>;
+ snps,fs_hcnt = <200>;
+ snps,fs_lcnt = <268>;
+ snps,fp_hcnt = <60>;
+ snps,fp_lcnt = <107>;
status = "disabled";
};
@@ -329,6 +347,12 @@ rp1_i2c3: i2c@7c000 {
compatible = "snps,designware-i2c";
interrupts = <RP1_INT_I2C3 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_SYS>;
+ snps,ss_hcnt = <978>;
+ snps,ss_lcnt = <990>;
+ snps,fs_hcnt = <200>;
+ snps,fs_lcnt = <268>;
+ snps,fp_hcnt = <60>;
+ snps,fp_lcnt = <107>;
status = "disabled";
};
@@ -337,6 +361,12 @@ rp1_i2c4: i2c@80000 {
compatible = "snps,designware-i2c";
interrupts = <RP1_INT_I2C4 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_SYS>;
+ snps,ss_hcnt = <978>;
+ snps,ss_lcnt = <990>;
+ snps,fs_hcnt = <200>;
+ snps,fs_lcnt = <268>;
+ snps,fp_hcnt = <60>;
+ snps,fp_lcnt = <107>;
status = "disabled";
};
@@ -345,6 +375,12 @@ rp1_i2c5: i2c@84000 {
compatible = "snps,designware-i2c";
interrupts = <RP1_INT_I2C5 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_SYS>;
+ snps,ss_hcnt = <978>;
+ snps,ss_lcnt = <990>;
+ snps,fs_hcnt = <200>;
+ snps,fs_lcnt = <268>;
+ snps,fp_hcnt = <60>;
+ snps,fp_lcnt = <107>;
status = "disabled";
};
@@ -353,6 +389,12 @@ rp1_i2c6: i2c@88000 {
compatible = "snps,designware-i2c";
interrupts = <RP1_INT_I2C6 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_SYS>;
+ snps,ss_hcnt = <978>;
+ snps,ss_lcnt = <990>;
+ snps,fs_hcnt = <200>;
+ snps,fs_lcnt = <268>;
+ snps,fp_hcnt = <60>;
+ snps,fp_lcnt = <107>;
status = "disabled";
};
--
2.44.0