Add documentation for compatible string thead,th1520-i2c which can be used specifically for the TH1520 SoC. Signed-off-by: Thomas Bonnefille <thomas.bonnefille@xxxxxxxxxxx> --- .../devicetree/bindings/i2c/snps,designware-i2c.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml index d9293c57f573..a7fa191fefd6 100644 --- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml @@ -33,6 +33,10 @@ properties: - const: snps,designware-i2c - description: Baikal-T1 SoC System I2C controller const: baikal,bt1-sys-i2c + - description: T-HEAD TH1520 SoCs I2C controller + items: + - const: thead,th1520-i2c + - const: snps,designware-i2c reg: minItems: 1 @@ -142,4 +146,12 @@ examples: interrupts = <8>; clocks = <&ahb_clk>; }; + - | + i2c@e7f20000 { + compatible = "thead,th1520-i2c", "snps,designware-i2c"; + reg = <0xe7f20000 0x4000>; + interrupts = <44>; + clocks = <&i2c_ic_clk>; + status = "disabled"; + }; ... -- 2.44.0