* [PATCH] ARM: dts: am335x-evmsk: enable dual_emac mode
@ 2014-03-05 7:29 yegorslists at googlemail.com
2014-03-05 19:54 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2014-03-05 7:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Yegor Yefremov <yegorslists@googlemail.com>
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 <yegorslists@googlemail.com>
---
arch/arm/boot/dts/am335x-evmsk.dts | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 40a66bd..144ed07 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -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 {
--
1.7.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dts: am335x-evmsk: enable dual_emac mode
2014-03-05 7:29 [PATCH] ARM: dts: am335x-evmsk: enable dual_emac mode yegorslists at googlemail.com
@ 2014-03-05 19:54 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2014-03-05 19:54 UTC (permalink / raw)
To: linux-arm-kernel
* yegorslists at googlemail.com <yegorslists@googlemail.com> [140304 23:32]:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> EVM board provides two Ethernet ports, this patch sets them into
> dual_emac mode to provide two independent network interfaces.
Thanks applying into omap-for-v3.15/dt.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-05 19:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 7:29 [PATCH] ARM: dts: am335x-evmsk: enable dual_emac mode yegorslists at googlemail.com
2014-03-05 19:54 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).