Please refer to the new binding guide in 3.14.28
Optional subnodes:
32 - mdio : specifies the mdio bus in the FEC, used as a container for phy nodes
33 according to phy.txt in the same directory
34
35 Example:
36
37 ethernet@83fec000 {
38 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
39 reg = <0x83fec000 0x4000>;
40 interrupts = <87>;
41 phy-mode = "mii";
42 phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */
43 local-mac-address = [00 04 9F 01 1B B9];
44 phy-supply = <®_fec_supply>;
45 };
46
47 Example with phy specified:
48
49 ethernet@83fec000 {
50 compatible = "fsl,imx51-fec", "fsl,imx27-fec";
51 reg = <0x83fec000 0x4000>;
52 interrupts = <87>;
53 phy-mode = "mii";
54 phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */
55 local-mac-address = [00 04 9F 01 1B B9];
56 phy-supply = <®_fec_supply>;
57 phy-handle = <ðphy>;
58 mdio {
59 ethphy: ethernet-phy@6 {
60 compatible = "ethernet-phy-ieee802.3-c22";
61 reg = <6>;
62 max-speed = <100>;
63 };
64 };
65 };