[PATCH] arm64: dts: imx8mm-kontron-bl-osm-s: Fix Ethernet PHY compatible

Fabio Estevam festevam at gmail.com
Fri Feb 23 15:09:16 PST 2024


From: Fabio Estevam <festevam at denx.de>

According to motorcomm,yt8xxx.yaml, the compatible string must be
only 'ethernet-phy-id4f51.e91b'.

Remove 'ethernet-phy-ieee802.3-c22' to fix the following dt-schema warning:

imx8mm-kontron-bl-osm-s.dtb: ethernet-phy at 0: compatible: ['ethernet-phy-id4f51.e91b', 'ethernet-phy-ieee802.3-c22'] is too long
	from schema $id: http://devicetree.org/schemas/net/motorcomm,yt8xxx.yaml#

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts
index efadfdff00af..33f8d7d1970e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts
@@ -107,8 +107,7 @@ mdio {
 		#size-cells = <0>;
 
 		ethphy: ethernet-phy at 0 {
-			compatible = "ethernet-phy-id4f51.e91b",
-				     "ethernet-phy-ieee802.3-c22";
+			compatible = "ethernet-phy-id4f51.e91b";
 			reg = <0>;
 			reset-assert-us = <10000>;
 			reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
-- 
2.34.1




More information about the linux-arm-kernel mailing list