Skip to content

Commit

Permalink
dts: rp1: Add I2C timings
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  • Loading branch information
pelwell committed Dec 20, 2023
1 parent 0a09088 commit 660d569
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions arch/arm/boot/dts/rp1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@
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";
};

Expand All @@ -313,6 +319,12 @@
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";
};

Expand All @@ -321,6 +333,12 @@
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";
};

Expand All @@ -329,6 +347,12 @@
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";
};

Expand All @@ -337,6 +361,12 @@
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";
};

Expand All @@ -345,6 +375,12 @@
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";
};

Expand All @@ -353,6 +389,12 @@
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";
};

Expand Down

0 comments on commit 660d569

Please sign in to comment.