From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: <linux-omap@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Sekhar Nori <nsekhar@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Murali Karicheri <m-karicheri2@ti.com>,
Grygorii Strashko <grygorii.strashko@ti.com>
Subject: [PATCH next 1/6] ARM: dts: am5729: beagleboneai: switch to new cpsw switch drv
Date: Mon, 7 Sep 2020 23:21:20 +0300 [thread overview]
Message-ID: <20200907202125.22943-2-grygorii.strashko@ti.com> (raw)
In-Reply-To: <20200907202125.22943-1-grygorii.strashko@ti.com>
Switch BeagleBone AI to use new cpsw switch driver.
It has one Ext. port only and fits dual_mac mode with no issues.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
arch/arm/boot/dts/am5729-beagleboneai.dts | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts
index e9c7f44126e7..149cfafb90bf 100644
--- a/arch/arm/boot/dts/am5729-beagleboneai.dts
+++ b/arch/arm/boot/dts/am5729-beagleboneai.dts
@@ -488,25 +488,29 @@
status = "okay";
};
-&davinci_mdio {
+&davinci_mdio_sw {
reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
reset-delay-us = <2>;
- phy0: ethernet-phy@1 {
+ phy0: ethernet-phy@4 {
reg = <4>;
eee-broken-100tx;
eee-broken-1000t;
};
};
-&mac {
- slaves = <1>;
+&mac_sw {
status = "okay";
};
-&cpsw_emac0 {
+&cpsw_port1 {
phy-handle = <&phy0>;
phy-mode = "rgmii-rxid";
+ ti,dual-emac-pvid = <1>;
+};
+
+&cpsw_port2 {
+ status = "disabled";
};
&ocp {
--
2.17.1
next prev parent reply other threads:[~2020-09-07 20:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 20:21 [PATCH next 0/6] ARM: dts: am57xx/dra7x: switch to new cpsw switch drv Grygorii Strashko
2020-09-07 20:21 ` Grygorii Strashko [this message]
2020-09-07 20:21 ` [PATCH next 2/6] ARM: dts: am57xx-idk: " Grygorii Strashko
2020-09-07 20:21 ` [PATCH next 3/6] ARM: dts: beagle-x15: " Grygorii Strashko
2020-09-07 20:21 ` [PATCH next 4/6] ARM: dts: dra7x-evm: " Grygorii Strashko
2020-09-07 20:21 ` [PATCH next 5/6] ARM: dts: am57xx-cl-som-am57x: " Grygorii Strashko
2020-09-07 20:21 ` [PATCH next 6/6] ARM: dts: dra7: drop legacy cpsw dt node Grygorii Strashko
2020-09-10 9:52 ` [PATCH next 0/6] ARM: dts: am57xx/dra7x: switch to new cpsw switch drv Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200907202125.22943-2-grygorii.strashko@ti.com \
--to=grygorii.strashko@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=m-karicheri2@ti.com \
--cc=nsekhar@ti.com \
--cc=tony@atomide.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.