xref: /freebsd/sys/contrib/device-tree/Bindings/net/brcm,bcm6368-mdio-mux.yaml (revision 058ac3e8063366dafa634d9107642e12b038bf09)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/brcm,bcm6368-mdio-mux.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom BCM6368 MDIO bus multiplexer
8
9maintainers:
10  - Álvaro Fernández Rojas <noltari@gmail.com>
11
12description:
13  This MDIO bus multiplexer defines buses that could be internal as well as
14  external to SoCs. When child bus is selected, one needs to select these two
15  properties as well to generate desired MDIO transaction on appropriate bus.
16
17allOf:
18  - $ref: mdio-mux.yaml#
19
20properties:
21  compatible:
22    const: brcm,bcm6368-mdio-mux
23
24  reg:
25    maxItems: 1
26
27required:
28  - compatible
29  - reg
30
31unevaluatedProperties: false
32
33examples:
34  - |
35    mdio0: mdio@10e000b0 {
36      #address-cells = <1>;
37      #size-cells = <0>;
38      compatible = "brcm,bcm6368-mdio-mux";
39      reg = <0x10e000b0 0x6>;
40
41      mdio_int: mdio@0 {
42        #address-cells = <1>;
43        #size-cells = <0>;
44        reg = <0>;
45      };
46
47      mdio_ext: mdio@1 {
48        #address-cells = <1>;
49        #size-cells = <0>;
50        reg = <1>;
51      };
52    };
53