aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-06-04 15:56:15 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-06-09 19:23:03 +0100
commita65ec9fea7c9bf0ed2c247e37448f4189b01adf2 (patch)
tree2b8c0210ff203204a5b1d2acbf9f1a2e9106abf8 /target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch
parentbca04036ffc9fd6f891eafb7996510dce9af0fbc (diff)
downloadupstream-a65ec9fea7c9bf0ed2c247e37448f4189b01adf2.tar.gz
upstream-a65ec9fea7c9bf0ed2c247e37448f4189b01adf2.tar.bz2
upstream-a65ec9fea7c9bf0ed2c247e37448f4189b01adf2.zip
mediatek: sync MT7986 device trees with upstream
Sync device tree files for MT7986 boards with what landed in upstream Linux tree to easy maintainance and also allow for a smooth update to Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 7a0ec001ff79b12beefb8f3773820bfedebbb340)
Diffstat (limited to 'target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch')
-rw-r--r--target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch b/target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch
new file mode 100644
index 0000000000..161c1e7516
--- /dev/null
+++ b/target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch
@@ -0,0 +1,17 @@
+--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
++++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
+@@ -68,6 +68,14 @@
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
++
++ /* 64 KiB reserved for ramoops/pstore */
++ ramoops@42ff0000 {
++ compatible = "ramoops";
++ reg = <0 0x42ff0000 0 0x10000>;
++ record-size = <0x1000>;
++ };
++
+ /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
+ secmon_reserved: secmon@43000000 {
+ reg = <0 0x43000000 0 0x30000>;