summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
diff options
context:
space:
mode:
authorJohn Stultz2016-08-09 00:34:03 +0200
committerAndy Gross2016-08-24 06:07:14 +0200
commitc03a4b24c355bce7758d75ca3a7aad18a8cbefa2 (patch)
treef8f3bf1d8329f02cb1f0981a4b9c7b993c644a9e /arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
parentARM: dts: MSM8660 remove flags from SPMI/MPP IRQs (diff)
downloadkernel-qcow2-linux-c03a4b24c355bce7758d75ca3a7aad18a8cbefa2.tar.gz
kernel-qcow2-linux-c03a4b24c355bce7758d75ca3a7aad18a8cbefa2.tar.xz
kernel-qcow2-linux-c03a4b24c355bce7758d75ca3a7aad18a8cbefa2.zip
device-tree: nexus7: Add IMEM syscon and reboot reason support
This patch add the IMEM syscon memory region to the DT, as well as addds support for the magic reboot reason values that are written to the address for each mode. Cc: Rob Herring <robh+dt@kernel.org> Cc: Andy Gross <agross@codeaurora.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Stephen Boyd <stephen.boyd@linaro.org> Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz <john.stultz@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts')
-rw-r--r--arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index 94e9cbbc6122..b72e09506448 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -273,5 +273,19 @@
vqmmc-supply = <&pm8921_s4>;
};
};
+
+ imem@2a03f000 {
+ compatible = "syscon", "simple-mfd";
+ reg = <0x2a03f000 0x1000>;
+
+ reboot-mode {
+ compatible = "syscon-reboot-mode";
+ offset = <0x65c>;
+
+ mode-normal = <0x77665501>;
+ mode-bootloader = <0x77665500>;
+ mode-recovery = <0x77665502>;
+ };
+ };
};
};