[PATCH v8 1/4] dt-bindings: net: amlogic,g12a-mdio-mux: add the T7 compatible

From: Lucas Tanure

Date: Sat Nov 21 2026 - 16:31:52 EST


The T7 has the same management bus multiplexer as the G12A, in front
of the same on-chip 100M PHY, and the G12A driver runs it unchanged.
But a device tree that names only the G12A string leaves no way to
tell the two apart later: if a difference between the two blocks
turns up, every T7 board would have to change its compatible to get
the fix.

Give the T7 a compatible of its own with the G12A one as fallback, so
the existing driver keeps binding and a T7-specific match can be added
without touching the boards.

Signed-off-by: Lucas Tanure <tanure@xxxxxxxxx>
---
.../devicetree/bindings/net/amlogic,g12a-mdio-mux.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/amlogic,g12a-mdio-mux.yaml b/Documentation/devicetree/bindings/net/amlogic,g12a-mdio-mux.yaml
index ec5c038ce6a0..ad95562d1f3b 100644
--- a/Documentation/devicetree/bindings/net/amlogic,g12a-mdio-mux.yaml
+++ b/Documentation/devicetree/bindings/net/amlogic,g12a-mdio-mux.yaml
@@ -19,7 +19,11 @@ allOf:

properties:
compatible:
- const: amlogic,g12a-mdio-mux
+ oneOf:
+ - const: amlogic,g12a-mdio-mux
+ - items:
+ - const: amlogic,t7-mdio-mux
+ - const: amlogic,g12a-mdio-mux

reg:
maxItems: 1
--
2.56.1