diff options
author | Kathiravan T <[email protected]> | 2023-02-10 11:34:01 +0530 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-03-15 16:25:39 -0700 |
commit | d56dd7f935e125244bc15f5a0a9e68cdb0ec87ca (patch) | |
tree | 8e5088f49fa0697b98e446507ba2ca1cf3f00c96 | |
parent | ed32155302fc3e5b8d30c51b95666e844f1449e1 (diff) |
arm64: dts: qcom: ipq5332: add SMEM support
Add SMEM support by adding required nodes.
Signed-off-by: Kathiravan T <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | arch/arm64/boot/dts/qcom/ipq5332.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi index 46ce6985e580..76d739b216dd 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -99,6 +99,14 @@ reg = <0x0 0x4a600000 0x0 0x200000>; no-map; }; + + smem@4a800000 { + compatible = "qcom,smem"; + reg = <0x0 0x4a800000 0x0 0x00100000>; + no-map; + + hwlocks = <&tcsr_mutex 0>; + }; }; soc@0 { @@ -138,6 +146,12 @@ <0>; }; + tcsr_mutex: hwlock@1905000 { + compatible = "qcom,tcsr-mutex"; + reg = <0x01905000 0x20000>; + #hwlock-cells = <1>; + }; + tcsr: syscon@1937000 { compatible = "qcom,tcsr-ipq5332", "syscon"; reg = <0x01937000 0x21000>; |