[PATCH 4/9] powerpc: dts: p2020: Add Linux compatible string and property for eSDHC

Pali Rohár pali at kernel.org
Fri Apr 8 14:39:53 CEST 2022


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 at kernel.org>
---
 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 7709f3f9ade1..d15597394048 100644
--- a/arch/powerpc/dts/p2020-post.dtsi
+++ b/arch/powerpc/dts/p2020-post.dtsi
@@ -32,8 +32,9 @@
 	};
 
 	esdhc: sdhc at 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.20.1



More information about the U-Boot mailing list