Commit f9759e2b authored by Abel Vesa's avatar Abel Vesa Committed by Rob Herring (Arm)
Browse files

dt-bindings: cache: qcom,llcc: Fix X1E80100 reg entries

parent b213f06d
Loading
Loading
Loading
Loading
+34 −2
Original line number Diff line number Diff line
@@ -39,11 +39,11 @@ properties:

  reg:
    minItems: 2
    maxItems: 9
    maxItems: 10

  reg-names:
    minItems: 2
    maxItems: 9
    maxItems: 10

  interrupts:
    maxItems: 1
@@ -134,6 +134,36 @@ allOf:
              - qcom,qdu1000-llcc
              - qcom,sc8180x-llcc
              - qcom,sc8280xp-llcc
    then:
      properties:
        reg:
          items:
            - description: LLCC0 base register region
            - description: LLCC1 base register region
            - description: LLCC2 base register region
            - description: LLCC3 base register region
            - description: LLCC4 base register region
            - description: LLCC5 base register region
            - description: LLCC6 base register region
            - description: LLCC7 base register region
            - description: LLCC broadcast base register region
        reg-names:
          items:
            - const: llcc0_base
            - const: llcc1_base
            - const: llcc2_base
            - const: llcc3_base
            - const: llcc4_base
            - const: llcc5_base
            - const: llcc6_base
            - const: llcc7_base
            - const: llcc_broadcast_base

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,x1e80100-llcc
    then:
      properties:
@@ -148,6 +178,7 @@ allOf:
            - description: LLCC6 base register region
            - description: LLCC7 base register region
            - description: LLCC broadcast base register region
            - description: LLCC broadcast AND register region
        reg-names:
          items:
            - const: llcc0_base
@@ -159,6 +190,7 @@ allOf:
            - const: llcc6_base
            - const: llcc7_base
            - const: llcc_broadcast_base
            - const: llcc_broadcast_and_base

  - if:
      properties: