[PATCH v2 4/5] dt-bindings: clock: airoha: allow MDIO controllers under the SCU

From: John Crispin

Date: Tue Dec 01 2026 - 14:37:34 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>
---
v2: rebased, no other change

.../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 7dc929f8586a..5fa885e02544 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