brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · c1dd6aa Raw
58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 device8 9description:10  NETC provides an external master MDIO interface (EMDIO) for managing external11  devices (PHYs). EMDIO supports both Clause 22 and 45 protocols. And the EMDIO12  provides a means for different software modules to share a single set of MDIO13  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,ee0126      - const: fsl,enetc-mdio27 28  reg:29    maxItems: 130 31required:32  - compatible33  - reg34 35allOf:36  - $ref: mdio.yaml37  - $ref: /schemas/pci/pci-device.yaml38 39unevaluatedProperties: false40 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