mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-20 23:39:22 +00:00
* 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 <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19741 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 lines
647 B
Diff
34 lines
647 B
Diff
--- a/arch/arm/dts/mt7622.dtsi
|
|
+++ b/arch/arm/dts/mt7622.dtsi
|
|
@@ -37,6 +37,30 @@
|
|
};
|
|
};
|
|
|
|
+ psci {
|
|
+ compatible = "arm,psci-1.0";
|
|
+ method = "smc";
|
|
+ };
|
|
+
|
|
+ reserved-memory {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+ ranges;
|
|
+
|
|
+ /* 64 KiB reserved for ramoops/pstore */
|
|
+ ramoops@42ff0000 {
|
|
+ compatible = "ramoops";
|
|
+ reg = <0x42ff0000 0x10000>;
|
|
+ record-size = <0x1000>;
|
|
+ };
|
|
+
|
|
+ /* 192 KiB reserved for ARM Trusted Firmware (BL31 + BL32) */
|
|
+ secmon@43000000 {
|
|
+ reg = <0x43000000 0x30000>;
|
|
+ no-map;
|
|
+ };
|
|
+ };
|
|
+
|
|
snfi: snfi@1100d000 {
|
|
compatible = "mediatek,mtk-snfi-spi";
|
|
reg = <0x1100d000 0x2000>;
|