ARM: dts: ls1021a-moxa-uc-8410a: use compatible string ethernet-phy-ieee802.3-c22

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@nxp.com>
This commit is contained in:
Frank Li 2026-07-08 15:26:11 -04:00
parent 5bd40da5af
commit 09ea402c1c

View File

@ -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 */