From: Andrew F. Davis Date: Fri, 27 May 2016 18:17:43 +0000 (-0500) Subject: ARM: dts: am335x-bone-common: Mark MAC as having only one PHY X-Git-Tag: v4.8-rc1~66^2~20^2~15 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=fd4eeada1bf1264f7ff21fb5368ff1d17703af96;p=linux.git ARM: dts: am335x-bone-common: Mark MAC as having only one PHY Currently am33xx.dtsi declares the MAC controller to have two slave ports, on these boards we only use one, so set the slave count to one. This eliminates a console error message when the non-existent PHY is not detected. Signed-off-by: Andrew F. Davis Reviewed-by: Grygorii Strashko Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 13133f3587b8..6b0609617c30 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -359,12 +359,8 @@ &cpsw_emac0 { phy-mode = "mii"; }; -&cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; - phy-mode = "mii"; -}; - &mac { + slaves = <1>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>;