From 4bab3aac98eaa97692a88c1a84bac812b124e1a8 Mon Sep 17 00:00:00 2001 From: Prasanna S Date: Wed, 28 Aug 2024 16:49:40 +0530 Subject: [PATCH 1/2] ARM: dts: qcom: Add SLIMBUS and BAM dtsi nodes for tuna Add Slimbus and BAM dtsi nodes for tuna. Change-Id: If15f5e0439bff6198020020a23ca7d67af44649d Signed-off-by: Prasanna S --- qcom/tuna.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 47ff55ec..5647afbc 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -680,6 +680,30 @@ wakeup-parent = <&pdc>; }; + slimbam: bamdma@6c04000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x6c04000 0x20000>, <0x6c8f000 0x1000>; + reg-names = "bam", "bam_remote_mem"; + interrupts = ; + num-channels = <31>; + #dma-cells = <1>; + qcom,controlled-remotely; + qcom,ee = <1>; + qcom,num-ees = <2>; + }; + + slim_msm: slim@6c40000 { + compatible = "qcom,slim-ngd-v1.5.0"; + reg = <0x6c40000 0x2c000>, <0x6c8E000 0x1000>; + reg-names = "ctrl", "slimbus_remote_mem"; + interrupts = ; + dmas = <&slimbam 3>, <&slimbam 4>; + dma-names = "rx", "tx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + tcsr_mutex_block: syscon@1f40000 { compatible = "syscon"; reg = <0x1f40000 0x20000>; From c08728f0b854dfe3ee422805a760b095b73fd11f Mon Sep 17 00:00:00 2001 From: Prasanna S Date: Tue, 17 Sep 2024 10:56:46 +0530 Subject: [PATCH 2/2] ARM: dts: msm: Add SPS node for tuna Add SPS module to device tree. SPS (Smart Peripheral System) enables the support of all BAMs in the system which provide DMA functionality to various peripherals for tuna. Change-Id: I00db626825ae664e42e3a5a71c75baef11823a27 Signed-off-by: Prasanna S --- qcom/tuna.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 5647afbc..6dd34a9e 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -704,6 +704,11 @@ status = "disabled"; }; + qcom,sps { + compatible = "qcom,msm-sps-4k"; + qcom,pipe-attr-ee; + }; + tcsr_mutex_block: syscon@1f40000 { compatible = "syscon"; reg = <0x1f40000 0x20000>;