From 74b7d69e613ac8fb7dcc21ea5248237e60b2cf1e Mon Sep 17 00:00:00 2001
From: =?utf8?q?Pali=20Roh=C3=A1r?= <pali@kernel.org>
Date: Tue, 5 Apr 2022 11:23:25 +0200
Subject: [PATCH] powerpc: dts: p1020/p2020: Fix esdhc node name
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

For compatibility with Linux kernel DTS files and also with other U-Boot
powerpc DTS files, rename esdhc@2e000 node to sdhc@2e000 in p1020-post.dtsi
and p2020-post.dtsi include files.

Linux kernel DTS files which include these dtsi files, expect that esdhc
node has name sdhc@2e000 and do not work with other node names.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
---
 arch/powerpc/dts/p1020-post.dtsi | 2 +-
 arch/powerpc/dts/p2020-post.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/dts/p1020-post.dtsi b/arch/powerpc/dts/p1020-post.dtsi
index 03b6886991..668ca0fa07 100644
--- a/arch/powerpc/dts/p1020-post.dtsi
+++ b/arch/powerpc/dts/p1020-post.dtsi
@@ -37,7 +37,7 @@
 		last-interrupt-source = <255>;
 	};
 
-	esdhc: esdhc@2e000 {
+	esdhc: sdhc@2e000 {
 		compatible = "fsl,esdhc";
 		reg = <0x2e000 0x1000>;
 		/* Filled in by U-Boot */
diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi
index 0a9e81a424..6debae7720 100644
--- a/arch/powerpc/dts/p2020-post.dtsi
+++ b/arch/powerpc/dts/p2020-post.dtsi
@@ -31,7 +31,7 @@
 		last-interrupt-source = <255>;
 	};
 
-	esdhc: esdhc@2e000 {
+	esdhc: sdhc@2e000 {
 		compatible = "fsl,esdhc";
 		reg = <0x2e000 0x1000>;
 		/* Filled in by U-Boot */
-- 
2.39.5