diff --git a/qcom/lahaina-smp2p.dtsi b/qcom/lahaina-smp2p.dtsi index 983c7ff0c5c9..5e888bd837f2 100644 --- a/qcom/lahaina-smp2p.dtsi +++ b/qcom/lahaina-smp2p.dtsi @@ -24,6 +24,17 @@ #interrupt-cells = <2>; }; + smp2p_rdbg2_out: qcom,smp2p-rdbg2-out { + qcom,entry-name = "rdbg"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_rdbg2_in: qcom,smp2p-rdbg2-in { + qcom,entry-name = "rdbg"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; qcom,smp2p-dsps { @@ -84,6 +95,18 @@ qcom,entry-name = "qvrexternal"; #qcom,smem-state-cells = <1>; }; + + smp2p_rdbg5_out: qcom,smp2p-rdbg5-out { + qcom,entry-name = "rdbg"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_rdbg5_in: qcom,smp2p-rdbg5-in { + qcom,entry-name = "rdbg"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; qcom,smp2p-modem { diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 5bd22ed18698..53a2483f3732 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -5460,3 +5460,4 @@ }; #include "camera/lahaina-camera.dtsi" +#include "msm-rdbg.dtsi" diff --git a/qcom/msm-rdbg.dtsi b/qcom/msm-rdbg.dtsi new file mode 100644 index 000000000000..bb2adf8d0991 --- /dev/null +++ b/qcom/msm-rdbg.dtsi @@ -0,0 +1,26 @@ +&soc { + /* smp2p information */ + qcom,smp2p_interrupt_rdbg_2_out { + compatible = "qcom,smp2p-interrupt-rdbg-2-out"; + qcom,smem-states = <&smp2p_rdbg2_out 0>; + qcom,smem-state-names = "rdbg-smp2p-out"; + }; + + qcom,smp2p_interrupt_rdbg_2_in { + compatible = "qcom,smp2p-interrupt-rdbg-2-in"; + interrupts-extended = <&smp2p_rdbg2_in 0 0>; + interrupt-names = "rdbg-smp2p-in"; + }; + + qcom,smp2p_interrupt_rdbg_5_out { + compatible = "qcom,smp2p-interrupt-rdbg-5-out"; + qcom,smem-states = <&smp2p_rdbg5_out 0>; + qcom,smem-state-names = "rdbg-smp2p-out"; + }; + + qcom,smp2p_interrupt_rdbg_5_in { + compatible = "qcom,smp2p-interrupt-rdbg-5-in"; + interrupts-extended = <&smp2p_rdbg5_in 0 0>; + interrupt-names = "rdbg-smp2p-in"; + }; +};