linux icon indicating copy to clipboard operation
linux copied to clipboard

[faraday/ftgmac100] Add support for PHY of-node passing

Open ya-mouse opened this issue 9 years ago • 0 comments

This patch based on ability of ethernet/cadence to configure PHY with corresponding driver defined in DTS or fallback to the default behaviour otherwise.

An example DTS snippet:

mac0: ethernet@1e660000 {
    no-hw-checksum;

    phy-handle = <&phy0>;
    phy-mode = "rgmii";

    phy0: phy@0 {
        compatible = "ethernet-phy-id001c.c915",
                     "ethernet-phy-ieee802.3-c22";
        reg = <0>;
    };
};

Signed-off-by: Anton D. Kachalov [email protected]

ya-mouse avatar Nov 10 '16 13:11 ya-mouse