* Increase mt7986 ATF reserved memory to 256 kiB to follow the linux
kernel and Trusted Firmware-A changes.
* Remove unnecessary reserved memory region for the WiFi hardware. The
u-boot can not drive the WiFi hardware. Hence we don't need to keep
this memory region.
* Remove useless node labels and update comments.
Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19741
Signed-off-by: Hauke Mehrtens <[email protected]>
+ record-size = <0x1000>;
+ };
+
-+ /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
-+ secmon_reserved: secmon@43000000 {
++ /* 192 KiB reserved for ARM Trusted Firmware (BL31 + BL32) */
++ secmon@43000000 {
+ reg = <0x43000000 0x30000>;
+ no-map;
+ };
--- a/arch/arm/dts/mt7981.dtsi
+++ b/arch/arm/dts/mt7981.dtsi
-@@ -33,6 +33,35 @@
+@@ -33,6 +33,30 @@
};
};
+ record-size = <0x1000>;
+ };
+
-+ /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
-+ secmon_reserved: secmon@43000000 {
++ /* 192 KiB reserved for ARM Trusted Firmware (BL31 + BL32) */
++ secmon@43000000 {
+ reg = <0x43000000 0x30000>;
+ no-map;
+ };
-+
-+ wmcpu_emi: wmcpu-reserved@4fc00000 {
-+ no-map;
-+ reg = <0x4fc00000 0x00100000>;
-+ };
+ };
+
gpt_clk: gpt_dummy20m {
--- a/arch/arm/dts/mt7986.dtsi
+++ b/arch/arm/dts/mt7986.dtsi
-@@ -50,6 +50,35 @@
+@@ -50,6 +50,30 @@
};
};
+ record-size = <0x1000>;
+ };
+
-+ /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
-+ secmon_reserved: secmon@43000000 {
-+ reg = <0x43000000 0x30000>;
++ /* 256 KiB reserved for ARM Trusted Firmware (BL31 + BL32) */
++ secmon@43000000 {
++ reg = <0x43000000 0x40000>;
+ no-map;
+ };
-+
-+ wmcpu_emi: wmcpu-reserved@4fc00000 {
-+ no-map;
-+ reg = <0x4fc00000 0x00100000>;
-+ };
+ };
+
dummy_clk: dummy12m {
+ record-size = <0x1000>;
+ };
+
-+ /* 320 KiB reserved for ARM Trusted Firmware (BL31+BL32) */
-+ secmon_reserved: secmon@43000000 {
++ /* 320 KiB reserved for ARM Trusted Firmware (BL31 + BL32) */
++ secmon@43000000 {
+ reg = <0 0x43000000 0 0x50000>;
+ no-map;
+ };