]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: x1e80100: Add cpucp mailbox and sram nodes
authorSibi Sankar <quic_sibis@quicinc.com>
Wed, 30 Oct 2024 13:08:39 +0000 (18:38 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 16 May 2025 20:47:37 +0000 (21:47 +0100)
Add the cpucp mailbox and sram nodes required by SCMI perf protocol
on X1E80100 SoCs.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Link: https://lore.kernel.org/r/20241030130840.2890904-2-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100.dtsi

index 06175b33bd924bb528f963352aa73b27c9e5f3da..05d8d9643f61a3fcf62a0b2809d3dde081f30fc0 100644 (file)
                        };
                };
 
+               cpucp_mbox: mailbox@17430000 {
+                       compatible = "qcom,x1e80100-cpucp-mbox";
+                       reg = <0 0x17430000 0 0x10000>, <0 0x18830000 0 0x10000>;
+                       interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+                       #mbox-cells = <1>;
+               };
+
                apps_rsc: rsc@17500000 {
                        compatible = "qcom,rpmh-rsc";
                        reg = <0 0x17500000 0 0x10000>,
                        };
                };
 
+               sram: sram@18b4e000 {
+                       compatible = "mmio-sram";
+                       reg = <0x0 0x18b4e000 0x0 0x400>;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0x0 0x0 0x18b4e000 0x400>;
+
+                       cpu_scp_lpri0: scp-sram-section@0 {
+                               compatible = "arm,scmi-shmem";
+                               reg = <0x0 0x200>;
+                       };
+
+                       cpu_scp_lpri1: scp-sram-section@200 {
+                               compatible = "arm,scmi-shmem";
+                               reg = <0x200 0x200>;
+                       };
+               };
+
                sbsa_watchdog: watchdog@1c840000 {
                        compatible = "arm,sbsa-gwdt";
                        reg = <0 0x1c840000 0 0x1000>,