Documentation/devicetree/bindings/net/brcm,bcm6368-mdio-mux.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/net/brcm,bcm6368-mdio-mux.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/net/brcm,bcm6368-mdio-mux.yaml
Extension
.yaml
Size
1128 bytes
Lines
53
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/brcm,bcm6368-mdio-mux.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom BCM6368 MDIO bus multiplexer

maintainers:
  - Álvaro Fernández Rojas <noltari@gmail.com>

description:
  This MDIO bus multiplexer defines buses that could be internal as well as
  external to SoCs. When child bus is selected, one needs to select these two
  properties as well to generate desired MDIO transaction on appropriate bus.

allOf:
  - $ref: mdio-mux.yaml#

properties:
  compatible:
    const: brcm,bcm6368-mdio-mux

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    mdio0: mdio@10e000b0 {
      #address-cells = <1>;
      #size-cells = <0>;
      compatible = "brcm,bcm6368-mdio-mux";
      reg = <0x10e000b0 0x6>;

      mdio_int: mdio@0 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0>;
      };

      mdio_ext: mdio@1 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <1>;
      };
    };

Annotation

Implementation Notes