arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7
authorJohn Stultz <john.stultz@linaro.org>
Sat, 24 Sep 2016 00:13:33 +0000 (17:13 -0700)
committerAndy Gross <andy.gross@linaro.org>
Sat, 19 Nov 2016 05:30:31 +0000 (23:30 -0600)
Add pstore support for the nexus7. This was useful in debugging
a crash where the cpus were getting stuck with irqs off and
serial output wasn't reliably working.

Cc: Kees Cook <keescook@chromium.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Vinay Simha <vinaysimha@inforcecomputing.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts

index 4225652..e39440a 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               ramoops@88d00000{
+                       compatible = "ramoops";
+                       reg = <0x88d00000 0x100000>;
+                       record-size     = <0x00020000>;
+                       console-size    = <0x00020000>;
+                       ftrace-size     = <0x00020000>;
+               };
+       };
+
        ext_3p3v: regulator-fixed@1 {
                compatible = "regulator-fixed";
                regulator-min-microvolt = <3300000>;