summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2014-03-05 08:29:19 +0100
committerTony Lindgren <tony@atomide.com>2014-03-05 11:53:36 -0800
commit18c49af3ee9e32a535413a949672bea726699f04 (patch)
tree44d4d9efd7acf34316f6ed29623e95d87c3ebac5 /arch/arm
parenta1b8ee105888f7041e99944d4deed0b0c5af5eca (diff)
ARM: dts: am335x-evmsk: enable dual_emac mode
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> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/am335x-evmsk.dts3
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 ac1f7597f1b1..b50e9efc7741 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -473,6 +473,7 @@
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
+ dual_emac = <1>;
};
&davinci_mdio {
@@ -484,11 +485,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 {