[PATCH v2 2/3] dt-bindings: i2c: mt7621: add Airoha AN7589

From: John Crispin

Date: Thu Nov 12 2026 - 16:39:21 EST


The Airoha AN7589 carries the MT7621 I2C controller with a second
control register holding a wider clock divider. Out of reset the
controller uses the MT7621 divider, so the MT7621 programming works
and mediatek,mt7621-i2c serves as the fallback. Give the AN7589 a
compatible of its own so the driver can use the wider divider.

Signed-off-by: John Crispin <john@xxxxxxxxxxx>
---
Changes in v2:
- Add mediatek,mt7621-i2c as the fallback compatible (Conor).

.../devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml b/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
index 118ec00fc190..ec42e72e267f 100644
--- a/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml
@@ -9,12 +9,20 @@ maintainers:

title: Mediatek MT7621/MT7628 I2C master controller

+description:
+ The same controller is used on Airoha SoCs. The AN7589 variant adds a
+ second control register with a wider clock divider.
+
allOf:
- $ref: /schemas/i2c/i2c-controller.yaml#

properties:
compatible:
- const: mediatek,mt7621-i2c
+ oneOf:
+ - const: mediatek,mt7621-i2c
+ - items:
+ - const: airoha,an7589-i2c
+ - const: mediatek,mt7621-i2c

reg:
maxItems: 1
--
2.34.1