[PATCH v2 1/4] dt-bindings: i2c: add support for AE350 I2C controller
Ben Zong-You Xie via B4 Relay
devnull+ben717.andestech.com at kernel.org
Wed Jan 21 19:53:18 PST 2026
From: Ben Zong-You Xie <ben717 at andestech.com>
Document device tree bindings for the I2C controller on Andes AE350
platform.
Signed-off-by: Ben Zong-You Xie <ben717 at andestech.com>
---
.../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 <ben717 at andestech.com>
+
+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 at f0a00000 {
+ compatible = "andestech,ae350-i2c";
+ reg = <0xf0a00000 0x100000>;
+ interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
+ };
--
2.34.1
More information about the linux-riscv
mailing list