# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/net/hisilicon,hns-mdio.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Hisilicon HNS MDIO bus controller maintainers: - Jian Shen - Jijie Shao allOf: - $ref: mdio.yaml# properties: compatible: enum: - hisilicon,hns-mdio - hisilicon,mdio reg: maxItems: 1 subctrl-vbase: $ref: /schemas/types.yaml#/definitions/phandle-array items: - items: - description: syscon phandle - description: MDIO clock enable register offset - description: MDIO reset request register offset - description: MDIO clock state register offset - description: MDIO reset state register offset required: - compatible - reg - '#address-cells' - '#size-cells' - subctrl-vbase unevaluatedProperties: false examples: - | bus { #address-cells = <2>; #size-cells = <2>; mdio@803c0000 { #address-cells = <1>; #size-cells = <0>; compatible = "hisilicon,hns-mdio"; reg = <0x0 0x803c0000 0x0 0x10000>; subctrl-vbase = <&peri_c_subctrl 0x338 0xa38 0x531c 0x5a1c>; ethernet-phy@0 { reg = <0>; }; }; };