summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-05-27 20:17:43 +0200
committerTony Lindgren <tony@atomide.com>2016-06-10 13:58:08 +0200
commitfd4eeada1bf1264f7ff21fb5368ff1d17703af96 (patch)
treef9603b8b013233a544ceef8641c20430bd6234bf
parentARM: dts: am437x-idk-evm: Mark MAC as having only one PHY (diff)
downloadlinux-fd4eeada1bf1264f7ff21fb5368ff1d17703af96.tar.xz
linux-fd4eeada1bf1264f7ff21fb5368ff1d17703af96.zip
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 <afd@ti.com> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/am335x-bone-common.dtsi6
1 files changed, 1 insertions, 5 deletions
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 @@
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>;