diff --git a/qcom/ravelin-msm-rdbg.dtsi b/qcom/ravelin-msm-rdbg.dtsi new file mode 100644 index 00000000..29a4ea69 --- /dev/null +++ b/qcom/ravelin-msm-rdbg.dtsi @@ -0,0 +1,14 @@ +&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"; + }; +}; diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index 3dffac31..c8aa7ad1 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -1135,6 +1135,17 @@ interrupt-controller; #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_sleepstate { @@ -2741,3 +2752,4 @@ }; #include "ravelin-thermal.dtsi" +#include "ravelin-msm-rdbg.dtsi"