[PATCH 5/6] dt-bindings: clock: airoha: allow MDIO controllers under the SCU
From: John Crispin
Date: Tue Nov 24 2026 - 05:12:41 EST
The AN7583 and AN7589 MDIO controllers live in the SCU register space
and take their registers as offsets into the SCU node. Allow them as
children of the clock controller.
Signed-off-by: John Crispin <john@xxxxxxxxxxx>
---
.../devicetree/bindings/clock/airoha,en7523-scu.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
index 947f8b939449..f3172ab9ce78 100644
--- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
+++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
@@ -65,6 +65,18 @@ properties:
for configuring and read the base clock sources, dividers and
clock gates.
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 0
+
+patternProperties:
+ '^mdio-bus@[0-9a-f]+$':
+ type: object
+ $ref: /schemas/net/airoha,an7583-mdio.yaml#
+ description: MDIO controller living in the SCU register space.
+
required:
- compatible
- reg
--
2.34.1