dt-bindings: net: airoha: add AN7589 MDIO controller
Subsystems (3)
PATCH 1/1 dt-bindings: net: airoha: add AN7589 MDIO controller
The AN7589 carries the AN7583 SCU MDIO controller three times, the third one at offset 0xd8. Document it as a fallback pair on the AN7583 compatible. Allow the new offset for the AN7589 only.
Signed-off-by John Crispin <[email protected]>
--- .../bindings/net/airoha,an7583-mdio.yaml | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/net/airoha,an7583-mdio.yaml +23 -2
@@ -17,14 +17,20 @@ description: The other 2 (that this schema describe) live under the SCU register supporting both C22 and C45 PHYs. + The Airoha AN7589 has a third controller of this kind under the SCU. + $ref: mdio.yaml# properties: compatible: - const: airoha,an7583-mdio + oneOf: + - const: airoha,an7583-mdio + - items: + - const: airoha,an7589-mdio + - const: airoha,an7583-mdio reg: - enum: [0xc8, 0xcc] + maxItems: 1 clocks: maxItems: 1
@@ -41,6 +47,21 @@ required: - clocks - resets +allOf: + - if: + properties: + compatible: + contains: + const: airoha,an7589-mdio + then: + properties: + reg: + enum: [0xc8, 0xcc, 0xd8] + else: + properties: + reg: + enum: [0xc8, 0xcc] + unevaluatedProperties: false examples:
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
Signature · 1 line
2.34.1
Acked-by Conor Dooley <[email protected]>
pw-bot: not-applicable
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Thu, 12 Nov 2026 20:09:28 +0100 you wrote:
The AN7589 carries the AN7583 SCU MDIO controller three times, the third one at offset
0xd8. Document it as a fallback pair on the AN7583 compatible. Allow the new offset for the AN7589 only.Signed-off-by John Crispin <[email protected]>--- .../bindings/net/airoha,an7583-mdio.yaml | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-)[...]
Here is the summary with links:
- [net-next] dt-bindings: net: airoha: add AN7589 MDIO controller
https://git.kernel.org/netdev/net-next/c/7f2ae640555a
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html