Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Broadcom BCM6368 MDIO bus multiplexer |
| 8 | |
| 9 | maintainers: |
| 10 | - Álvaro Fernández Rojas <noltari@gmail.com> |
| 11 | |
| 12 | description: |
| 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 | |
| 17 | allOf: |
| 18 | - $ref: mdio-mux.yaml# |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | const: brcm,bcm6368-mdio-mux |
| 23 | |
| 24 | reg: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | required: |
| 28 | - compatible |
| 29 | - reg |
| 30 | |
| 31 | unevaluatedProperties: false |
| 32 | |
| 33 | examples: |
| 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 | }; |