diff --git a/bindings/pci/qcom,pcie-msm-msi.yaml b/bindings/pci/qcom,pcie-msm-msi.yaml new file mode 100644 index 00000000..b3cd70a3 --- /dev/null +++ b/bindings/pci/qcom,pcie-msm-msi.yaml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/qcom,pcie-msm-msi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. (QTI) MSM PCI express MSI controller + +maintainers: + - Prudhvi Yarlagadda + +description: + Qualcomm Technologies, Inc MSM PCIe MSI controller is based on the + Synopsys DesignWare PCIe IP. + +properties: + compatible: + const: qcom,pci-msi + + reg: + items: + - description: PCIe MSM MSI controller specific registers + + interrupts: + maxItems: 32 + + msi-controller: + description: This is a boolean flag that indicates this is a MSM PCIe + MSI controller node. + type: boolean + + qcom,snps: + description: Set if interrupt controller is Synopsys instead of QGIC. + type: boolean + +required: + - compatible + - reg + - interrupt-parent + - interrupts + - msi-controller + +additionalProperties: false + +examples: + - | + #include + pcie0_msi: qcom,pcie0_msi@17110040 { + compatible = "qcom,pci-msi"; + msi-controller; + reg = <0x17110040 0x0>; + interrupt-parent = <&intc>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + };