Commit 1a24edc3 authored by Abel Vesa's avatar Abel Vesa Committed by Lorenzo Pieralisi
Browse files

dt-bindings: PCI: qcom: Add SM8550 compatible

parent 7394d0a8
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ properties:
          - qcom,pcie-sm8350
          - qcom,pcie-sm8450-pcie0
          - qcom,pcie-sm8450-pcie1
          - qcom,pcie-sm8550
      - items:
          - const: qcom,pcie-msm8998
          - const: qcom,pcie-msm8996
@@ -59,6 +60,9 @@ properties:
    minItems: 1
    maxItems: 8

  iommu-map:
    maxItems: 2

  # Common definitions for clocks, clock-names and reset.
  # Platform constraints are described later.
  clocks:
@@ -209,6 +213,7 @@ allOf:
              - qcom,pcie-sm8350
              - qcom,pcie-sm8450-pcie0
              - qcom,pcie-sm8450-pcie1
              - qcom,pcie-sm8550
    then:
      properties:
        reg:
@@ -645,6 +650,37 @@ allOf:
          items:
            - const: pci # PCIe core reset

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,pcie-sm8550
    then:
      properties:
        clocks:
          minItems: 7
          maxItems: 8
        clock-names:
          minItems: 7
          items:
            - const: aux # Auxiliary clock
            - const: cfg # Configuration clock
            - const: bus_master # Master AXI clock
            - const: bus_slave # Slave AXI clock
            - const: slave_q2a # Slave Q2A clock
            - const: ddrss_sf_tbu # PCIe SF TBU clock
            - const: noc_aggr # Aggre NoC PCIe AXI clock
            - const: cnoc_sf_axi # Config NoC PCIe1 AXI clock
        resets:
          minItems: 1
          maxItems: 2
        reset-names:
          minItems: 1
          items:
            - const: pci # PCIe core reset
            - const: link_down # PCIe link down reset

  - if:
      properties:
        compatible:
@@ -756,6 +792,7 @@ allOf:
              - qcom,pcie-sm8350
              - qcom,pcie-sm8450-pcie0
              - qcom,pcie-sm8450-pcie1
              - qcom,pcie-sm8550
    then:
      oneOf:
        - properties: