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.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: The NIC functionality of NXP NETC 8 9description: 10 The NIC functionality in NETC is known as EtherNET Controller (ENETC). ENETC 11 supports virtualization/isolation based on PCIe Single Root IO Virtualization 12 (SR-IOV), advanced QoS with 8 traffic classes and 4 drop resilience levels, 13 and a full range of TSN standards and NIC offload capabilities 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,e100 26 - const: fsl,enetc 27 28 reg: 29 maxItems: 1 30 31 mdio: 32 $ref: mdio.yaml 33 unevaluatedProperties: false 34 description: Optional child node for ENETC instance, otherwise use NETC EMDIO. 35 36required: 37 - compatible 38 - reg 39 40allOf: 41 - $ref: /schemas/pci/pci-device.yaml 42 - $ref: ethernet-controller.yaml 43 44unevaluatedProperties: false 45 46examples: 47 - | 48 pcie { 49 #address-cells = <3>; 50 #size-cells = <2>; 51 52 ethernet@0,0 { 53 compatible = "pci1957,e100", "fsl,enetc"; 54 reg = <0x000000 0 0 0 0>; 55 phy-handle = <&sgmii_phy0>; 56 phy-connection-type = "sgmii"; 57 58 mdio { 59 #address-cells = <1>; 60 #size-cells = <0>; 61 phy@2 { 62 reg = <0x2>; 63 }; 64 }; 65 }; 66 }; 67