Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 oneOf:
24 - items:
25 - enum:
26 - pci1957,ee01
27 - const: fsl,enetc-mdio
28 - items:
29 - const: pci1131,ee00
30
31 reg:
32 maxItems: 1
33
34required:
35 - compatible
36 - reg
37
38allOf:
39 - $ref: mdio.yaml
40 - $ref: /schemas/pci/pci-device.yaml
41
42unevaluatedProperties: false
43
44examples:
45 - |
46 pcie{
47 #address-cells = <3>;
48 #size-cells = <2>;
49
50 mdio@0,3 {
51 compatible = "pci1957,ee01", "fsl,enetc-mdio";
52 reg = <0x000300 0 0 0 0>;
53 #address-cells = <1>;
54 #size-cells = <0>;
55
56 ethernet-phy@2 {
57 reg = <0x2>;
58 };
59 };
60 };