The devicetree documentation says the TI CPSW Phy Mode Selection device (cpsw-phy-sel) is DEPRICATED in the latest AM335x SDK (v08.02). Previously the phy_sel: would be specified in the &davinci_mdio node and referenced in the &mac node. Then the &cpsw_emac0 node referenced &davinci_mdio, like this:
/* Ethernet Subsystem */ &mac { pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; status = "okay"; slaves = <1>; cpsw-phy-sel = <&phy_sel>; }; &davinci_mdio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; phy_sel: cpsw-phy-sel@44e10650 { compatible = "ti,am3352-cpsw-phy-sel"; reg= <0x44e10650 0x4>; reg-names = "gmii-sel"; rmii-clock-ext; }; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <0>; phy-mode = "rmii"; };
What is the correct way to specify the nodes to bring up eth0 now?