From a858dab4807ab8259e00e537e8b3853b3bc7a882 Mon Sep 17 00:00:00 2001 From: Nisarg Rajput Date: Tue, 2 Jun 2026 03:38:08 +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 Signed-off-by: Nisarg Rajput Link: https://patch.msgid.link/BESPR10MB9223FFB989C825881E02F0CAD2122@BESPR10MB9223.EURPRD10.PROD.OUTLOOK.COM [wens@kernel.org: Move statements into common overlay block] [wens@kernel.org: Drop sun8i-h2-plus-orangepi-zero from commit message] [wens@kernel.org: Change "arm" in subject to "ARM"] Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/allwinner/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwinner/Makefile index 0fc954d41595..75b2b6a2f7a6 100644 --- a/arch/arm/boot/dts/allwinner/Makefile +++ b/arch/arm/boot/dts/allwinner/Makefile @@ -182,6 +182,9 @@ dtb-$(CONFIG_MACH_SUN7I) += \ sun7i-a20-wits-pro-a20-dkt.dtb # Enables support for device-tree overlays for all pis +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 := -@ DTC_FLAGS_sun8i-h3-orangepi-lite := -@ DTC_FLAGS_sun8i-h3-bananapi-m2-plus := -@