[PATCH] arm: dts: allwinner: enable overlay support for sun8i-h2-plus pi boards
Chen-Yu Tsai
wens at csie.org
Tue May 5 07:25:07 PDT 2026
On Sun, May 3, 2026 at 11:58 PM Nisarg Rajput
<rajputnisarg17 at outlook.com> wrote:
>
> From a0c7eaa6032748bb79953282a984064a922c916f Mon Sep 17 00:00:00 2001
> From: ixnisarg <rajputnisarg17 at outlook.com>
> Date: Sun, 3 May 2026 15:42:38 +0000
> Subject: [PATCH] arm: dts: allwinner: enable overlay support for sun8i-h2-plus
> pi boards
>
> Add DTC_FLAGS -@ for all H2+ pi-class devices to enable device-tree
> overlay support. This follows the same approach used for H3 pi boards
> in commit 0801a3a9f35854c91f1f3ab8e879c3d14912d214 ("arm: dts: Enable
> device-tree overlay support for sun8i-h3 pi devices").
>
> The -@ flag populates the __symbols__ node in the DTB which is required
> for applying device-tree overlays from the bootloader or firmware.
>
> Boards affected:
> - sun8i-h2-plus-bananapi-m2-zero
> - sun8i-h2-plus-libretech-all-h3-cc
> - sun8i-h2-plus-orangepi-r1
> - sun8i-h2-plus-orangepi-zero
>
> Signed-off-by: ixnisarg <rajputnisarg17 at outlook.com>
Please use a proper name for the author and Signed-off-by.
> ---
> arch/arm/boot/dts/allwinner/Makefile | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwinner/Makefile
> index 296be33ec934..2e0cc454df74 100644
> --- a/arch/arm/boot/dts/allwinner/Makefile
> +++ b/arch/arm/boot/dts/allwinner/Makefile
> @@ -198,6 +198,12 @@ DTC_FLAGS_sun8i-h3-nanopi-r1 := -@
> DTC_FLAGS_sun8i-h3-orangepi-pc := -@
> DTC_FLAGS_sun8i-h3-bananapi-m2-plus-v1.2 := -@
> DTC_FLAGS_sun8i-h3-orangepi-pc-plus := -@
> +
> +# Enables support for device-tree overlays for H2+ pi boards
> +DTC_FLAGS_sun8i-h2-plus-bananapi-m2-zero := -@
> +DTC_FLAGS_sun8i-h2-plus-libretech-all-h3-cc := -@
> +DTC_FLAGS_sun8i-h2-plus-orangepi-r1 := -@
> +DTC_FLAGS_sun8i-h2-plus-orangepi-zero := -@
> dtb-$(CONFIG_MACH_SUN8I) += \
> sun8i-a23-evb.dtb \
> sun8i-a23-gt90h-v4.dtb \
> --
> 2.43.0
>
>
>
> Thanks,
> Nisarg...
More information about the linux-arm-kernel
mailing list