Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / am571x-idk.dts
index 0aaacea1d887bf2c2b61f9887f970a5719bbf6fb..820ce3b60bb6c50a5b7a44b457e428b4383536d4 100644 (file)
        pinctrl-1 = <&mmc2_pins_hs>;
        pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
 };
+
+&mac_sw {
+       pinctrl-names = "default", "sleep";
+       status = "okay";
+};
+
+&cpsw_port1 {
+       phy-handle = <&ethphy0_sw>;
+       phy-mode = "rgmii";
+       ti,dual-emac-pvid = <1>;
+};
+
+&cpsw_port2 {
+       phy-handle = <&ethphy1_sw>;
+       phy-mode = "rgmii";
+       ti,dual-emac-pvid = <2>;
+};
+
+&davinci_mdio_sw {
+       ethphy0_sw: ethernet-phy@0 {
+               reg = <0>;
+       };
+
+       ethphy1_sw: ethernet-phy@1 {
+               reg = <1>;
+       };
+};