]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: am335x-evmsk: enable dual_emac mode
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 5 Mar 2014 07:29:19 +0000 (08:29 +0100)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Mar 2014 19:53:36 +0000 (11:53 -0800)
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>
arch/arm/boot/dts/am335x-evmsk.dts

index ac1f7597f1b1ba23541964793f3734d930d69392..b50e9efc77417f7cdbd9406ffb3fbce08112577d 100644 (file)
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;
+       dual_emac = <1>;
 };
 
 &davinci_mdio {
 &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 {