1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/fsl,enetc-mdio.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: ENETC external MDIO PCIe endpoint device 8 9description: 10 NETC provides an external master MDIO interface (EMDIO) for managing external 11 devices (PHYs). EMDIO supports both Clause 22 and 45 protocols. And the EMDIO 12 provides a means for different software modules to share a single set of MDIO 13 signals to access their PHYs. 14 15maintainers: 16 - Frank Li <Frank.Li@nxp.com> 17 - Vladimir Oltean <vladimir.oltean@nxp.com> 18 - Wei Fang <wei.fang@nxp.com> 19 - Claudiu Manoil <claudiu.manoil@nxp.com> 20 21properties: 22 compatible: 23 items: 24 - enum: 25 - pci1957,ee01 26 - const: fsl,enetc-mdio 27 28 reg: 29 maxItems: 1 30 31required: 32 - compatible 33 - reg 34 35allOf: 36 - $ref: mdio.yaml 37 - $ref: /schemas/pci/pci-device.yaml 38 39unevaluatedProperties: false 40 41examples: 42 - | 43 pcie{ 44 #address-cells = <3>; 45 #size-cells = <2>; 46 47 mdio@0,3 { 48 compatible = "pci1957,ee01", "fsl,enetc-mdio"; 49 reg = <0x000300 0 0 0 0>; 50 #address-cells = <1>; 51 #size-cells = <0>; 52 53 ethernet-phy@2 { 54 reg = <0x2>; 55 }; 56 }; 57 }; 58