[PATCH V4 4/5] arm64: dts: qcom: ipq9574: Add SMEM support

Poovendhan Selvaraj quic_poovendh at quicinc.com
Mon Feb 13 21:14:13 PST 2023


Add the required nodes to support SMEM

 Changes in V4:
	- Added required nodes for smem support

Signed-off-by: Poovendhan Selvaraj <quic_poovendh at quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq9574.dtsi | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
index 898d7ce3f28d..2b41416d7f91 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
@@ -102,11 +102,17 @@
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges;
-
 		tz_region: tz at 4a600000 {
 			reg = <0x0 0x4a600000 0x0 0x400000>;
 			no-map;
 		};
+
+		smem at 4aa00000 {
+			compatible = "qcom,smem";
+			reg = <0x0 0x4aa00000 0x0 0x00100000>;
+			hwlocks = <&tcsr_mutex 0>;
+			no-map;
+		};
 	};
 
 	soc: soc at 0 {
@@ -157,6 +163,12 @@
 			#power-domain-cells = <1>;
 		};
 
+		tcsr_mutex: hwlock at 1905000 {
+			compatible = "qcom,tcsr-mutex";
+			reg = <0x01905000 0x20000>;
+			#hwlock-cells = <1>;
+		};
+
 		tcsr: syscon at 1937000 {
 			compatible = "qcom,tcsr-ipq9574", "syscon";
 			reg = <0x01937000 0x21000>;
-- 
2.17.1




More information about the linux-arm-kernel mailing list