ARM: dts: am57xx-idk: switch to new cpsw switch drv
Switch all am571/2/4-idk boards to use new cpsw switch driver. Those boards have 2 Ext. port wired and configured in dual_mac mode by default. Hence, dual_mac mode has been preserved the same way between legacy and new driver it's safe to switch drivers. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
67e97cc60d
commit
d56fe359e6
|
@ -208,30 +208,3 @@
|
||||||
pinctrl-1 = <&mmc2_pins_hs>;
|
pinctrl-1 = <&mmc2_pins_hs>;
|
||||||
pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
|
pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&mac_sw {
|
|
||||||
pinctrl-names = "default", "sleep";
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&cpsw_port1 {
|
|
||||||
phy-handle = <ðphy0_sw>;
|
|
||||||
phy-mode = "rgmii-rxid";
|
|
||||||
ti,dual-emac-pvid = <1>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&cpsw_port2 {
|
|
||||||
phy-handle = <ðphy1_sw>;
|
|
||||||
phy-mode = "rgmii-rxid";
|
|
||||||
ti,dual-emac-pvid = <2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&davinci_mdio_sw {
|
|
||||||
ethphy0_sw: ethernet-phy@0 {
|
|
||||||
reg = <0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
ethphy1_sw: ethernet-phy@1 {
|
|
||||||
reg = <1>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
|
@ -27,8 +27,3 @@
|
||||||
pinctrl-1 = <&mmc2_pins_hs>;
|
pinctrl-1 = <&mmc2_pins_hs>;
|
||||||
pinctrl-2 = <&mmc2_pins_ddr_rev20>;
|
pinctrl-2 = <&mmc2_pins_ddr_rev20>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&mac {
|
|
||||||
status = "okay";
|
|
||||||
dual_emac;
|
|
||||||
};
|
|
||||||
|
|
|
@ -36,11 +36,6 @@
|
||||||
pinctrl-2 = <&mmc2_pins_default>;
|
pinctrl-2 = <&mmc2_pins_default>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&mac {
|
|
||||||
status = "okay";
|
|
||||||
dual_emac;
|
|
||||||
};
|
|
||||||
|
|
||||||
&m_can0 {
|
&m_can0 {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
|
@ -448,19 +448,23 @@
|
||||||
ext-clk-src;
|
ext-clk-src;
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpsw_emac0 {
|
&mac_sw {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&cpsw_port1 {
|
||||||
phy-handle = <ðphy0>;
|
phy-handle = <ðphy0>;
|
||||||
phy-mode = "rgmii-rxid";
|
phy-mode = "rgmii-rxid";
|
||||||
dual_emac_res_vlan = <1>;
|
ti,dual-emac-pvid = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpsw_emac1 {
|
&cpsw_port2 {
|
||||||
phy-handle = <ðphy1>;
|
phy-handle = <ðphy1>;
|
||||||
phy-mode = "rgmii-rxid";
|
phy-mode = "rgmii-rxid";
|
||||||
dual_emac_res_vlan = <2>;
|
ti,dual-emac-pvid = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&davinci_mdio {
|
&davinci_mdio_sw {
|
||||||
ethphy0: ethernet-phy@0 {
|
ethphy0: ethernet-phy@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue