[PATCH 3/5] ARM: dts: ls1021a-moxa-uc-8410a: use compatible string ethernet-phy-ieee802.3-c22
From: Frank . Li
Date: Wed Jul 08 2026 - 15:28:11 EST
From: Frank Li <Frank.Li@xxxxxxx>
Replace marvell,88e1118 with ethernet-phy-ieee802.3-c22.
In drivers/net/mdio/of_mdio.c
/* The following is a list of PHY compatible strings which appear in
* some DTBs. The compatible string is never matched against a PHY
* driver, so is pointless. We only expect devices which are not PHYs
* to have a compatible string, so they can be matched to an MDIO
* driver. Encourage users to upgrade their DT blobs to remove these.
*/
static const struct of_device_id whitelist_phys[]
Fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/ls/ls1021a-moxa-uc-8410a.dtb: /soc/mdio@2d24000/ethernet-phy@0: failed to match any schema with compatible: ['marvell,88e1118']
No other known DTB user this dts file.
Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
arch/arm/boot/dts/nxp/ls/ls1021a-moxa-uc-8410a.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a-moxa-uc-8410a.dts b/arch/arm/boot/dts/nxp/ls/ls1021a-moxa-uc-8410a.dts
index 8efe6b615ca85..5b652a45bb9a4 100644
--- a/arch/arm/boot/dts/nxp/ls/ls1021a-moxa-uc-8410a.dts
+++ b/arch/arm/boot/dts/nxp/ls/ls1021a-moxa-uc-8410a.dts
@@ -176,7 +176,7 @@ &lpuart0 {
&mdio0 {
rgmii_phy0: ethernet-phy@0 {
- compatible = "marvell,88e1118";
+ compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x0>;
marvell,reg-init =
<3 0x11 0 0x4415>, /* Reg 3,17 */
@@ -184,7 +184,7 @@ rgmii_phy0: ethernet-phy@0 {
};
rgmii_phy1: ethernet-phy@1 {
- compatible = "marvell,88e1118";
+ compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x1>;
marvell,reg-init =
<3 0x11 0 0x4415>, /* Reg 3,17 */
@@ -192,7 +192,7 @@ rgmii_phy1: ethernet-phy@1 {
};
rgmii_phy2: ethernet-phy@2 {
- compatible = "marvell,88e1118";
+ compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x2>;
marvell,reg-init =
<3 0x11 0 0x4415>, /* Reg 3,17 */
--
2.43.0