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: Ben Zong-You Xie <ben717@andestech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
This commit is contained in:
Ben Zong-You Xie 2025-05-14 17:53:47 +08:00 committed by Conor Dooley
parent 64d60a0203
commit 51b081cdb9
1 changed files with 17 additions and 1 deletions

View File

@ -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>