[PATCH] platform: generic: allwinner: Support the D1s as well

Indrek Kruusa indrek.kruusa at gmail.com
Mon Sep 21 11:20:17 PDT 2026


The Allwinner D1s SoC is a stripped-down version of the D1 and D1s
boards use "allwinner,sun20i-d1s" as their root compatible string
instead of "allwinner,sun20i-d1". So, currently the sun20i override is
not selected on them.

Add the D1s compatible to the match table.

Tested on the MangoPi MQ board with the Allwinner F133-A (D1s) SoC.

Signed-off-by: Indrek Kruusa <indrek.kruusa at gmail.com>
---
 platform/generic/allwinner/sun20i-d1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platform/generic/allwinner/sun20i-d1.c b/platform/generic/allwinner/sun20i-d1.c
index 4ea90158..aeec078e 100644
--- a/platform/generic/allwinner/sun20i-d1.c
+++ b/platform/generic/allwinner/sun20i-d1.c
@@ -229,6 +229,7 @@ static int sun20i_d1_platform_init(const void *fdt, int nodeoff,
 
 static const struct fdt_match sun20i_d1_match[] = {
 	{ .compatible = "allwinner,sun20i-d1" },
+	{ .compatible = "allwinner,sun20i-d1s" },
 	{ },
 };
 
-- 
2.43.0




More information about the opensbi mailing list