diff mbox series

[3/3] arm64: dts: qcom: ipq5332: add SMEM support

Message ID 20230130170155.27266-4-quic_kathirav@quicinc.com
State New
Headers show
Series Add the download mode support for IPQ5332 | expand

Commit Message

Kathiravan Thirumoorthy Jan. 30, 2023, 5:01 p.m. UTC
add SMEM support by adding required nodes.

Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq5332.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
index 6a1d0cc927ef..17f30118f9fd 100644
--- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
@@ -99,6 +99,14 @@ 
 			no-map;
 			reg = <0x0 0x4a600000 0x0 0x200000>;
 		};
+
+		smem@4a800000 {
+			compatible = "qcom,smem";
+			reg = <0x0 0x4a800000 0x0 0x00100000>;
+			no-map;
+
+			hwlocks = <&tcsr_mutex 0>;
+		};
 	};
 
 	soc@0 {
@@ -143,6 +151,12 @@ 
 				 <0>;
 		};
 
+		tcsr_mutex: hwlock@1905000 {
+			compatible = "qcom,tcsr-mutex";
+			reg = <0x01905000 0x20000>;
+			#hwlock-cells = <1>;
+		};
+
 		tcsr: syscon@193d100 {
 			compatible = "qcom,tcsr-ipq5332", "syscon";
 			reg = <0x0193d100 0x4>;