From d1721ea6d96c8d29b666278ca326fdc9a0b27023 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Pali=20Roh=C3=A1r?= <pali@kernel.org>
Date: Fri, 8 Apr 2022 14:39:53 +0200
Subject: [PATCH] powerpc: dts: p2020: Add Linux compatible string and property
 for eSDHC
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Linux kernel eSDHC driver for P2020 requires additional compatible string
fsl,p2020-esdhc and interrupts property. Add them to p2020-post.dtsi file
to make U-Boot board DTS files compatible for Linux kernel.

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

diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi
index 7709f3f9ad..d155973940 100644
--- a/arch/powerpc/dts/p2020-post.dtsi
+++ b/arch/powerpc/dts/p2020-post.dtsi
@@ -32,8 +32,9 @@
 	};
 
 	esdhc: sdhc@2e000 {
-		compatible = "fsl,esdhc";
+		compatible = "fsl,p2020-esdhc", "fsl,esdhc";
 		reg = <0x2e000 0x1000>;
+		interrupts = <72 0x2 0 0>;
 		/* Filled in by U-Boot */
 		clock-frequency = <0>;
 	};
-- 
2.39.5