From 934b7221bdd321b79cf0f50dc98828ea3547063b Mon Sep 17 00:00:00 2001 From: Yalei Zang Date: Tue, 25 Aug 2026 16:01:27 +0800 Subject: [PATCH] uboot-airoha: enable OF_LIBFDT_OVERLAY support Enable CONFIG_OF_LIBFDT_OVERLAY for the AN7581 and AN7583 EVB defconfigs to support loading and applying device tree overlays at boot time. Signed-off-by: Yalei Zang Link: https://github.com/openwrt/openwrt/pull/24926 Signed-off-by: Christian Marangi --- ...LIBFDT_OVERLAY-support-for-7581-7583.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/boot/uboot-airoha/patches/910-airoha-enable-OF_LIBFDT_OVERLAY-support-for-7581-7583.patch diff --git a/package/boot/uboot-airoha/patches/910-airoha-enable-OF_LIBFDT_OVERLAY-support-for-7581-7583.patch b/package/boot/uboot-airoha/patches/910-airoha-enable-OF_LIBFDT_OVERLAY-support-for-7581-7583.patch new file mode 100644 index 00000000000..17dee93f82e --- /dev/null +++ b/package/boot/uboot-airoha/patches/910-airoha-enable-OF_LIBFDT_OVERLAY-support-for-7581-7583.patch @@ -0,0 +1,36 @@ +From 5bcd75ef87382aa13e4044b30f160291e8fa947e Mon Sep 17 00:00:00 2001 +From: YaleiZang +Date: Mon, 8 Jun 2026 20:12:49 +0800 +Subject: [PATCH] airoha: enable OF_LIBFDT_OVERLAY support for 7581/7583 + +Enable CONFIG_OF_LIBFDT_OVERLAY to allow loading and applying device tree overlays +at boot time. This is necessary for systems requiring flexible hardware description +via DT overlay, such as dynamic board variants or runtime configurable peripherals. + +Signed-off-by: YaleiZang +--- + configs/an7581_evb_defconfig | 1 + + configs/an7583_evb_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/configs/an7581_evb_defconfig b/configs/an7581_evb_defconfig +index be076ec7..d0058d31 100644 +--- a/configs/an7581_evb_defconfig ++++ b/configs/an7581_evb_defconfig +@@ -103,3 +103,4 @@ CONFIG_UBI_BLOCK=y + CONFIG_ENV_USE_DEFAULT_ENV_TEXT_FILE=y + CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="defenvs/an7581_rfb_env" + CONFIG_SHA512=y ++CONFIG_OF_LIBFDT_OVERLAY=y +diff --git a/configs/an7583_evb_defconfig b/configs/an7583_evb_defconfig +index 7ef2d6fe..a97c0cc5 100644 +--- a/configs/an7583_evb_defconfig ++++ b/configs/an7583_evb_defconfig +@@ -102,3 +102,4 @@ CONFIG_UBI_BLOCK=y + CONFIG_ENV_USE_DEFAULT_ENV_TEXT_FILE=y + CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="defenvs/an7583_rfb_env" + CONFIG_SHA512=y ++CONFIG_OF_LIBFDT_OVERLAY=y +-- +2.43.0 +