mirror of https://github.com/torvalds/linux.git
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:
parent
64d60a0203
commit
51b081cdb9
|
|
@ -28,7 +28,9 @@ select:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
items:
|
items:
|
||||||
- const: renesas,r9a07g043f-ax45mp-cache
|
- enum:
|
||||||
|
- andestech,qilai-ax45mp-cache
|
||||||
|
- renesas,r9a07g043f-ax45mp-cache
|
||||||
- const: andestech,ax45mp-cache
|
- const: andestech,ax45mp-cache
|
||||||
- const: cache
|
- const: cache
|
||||||
|
|
||||||
|
|
@ -66,6 +68,20 @@ required:
|
||||||
- cache-size
|
- cache-size
|
||||||
- cache-unified
|
- cache-unified
|
||||||
|
|
||||||
|
allOf:
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: andestech,qilai-ax45mp-cache
|
||||||
|
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
cache-sets:
|
||||||
|
const: 2048
|
||||||
|
cache-size:
|
||||||
|
const: 2097152
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue