[PATCH] platform: generic: allwinner: Support the D1s as well
Anup Patel
anup at brainfault.org
Tue Oct 27 08:29:04 PDT 2026
On Mon, Sep 21, 2026 at 11:50 PM Indrek Kruusa <indrek.kruusa at gmail.com> wrote:
>
> 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>
LGTM.
Reviewed-by: Anup Patel <anup at brainfault.org>
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
> ---
> 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
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list