ENETC external MDIO PCIe endpoint device
Schema identifier ($id): "http://devicetree.org/schemas/net/fsl,enetc-mdio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
NETC provides an external master MDIO interface (EMDIO) for managing external devices (PHYs). EMDIO supports both Clause 22 and 45 protocols. And the EMDIO provides a means for different software modules to share a single set of MDIO signals to access their PHYs.
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>", "Vladimir Oltean <vladimir.oltean@nxp.com>", "Wei Fang <wei.fang@nxp.com>", "Claudiu Manoil <claudiu.manoil@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,enetc-mdio"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pci1131,ee00"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mdio.yaml
Rule 2 #
Shared schema rule (
$ref):/schemas/pci/pci-device.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pcie{
#address-cells = <3>;
#size-cells = <2>;
mdio@0,3 {
compatible = "pci1957,ee01", "fsl,enetc-mdio";
reg = <0x000300 0 0 0 0>;
#address-cells = <1>;
#size-cells = <0>;
ethernet-phy@2 {
reg = <0x2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)