Debian Codegraph @

Documentation/devicetree/bindings/net/fsl,enetc-mdio.yaml

raw
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
7 title: ENETC external MDIO PCIe endpoint device
8
9 description:
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
15 maintainers:
16 - Frank Li <[email protected]>
17 - Vladimir Oltean <[email protected]>
18 - Wei Fang <[email protected]>
19 - Claudiu Manoil <[email protected]>
20
21 properties:
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
34 required:
35 - compatible
36 - reg
37
38 allOf:
39 - $ref: mdio.yaml
40 - $ref: /schemas/pci/pci-device.yaml
41
42 unevaluatedProperties: false
43
44 examples:
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 };