Amlogic GXL MDIO bus multiplexer

Schema identifier ($id): "http://devicetree.org/schemas/net/amlogic,gxl-mdio-mux.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jerome Brunet <jbrunet@baylibre.com>"

This is a special case of a MDIO bus multiplexer. It allows to choose between the internal mdio bus leading to the embedded 10/100 PHY or the external MDIO bus on the Amlogic GXL SoC family.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): mdio-mux.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,gxl-mdio-mux"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

Required in this object (required): "compatible", "reg", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

eth_phy_mux: mdio@558 {
  compatible = "amlogic,gxl-mdio-mux";
  reg = <0x558 0xc>;
  #address-cells = <1>;
  #size-cells = <0>;
  clocks = <&refclk>;
  clock-names = "ref";
  mdio-parent-bus = <&mdio0>;

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

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

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page