ARM: dts: am437x-idk-evm: Mark MAC as having only one PHY
PATCH 1/2 ARM: dts: am437x-idk-evm: Mark MAC as having only one PHY
Currently am4372.dtsi declares the MAC controller to have two slave ports, on this board 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.
--- arch/arm/boot/dts/am437x-idk-evm.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/am437x-idk-evm.dts +1 -0
@@ -382,6 +382,7 @@ }; &mac { + slaves = <1>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>;
Signature · 1 line
2.8.3
PATCH 2/2 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.
--- arch/arm/boot/dts/am335x-bone-common.dtsi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
arch/arm/boot/dts/am335x-bone-common.dtsi +1 -5
@@ -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>;
Signature · 6 lines
2.8.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 16 lines · Andrew F. Davis
Currently
am4372.dtsideclares the MAC controller to have two slave ports, on this board 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 <[email protected]>--- arch/arm/boot/dts/am437x-idk-evm.dts | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/am437x-idk-evm.dts +0
-0
arch/arm/boot/dts/am437x-idk-evm.dts line 388
Quoted 7 lines
arch/arm/boot/dts/am437x-idk-evm.dts +1
-0@@ -382,6 +382,7 @@ }; &mac { + slaves = <1>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>;
Signature · 2 lines
regards, -grygorii
Re: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only one PHY
In reply to Andrew F. DavisQuoted 19 lines · Andrew F. Davis
Currently
am33xx.dtsideclares 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 <[email protected]>--- arch/arm/boot/dts/am335x-bone-common.dtsi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)arch/arm/boot/dts/am335x-bone-common.dtsi +0
-0@@ -359,12 +359,8 @@ phy-mode = "mii"; };
arch/arm/boot/dts/am335x-bone-common.dtsi line 366
Quoted 10 lines
arch/arm/boot/dts/am335x-bone-common.dtsi +1
-5-&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>;
Signature · 6 lines
regards, -grygorii -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only one PHY
Quoted 5 lines · Grygorii Strashko
Quoted 4 lines · Andrew F. Davis
Currently
am33xx.dtsideclares 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.
...
Quoted 1 line
Reviewed-by Grygorii Strashko <[email protected]>
Applying both into omap-for-v4.8/dt thanks.
Tony