]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sdm670: add smem region
authorRichard Acayan <mailingradian@gmail.com>
Fri, 24 May 2024 01:20:27 +0000 (21:20 -0400)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 16:25:06 +0000 (11:25 -0500)
The shared memory region is used for information about the SoC and
communication with remote processors. Add the smem region for SDM670.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Link: https://lore.kernel.org/r/20240524012023.318965-8-mailingradian@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm670.dtsi

index 80e81c4233b3899955cf9fc8e60684ebd9fa1018..187c6698835d34e617aeb83309b6d5926eb57198 100644 (file)
                        no-map;
                };
 
+               smem@86000000 {
+                       compatible = "qcom,smem";
+                       reg = <0 0x86000000 0 0x200000>;
+                       no-map;
+                       hwlocks = <&tcsr_mutex 3>;
+               };
+
+               tz_mem: tz@86200000 {
+                       reg = <0 0x86200000 0 0x2d00000>;
+                       no-map;
+               };
+
                camera_mem: camera-mem@8ab00000 {
                        reg = <0 0x8ab00000 0 0x500000>;
                        no-map;
                        qcom,bcm-voters = <&apps_bcm_voter>;
                };
 
+               tcsr_mutex: hwlock@1f40000 {
+                       compatible = "qcom,tcsr-mutex";
+                       reg = <0 0x01f40000 0 0x20000>;
+                       #hwlock-cells = <1>;
+               };
+
                tlmm: pinctrl@3400000 {
                        compatible = "qcom,sdm670-tlmm";
                        reg = <0 0x03400000 0 0xc00000>;