From 38729f5369deabb42889e36340c20bfbfc845b42 Mon Sep 17 00:00:00 2001 From: Amir Vajid Date: Fri, 2 Feb 2024 15:12:04 -0800 Subject: [PATCH] ARM: dts: msm: Add PDP mailbox and logging nodes for sun Add device nodes to configure PDP mailbox and add support for PDP logging on both PDP cores. Change-Id: I2393334d33373df3447f5140cc66cd7624faf0cd Signed-off-by: Amir Vajid --- qcom/sun.dtsi | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 77bd79ae..7be340d8 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -2989,6 +2989,26 @@ interrupts = ; }; + pdp0: qcom,pdp0@0x18980000 { + compatible = "qcom,cpucp-v2"; + reg = <0x16420000 0x4C08>, + <0x18980000 0x300>; + reg-names = "rx", "tx"; + #mbox-cells = <1>; + interrupts = ; + qcom,rx-chans = <0x10>; + }; + + pdp1: qcom,pdp1@0x19980000 { + compatible = "qcom,cpucp-v2"; + reg = <0x16420000 0x4C08>, + <0x19980000 0x300>; + reg-names = "rx", "tx"; + #mbox-cells = <1>; + interrupts = ; + qcom,rx-chans = <0x20>; + }; + vendor_hooks: qcom,cpu-vendor-hooks { compatible = "qcom,cpu-vendor-hooks"; }; @@ -3014,8 +3034,26 @@ cpucp_log: qcom,cpucp_log@0x81210000 { compatible = "qcom,cpucp-log"; - reg = <0x81210000 0x10000>, <0x81220000 0x10000>; + reg = <0x81210000 0x10000>, + <0x81220000 0x10000>; mboxes = <&cpucp 1>; + qcom,log-type = <0>; + }; + + pdp0_log: qcom,pdp0_log@0x81f41000 { + compatible = "qcom,pdp-log"; + reg = <0x81f41000 0x10000>, + <0x81f51000 0x10000>; + mboxes = <&pdp0 4>; + qcom,log-type = <1>; + }; + + pdp1_log: qcom,pdp1_log@0x81f61000 { + compatible = "qcom,pdp-log"; + reg = <0x81f61000 0x10000>, + <0x81f71000 0x10000>; + mboxes = <&pdp1 5>, <&pdp1 4>; + qcom,log-type = <2>; }; llcc_pmu: llcc-pmu@24095000 {