]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am335x-bone-common: Mark MAC as having only one PHY
authorAndrew F. Davis <afd@ti.com>
Fri, 27 May 2016 18:17:43 +0000 (13:17 -0500)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Jun 2016 11:58:08 +0000 (04:58 -0700)
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 <afd@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-bone-common.dtsi

index 13133f3587b836ad0df21f6bfa2f31ebfbc29673..6b0609617c305b9d907bddc061453e503c683051 100644 (file)
@@ -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>;