[PATCH v2 06/10] dt-bindings: i2c: dw: Add compatible for UltraRISC DP1000 SoC
From: Jia Wang via B4 Relay
Date: Mon Sep 07 2026 - 06:08:19 EST
From: Jia Wang <wangjia@xxxxxxxxxxxxx>
The DP1000 integrates four DesignWare APB I2C controllers. I2C1 supports
SMBus, while I2C0, I2C2, and I2C3 support standard I2C transfers. Each
controller has one register range and uses separate reference and APB
interface clocks.
Add the DP1000-specific compatible string with the generic one as a
fallback.
Signed-off-by: Jia Wang <wangjia@xxxxxxxxxxxxx>
---
.../devicetree/bindings/i2c/snps,designware-i2c.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
index 467bdcbb8538..8a7c0a44601b 100644
--- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
@@ -21,6 +21,20 @@ allOf:
properties:
reg:
maxItems: 1
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: ultrarisc,dp1000-i2c
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ clock-names:
+ minItems: 2
+ required:
+ - clocks
+ - clock-names
properties:
compatible:
@@ -44,6 +58,7 @@ properties:
- mscc,ocelot-i2c
- sophgo,sg2044-i2c
- thead,th1520-i2c
+ - ultrarisc,dp1000-i2c
- const: snps,designware-i2c
reg:
--
2.34.1