[PATCH 4/5] ARM: dts: qcom: msm8226: Add IMEM node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is used for example for reboot-mode which enables userspace to
signal the bootloader to go into the bootloader or recovery mode.

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@xxxxxxxxx>
---
 arch/arm/boot/dts/qcom-msm8226.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom-msm8226.dtsi
index 006263373348..3628e48c1ec1 100644
--- a/arch/arm/boot/dts/qcom-msm8226.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8226.dtsi
@@ -646,6 +646,18 @@ smd-edge {
 				label = "lpass";
 			};
 		};
+
+		imem: sram@fe805000 {
+			compatible = "qcom,msm8226-imem", "syscon", "simple-mfd";
+			reg = <0xfe805000 0x1000>;
+
+			status = "disabled";
+
+			reboot-mode {
+				compatible = "syscon-reboot-mode";
+				offset = <0x65c>;
+			};
+		};
 	};
 
 	timer {
-- 
2.34.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux