1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/mdio-mux.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Common MDIO bus multiplexer/switch properties.
8
9maintainers:
10  - Andrew Lunn <andrew@lunn.ch>
11
12description: |+
13  An MDIO bus multiplexer/switch will have several child busses that are
14  numbered uniquely in a device dependent manner.  The nodes for an MDIO
15  bus multiplexer/switch will have one child node for each child bus.
16
17properties:
18  mdio-parent-bus:
19    $ref: /schemas/types.yaml#/definitions/phandle
20    description:
21      The phandle of the MDIO bus that this multiplexer's master-side port is
22      connected to.
23
24  '#address-cells':
25    const: 1
26
27  '#size-cells':
28    const: 0
29
30patternProperties:
31  '^mdio@[0-9a-f]+$':
32    $ref: mdio.yaml#
33    unevaluatedProperties: false
34
35    properties:
36      reg:
37        maxItems: 1
38
39additionalProperties: true
40
41...
42