1 * ENETC ethernet device tree bindings
3 Depending on board design and ENETC port type (internal or
4 external) there are two supported link modes specified by
5 below device tree bindings.
9 - reg : Specifies PCIe Device Number and Function
10 Number of the ENETC endpoint device, according
11 to parent node bindings.
12 - compatible : Should be "fsl,enetc".
14 1) The ENETC external port is connected to a MDIO configurable phy:
16 In this case, the ENETC node should include a "mdio" sub-node
17 that in turn should contain the "ethernet-phy" node describing the
18 external phy. Below properties are required, their bindings
19 already defined in ethernet.txt or phy.txt, under
20 Documentation/devicetree/bindings/net/*.
24 - phy-handle : Phandle to a PHY on the MDIO bus.
25 Defined in ethernet.txt.
27 - phy-connection-type : Defined in ethernet.txt.
29 - mdio : "mdio" node, defined in mdio.txt.
31 - ethernet-phy : "ethernet-phy" node, defined in phy.txt.
36 compatible = "fsl,enetc";
37 reg = <0x000000 0 0 0 0>;
38 phy-handle = <&sgmii_phy0>;
39 phy-connection-type = "sgmii";
44 sgmii_phy0: ethernet-phy@2 {
50 2) The ENETC port is an internal port or has a fixed-link external
53 In this case, the ENETC port node defines a fixed link connection,
54 as specified by "fixed-link.txt", under
55 Documentation/devicetree/bindings/net/*.
59 - fixed-link : "fixed-link" node, defined in "fixed-link.txt".
63 compatible = "fsl,enetc";
64 reg = <0x000200 0 0 0 0>;