Commit 51b081cd authored by Ben Zong-You Xie's avatar Ben Zong-You Xie Committed by Conor Dooley
Browse files

dt-bindings: cache: add QiLai compatible to ax45mp



Add a new compatible string for ax45mp-cache on QiLai SoC.

Also, add allOf constraints to enforce specific cache-sets and cache-size
values for qilai-ax45mp-cache.

Signed-off-by: default avatarBen Zong-You Xie <ben717@andestech.com>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parent 64d60a02
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -28,7 +28,9 @@ select:
properties:
  compatible:
    items:
      - const: renesas,r9a07g043f-ax45mp-cache
      - enum:
          - andestech,qilai-ax45mp-cache
          - renesas,r9a07g043f-ax45mp-cache
      - const: andestech,ax45mp-cache
      - const: cache

@@ -66,6 +68,20 @@ required:
  - cache-size
  - cache-unified

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: andestech,qilai-ax45mp-cache

    then:
      properties:
        cache-sets:
          const: 2048
        cache-size:
          const: 2097152

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>