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  $nodename:
19    pattern: '^mdio-mux[\-@]?'
20
21  mdio-parent-bus:
22    $ref: /schemas/types.yaml#/definitions/phandle
23    description:
24      The phandle of the MDIO bus that this multiplexer's master-side port is
25      connected to.
26
27  '#address-cells':
28    const: 1
29
30  '#size-cells':
31    const: 0
32
33patternProperties:
34  '^mdio@[0-9a-f]+$':
35    type: object
36
37    properties:
38      reg:
39        maxItems: 1
40        description: The sub-bus number.
41
42additionalProperties: true
43
44...
45