Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c24dc9d authored by Guodong Xu's avatar Guodong Xu Committed by Wei Xu
Browse files

arm64: dts: hikey960: Add pstore support



This patch reserves some memory in the DTS and sets up a
pstore device tree node to enable pstore support on HiKey960.

Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent b6b681c1
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
@@ -39,6 +39,20 @@
		reg = <0x0 0x0 0x0 0x0>;
		reg = <0x0 0x0 0x0 0x0>;
	};
	};


	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		ramoops@32000000 {
			compatible = "ramoops";
			reg = <0x0 0x32000000 0x0 0x00100000>;
			record-size	= <0x00020000>;
			console-size	= <0x00020000>;
			ftrace-size	= <0x00020000>;
		};
	};

	reboot-mode-syscon@32100000 {
	reboot-mode-syscon@32100000 {
		compatible = "syscon", "simple-mfd";
		compatible = "syscon", "simple-mfd";
		reg = <0x0 0x32100000 0x0 0x00001000>;
		reg = <0x0 0x32100000 0x0 0x00001000>;