From: Beiyan Yun <root@infi.wang>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>, Yao Zi <ziyao@disroot.org>,
Beiyan Yun <root@infi.wang>,
Jerome Forissier <jerome.forissier@linaro.org>,
Joe Hershberger <joe.hershberger@ni.com>,
Ramon Fried <rfried.dev@gmail.com>,
Siddharth Vadapalli <s-vadapalli@ti.com>
Subject: [PATCH v2 3/4] net: phy: aquantia: replace the "mdi-reversal" node with "marvell, mdi-cfg-order"
Date: Tue, 14 Oct 2025 19:53:59 +0800 [thread overview]
Message-ID: <20251014115604.194150-4-root@infi.wang> (raw)
In-Reply-To: <20251014115604.194150-1-root@infi.wang>
As part of the effort of making U-Boot work with the same device tree as
Linux, align with upstream node name.
Signed-off-by: Beiyan Yun <root@infi.wang>
---
Changes in v2:
- New
arch/arm/dts/fsl-sch-30841.dtsi | 8 ++++----
arch/arm/dts/fsl-sch-30842.dtsi | 2 +-
drivers/net/phy/aquantia.c | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/dts/fsl-sch-30841.dtsi b/arch/arm/dts/fsl-sch-30841.dtsi
index 28b1bec18a5..a92d9811fd3 100644
--- a/arch/arm/dts/fsl-sch-30841.dtsi
+++ b/arch/arm/dts/fsl-sch-30841.dtsi
@@ -15,24 +15,24 @@
*/
phy@00 {
reg = <0x00>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x25>;
};
phy@01 {
reg = <0x01>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x26>;
};
phy@02 {
reg = <0x02>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x27>;
};
phy@03 {
reg = <0x03>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x28>;
};
diff --git a/arch/arm/dts/fsl-sch-30842.dtsi b/arch/arm/dts/fsl-sch-30842.dtsi
index bff9e76570b..fca38d14975 100644
--- a/arch/arm/dts/fsl-sch-30842.dtsi
+++ b/arch/arm/dts/fsl-sch-30842.dtsi
@@ -13,6 +13,6 @@
*/
phy@02 {
reg = <0x02>;
- mdi-reversal = <1>;
+ marvell,mdi-cfg-order = <1>;
smb-addr = <0x25>;
};
diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c
index 903fcd667f6..d9df0e23a45 100644
--- a/drivers/net/phy/aquantia.c
+++ b/drivers/net/phy/aquantia.c
@@ -350,8 +350,8 @@ static int aquantia_dts_config(struct phy_device *phydev)
if (!ofnode_valid(node))
return 0;
- if (!ofnode_read_u32(node, "mdi-reversal", &prop)) {
- debug("mdi-reversal = %d\n", (int)prop);
+ if (!ofnode_read_u32(node, "marvell,mdi-cfg-order", &prop)) {
+ debug("marvell,mdi-cfg-order = %d\n", (int)prop);
reg = phy_read(phydev, MDIO_MMD_PMAPMD,
AQUANTIA_PMA_RX_VENDOR_P1);
reg &= ~AQUANTIA_PMA_RX_VENDOR_P1_MDI_MSK;
--
2.47.3
next prev parent reply other threads:[~2025-10-14 11:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-14 11:53 [PATCH v2 0/4] net: phy: aquantia: Switch to generic firmware loader Beiyan Yun
2025-10-14 11:53 ` [PATCH v2 1/4] net: phy: aquantia: switch to use phy_get_ofnode() Beiyan Yun
2025-10-14 11:53 ` [PATCH v2 2/4] doc: bindings: use upstream bindings for aquantia phy Beiyan Yun
2025-10-14 11:53 ` Beiyan Yun [this message]
2025-10-14 11:54 ` [PATCH v2 4/4] net: phy: aquantia: use generic firmware loader Beiyan Yun
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=20251014115604.194150-4-root@infi.wang \
--to=root@infi.wang \
--cc=jerome.forissier@linaro.org \
--cc=joe.hershberger@ni.com \
--cc=rfried.dev@gmail.com \
--cc=s-vadapalli@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=ziyao@disroot.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox