[PATCH v5 1/4] dt-bindings: i2c: add support for AE350 I2C controller
Ben Zong-You Xie via B4 Relay <[email protected]> Tue, 11 Aug 2026 14:29:48 +0800
| Newsgroups | org.kernel.vger.linux-i2c,org.infradead.lists.linux-riscv,org.kernel.feeds.b4-sent,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Ben Zong-You Xie <[email protected]> Document device tree bindings for the I2C controller on Andes AE350 platform. The ATCIIC100 is a dedicated I2C controller IP developed by Andes Technology. This IP block is a core component of the Andes AE350 platform, which serves as a reference architecture for SoC designs. The QiLai SoC also integrates this I2C controller. The binding introduces the following compatible strings: - "andestech,qilai-i2c": For the implementation integrated into the Andes QiLai SoC. - "andestech,ae350-i2c": As a fallback compatible string representing the base IP design used across the AE350 platform architecture. Signed-off-by: Ben Zong-You Xie <[email protected]> Acked-by: Conor Dooley <[email protected]> --- .../bindings/i2c/andestech,ae350-i2c.yaml | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/andestech,ae350-i2c.yaml b/Documentation/devicetree/bindings/i2c/andestech,ae350-i2c.yaml new file mode 100644 index 000000000000..59a521fb249b --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/andestech,ae350-i2c.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/andestech,ae350-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Andes I2C controller on AE350 platform + +maintainers: + - Ben Zong-You Xie <[email protected]> + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - andestech,qilai-i2c + - const: andestech,ae350-i2c + - const: andestech,ae350-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + + i2c@f0a00000 { + compatible = "andestech,ae350-i2c"; + reg = <0xf0a00000 0x100000>; + interrupts = <6 IRQ_TYPE_LEVEL_HIGH>; + }; -- 2.34.1