diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-11-20 01:19:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-20 22:25:24 +0300 |
commit | 15b991ade40069b2b88f29082f4ee59ae0a1ac38 (patch) | |
tree | d216071bf159b902e73fea095636e3b952a21cd0 /arch/arm/boot/dts/am571x-idk.dts | |
parent | 39331a49c4e159eca2500ccbd25ccf9e048b7559 (diff) | |
download | linux-15b991ade40069b2b88f29082f4ee59ae0a1ac38.tar.xz |
ARM: dts: am571x-idk: enable for new cpsw switch dev driver
Add DT nodes for new cpsw switchdev driver for am571x-idk board for now to
enable testing of the new solution.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/am571x-idk.dts')
-rw-r--r-- | arch/arm/boot/dts/am571x-idk.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts index 0aaacea1d887..820ce3b60bb6 100644 --- a/arch/arm/boot/dts/am571x-idk.dts +++ b/arch/arm/boot/dts/am571x-idk.dts @@ -186,3 +186,30 @@ 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 = <ðphy0_sw>; + phy-mode = "rgmii"; + ti,dual-emac-pvid = <1>; +}; + +&cpsw_port2 { + phy-handle = <ðphy1_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>; + }; +}; |