From: changqing.gao Date: Fri, 25 Jan 2019 11:00:05 +0000 (+0800) Subject: ramdump: support ramdump for g12b/gxl [6/6] X-Git-Tag: hardkernel-4.9.236-104~1759 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc0096d43bacaf266bce236c6bd9b57a0600f6e1;p=platform%2Fkernel%2Flinux-amlogic.git ramdump: support ramdump for g12b/gxl [6/6] PD#SWPL-4350 Problem: ramdump is not enabled on g12b/gxl. Solution: Add ramdump support on g12b/gxl in bl2. Verify: verified on g12b_w400_v1/gxl_p212_v1. Change-Id: I3520fea366af332ef113809560587eeb4db7b6c5 Signed-off-by: changqing.gao --- diff --git a/arch/arm/boot/dts/amlogic/mesong12b.dtsi b/arch/arm/boot/dts/amlogic/mesong12b.dtsi index ac1d106..7d0a515 100644 --- a/arch/arm/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12b.dtsi @@ -549,6 +549,13 @@ #thermal-sensor-cells = <1>; }; + ram-dump { + compatible = "amlogic, ram_dump"; + status = "okay"; + reg = <0xFF6345E0 4>; + reg-names = "PREG_STICKY_REG8"; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; diff --git a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi index e15a056..0bafb00 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi @@ -549,6 +549,13 @@ #thermal-sensor-cells = <1>; }; + ram-dump { + compatible = "amlogic, ram_dump"; + status = "okay"; + reg = <0x0 0xFF6345E0 0x0 4>; + reg-names = "PREG_STICKY_REG8"; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;