12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 22eb4d8dcSEmmanuel Vadot%YAML 1.2 32eb4d8dcSEmmanuel Vadot--- 42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/net/brcm,bcm6368-mdio-mux.yaml# 52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 62eb4d8dcSEmmanuel Vadot 72eb4d8dcSEmmanuel Vadottitle: Broadcom BCM6368 MDIO bus multiplexer 82eb4d8dcSEmmanuel Vadot 92eb4d8dcSEmmanuel Vadotmaintainers: 102eb4d8dcSEmmanuel Vadot - Álvaro Fernández Rojas <noltari@gmail.com> 112eb4d8dcSEmmanuel Vadot 122eb4d8dcSEmmanuel Vadotdescription: 132eb4d8dcSEmmanuel Vadot This MDIO bus multiplexer defines buses that could be internal as well as 142eb4d8dcSEmmanuel Vadot external to SoCs. When child bus is selected, one needs to select these two 152eb4d8dcSEmmanuel Vadot properties as well to generate desired MDIO transaction on appropriate bus. 162eb4d8dcSEmmanuel Vadot 172eb4d8dcSEmmanuel VadotallOf: 18*e67e8565SEmmanuel Vadot - $ref: mdio-mux.yaml# 192eb4d8dcSEmmanuel Vadot 202eb4d8dcSEmmanuel Vadotproperties: 212eb4d8dcSEmmanuel Vadot compatible: 222eb4d8dcSEmmanuel Vadot const: brcm,bcm6368-mdio-mux 232eb4d8dcSEmmanuel Vadot 242eb4d8dcSEmmanuel Vadot reg: 252eb4d8dcSEmmanuel Vadot maxItems: 1 262eb4d8dcSEmmanuel Vadot 272eb4d8dcSEmmanuel Vadotrequired: 282eb4d8dcSEmmanuel Vadot - compatible 292eb4d8dcSEmmanuel Vadot - reg 302eb4d8dcSEmmanuel Vadot 312eb4d8dcSEmmanuel VadotunevaluatedProperties: false 322eb4d8dcSEmmanuel Vadot 332eb4d8dcSEmmanuel Vadotexamples: 342eb4d8dcSEmmanuel Vadot - | 352eb4d8dcSEmmanuel Vadot mdio0: mdio@10e000b0 { 362eb4d8dcSEmmanuel Vadot #address-cells = <1>; 372eb4d8dcSEmmanuel Vadot #size-cells = <0>; 382eb4d8dcSEmmanuel Vadot compatible = "brcm,bcm6368-mdio-mux"; 392eb4d8dcSEmmanuel Vadot reg = <0x10e000b0 0x6>; 402eb4d8dcSEmmanuel Vadot 412eb4d8dcSEmmanuel Vadot mdio_int: mdio@0 { 422eb4d8dcSEmmanuel Vadot #address-cells = <1>; 432eb4d8dcSEmmanuel Vadot #size-cells = <0>; 442eb4d8dcSEmmanuel Vadot reg = <0>; 452eb4d8dcSEmmanuel Vadot }; 462eb4d8dcSEmmanuel Vadot 472eb4d8dcSEmmanuel Vadot mdio_ext: mdio@1 { 482eb4d8dcSEmmanuel Vadot #address-cells = <1>; 492eb4d8dcSEmmanuel Vadot #size-cells = <0>; 502eb4d8dcSEmmanuel Vadot reg = <1>; 512eb4d8dcSEmmanuel Vadot }; 522eb4d8dcSEmmanuel Vadot }; 53