# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2

$id: http://devicetree.org/schemas/arm/msm/qcom,rdbg-smp2p.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Remote debugger driver

maintainers:
  - Devender Kaushik <quic_dkaushik@quicinc.com>

description: |
  The Remote Debug Driver interfaces with the Remote Debug stubs running on the
   subsystem processors and does not drive or anage any hardware resources.

properties:
  compatible:
    oneOf:
       - description: To communicate with adsp
         items:
           - enum:
               qcom,smp2p-interrupt-rdbg-2-in (inbound)
               qcom,smp2p-interrupt-rdbg-2-out (outbound)

       - description: To communicate with cdsp
         items:
           - enum:
               qcom,smp2p-interrupt-rdbg-5-in (inbound)
               qcom,smp2p-interrupt-rdbg-5-out (outbound)

required:
   - compatible

examples:
  -
  qcom,smp2p_interrupt_rdbg_2_in {
          compatible = "qcom,smp2p-interrupt-rdbg-2-in";
  };

