[PATCH v3 3/6] arm64: dts: qcom: ipq6018: Add the IMEM node

From: Kathiravan Thirumoorthy

Date: Sat Feb 28 2026 - 08:09:47 EST


Add the IMEM node to the device tree to extract debugging information
like system restart reason, which is populated via IMEM. Define the
IMEM region to enable this functionality.

As described, overall IMEM region is 32KB but only initial 4KB is
accessible by all masters in the SoC.

Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
index 40f1c262126eff3761430a47472b52d27f961040..7d6f1821fcc8809c643ce974380b02828b438b90 100644
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
@@ -659,6 +659,17 @@ qpic_nand: nand-controller@79b0000 {
status = "disabled";
};

+ sram@8600000 {
+ compatible = "qcom,ipq6018-imem", "mmio-sram";
+ reg = <0x0 0x08600000 0x0 0x8000>;
+ ranges = <0 0 0x08600000 0x8000>;
+
+ no-memory-wc;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+
usb3: usb@8af8800 {
compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
reg = <0x0 0x08af8800 0x0 0x400>;

--
2.34.1