ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic

Reserve a ramoops memory region in the Yosemite4 device tree so that
kernel panic logs can be preserved across reboots. This helps with
post-mortem debugging and crash analysis.

Signed-off-by: Zane Li <zane_li@wiwynn.com>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
This commit is contained in:
Zane Li 2025-09-16 11:40:35 +08:00 committed by Andrew Jeffery
parent 7474ec9300
commit f4c7b62be2

View File

@ -49,6 +49,20 @@ memory@80000000 {
reg = <0x80000000 0x80000000>;
};
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
ramoops@b8dfa000 {
compatible = "ramoops";
reg = <0xb8dfa000 0x6000>;
record-size = <0x2000>;
console-size = <0x2000>;
pmsg-size = <0x2000>;
max-reason = <1>;
};
};
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,