[PATCH] arm64: dts: apm: storm: Rename menetphy at 3 to ethernet-phy at 3

Marek Vasut marex at denx.de
Sat Jun 29 20:31:10 PDT 2024


Make the PHY node name adhere to DT binding document.
Fix the following DT check error:

"
arch/arm64/boot/dts/apm/apm-mustang.dtb: menetphy at 3: $nodename:0: 'menetphy at 3' does not match '^ethernet-phy(@[a-f0-9]+)?$'
        from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
arch/arm64/boot/dts/apm/apm-mustang.dtb: menetphy at 3: Unevaluated properties are not allowed ('reg' was unexpected)
        from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
"

Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406290316.YvZdvLxu-lkp@intel.com/
Signed-off-by: Marek Vasut <marex at denx.de>
---
Cc: Conor Dooley <conor+dt at kernel.org>
Cc: Khuong Dinh <khuong at os.amperecomputing.com>
Cc: Krzysztof Kozlowski <krzk+dt at kernel.org>
Cc: Rob Herring <robh at kernel.org>
Cc: devicetree at vger.kernel.org
---
Note: this closes only part of the report
---
 arch/arm64/boot/dts/apm/apm-storm.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index 532401bc9c660..6ad4703925dc5 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -997,7 +997,7 @@ mdio {
 				compatible = "apm,xgene-mdio";
 				#address-cells = <1>;
 				#size-cells = <0>;
-				menetphy: menetphy at 3 {
+				menetphy: ethernet-phy at 3 {
 					compatible = "ethernet-phy-id001c.c915";
 					reg = <0x3>;
 				};
-- 
2.43.0




More information about the linux-arm-kernel mailing list