Skip to content

Commit 94d2c3d

Browse files
committed
bpi-r3: dts: apply patch from OpenWRT
Reserve more memory for ATF
1 parent 59698db commit 94d2c3d

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

board/aarch64/bananapi-bpi-r3/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,22 @@
88
};
99
};
1010
};
11+
/*
12+
From 236317dd4e55512933dcdaec3d0b4a0824f5e5bd Mon Sep 17 00:00:00 2001
13+
From: Shiji Yang <yangshiji66@outlook.com>
14+
Date: Sun, 10 Aug 2025 18:11:01 +0800
15+
Subject: [PATCH] arm64: dts: mediatek: mt7986: increase ATF reserved memory to
16+
256 kiB
1117

18+
The latest Mediatek open-source Trusted Firmware-A project has
19+
reserved 256 KiB for BL2 and BL31. It is better to increase the
20+
reserved memory region in the Linux kernel to protect the data.
21+
22+
https://github.com/openwrt/openwrt/blob/main/target/linux/mediatek/patches-6.12/199-arm64-dts-mediatek-mt7986-increase-ATF-reserved-memo.patch
23+
*/
24+
&secmon_reserved {
25+
reg = <0 0x43000000 0 0x40000>;
26+
};
1227
&cpu_thermal {
1328
/delete-node/ trips;
1429
/delete-node/ cooling-maps;

0 commit comments

Comments
 (0)