# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,pcie-pdc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Technologies, Inc. (QTI) PCIe PDC Device

maintainers:
  - Maulik Shah <quic_mkshah@quicinc.com>
  - Rashid Zafar <quic_rzafar@quicinc.com>

description:
  Support for configuring IRQ at PCIe PDC interrupt controller.
  GPIO IRQs can be made wake up capable at PCIe PDC to allow SoC exit
  from deepest low power modes.

properties:
  compatible:
    enum:
      - qcom,sun-pcie-pdc
      - qcom,pineapple-pcie-pdc
      - qcom,cliffs-pcie-pdc
      - qcom,tuna-pcie-pdc
      - qcom,kera-pcie-pdc
      - qcom,pcie-pdc
      - qcom,sdxkova-pcie-pdc

  reg:
    maxItems: 1
    description: Should specify the base address for the PCIe PDC device.

required:
  - compatible
  - reg

additionalProperties: false

examples:
  # Example of PCIE PDC device
  - |
    pcie_pdc: pdc@b350000 {
      compatible = "qcom,pineapple-pcie-pdc", "qcom,pcie-pdc";
      reg = <0xb350000 0x20000>;
    };
...
