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

title: Broadcom iProc MDIO bus controller

maintainers:
  - Rafał Miłecki <rafal@milecki.pl>

allOf:
  - $ref: mdio.yaml#

properties:
  compatible:
    const: brcm,iproc-mdio

  reg:
    maxItems: 1

unevaluatedProperties: false

required:
  - reg

examples:
  - |
    mdio@18002000 {
        compatible = "brcm,iproc-mdio";
        reg = <0x18002000 0x8>;
        #address-cells = <1>;
        #size-cells = <0>;

        ethernet-phy@0 {
            reg = <0>;
        };
    };
