Commit e3daf0e7 authored by Jacky Chou's avatar Jacky Chou Committed by Paolo Abeni
Browse files

dt-bindings: net: aspeed: add AST2700 MDIO compatible



Add "aspeed,ast2700-mdio" compatible to the binding schema with a fallback
to "aspeed,ast2600-mdio".

Although the MDIO controller on AST2700 is functionally the same as the
one on AST2600, it's good practice to add a SoC-specific compatible for
new silicon. This allows future driver updates to handle any 2700-specific
integration issues without requiring devicetree changes or complex
runtime detection logic.

For now, the driver continues to bind via the existing
"aspeed,ast2600-mdio" compatible, so no driver changes are needed.

Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarJacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20251120-aspeed_mdio_ast2700-v2-1-0d722bfb2c54@aspeedtech.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent cc1b6251
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -19,7 +19,12 @@ allOf:

properties:
  compatible:
    const: aspeed,ast2600-mdio
    oneOf:
      - const: aspeed,ast2600-mdio
      - items:
          - enum:
              - aspeed,ast2700-mdio
          - const: aspeed,ast2600-mdio

  reg:
    maxItems: 1