Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20251120-aspeed_mdio_ast2700-v2-1-0d722bfb2c54@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Jacky Chou and committed by
Paolo Abeni
e3daf0e7 cc1b6251

+6 -1
+6 -1
Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
··· 19 19 20 20 properties: 21 21 compatible: 22 - const: aspeed,ast2600-mdio 22 + oneOf: 23 + - const: aspeed,ast2600-mdio 24 + - items: 25 + - enum: 26 + - aspeed,ast2700-mdio 27 + - const: aspeed,ast2600-mdio 23 28 24 29 reg: 25 30 maxItems: 1