ARM: dts: am335x-evmsk: enable dual_emac mode
PATCH 1/1 ARM: dts: am335x-evmsk: enable dual_emac mode
From: Yegor Yefremov <[email protected]>
EVM board provides two Ethernet ports, this patch sets them into dual_emac mode to provide two independent network interfaces.
Signed-off-by Yegor Yefremov <[email protected]>
--- arch/arm/boot/dts/am335x-evmsk.dts | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/boot/dts/am335x-evmsk.dts +3 -0
@@ -449,6 +449,7 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; + dual_emac = <1>; }; &davinci_mdio {
@@ -460,11 +461,13 @@ &cpsw_emac0 { phy_id = <&davinci_mdio>, <0>; phy-mode = "rgmii-txid"; + dual_emac_res_vlan = <1>; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii-txid"; + dual_emac_res_vlan = <2>; }; &mmc1 {
Signature · 1 line
1.7.7
PATCH 1/1 ARM: dts: am335x-evmsk: enable dual_emac mode
Quoted 4 lines · yegorslists at googlemail.com
From: Yegor Yefremov <[email protected]>
EVM board provides two Ethernet ports, this patch sets them into
dual_emacmode to provide two independent network interfaces.
Thanks applying into omap-for-v3.15/dt.
Tony