dt-bindings: riscv: Update l2 cache DT documentation to add support for SiFive FU740
The L2 cache controller in SiFive FU740 has 4 ECC interrupt sources as compared to 3 in FU540. Update the DT documentation accordingly with "compatible" and "interrupt" property changes. Signed-off-by: Yash Shah <yash.shah@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
21855cac82
commit
af951c3a11
1 changed files with 30 additions and 4 deletions
|
@ -27,6 +27,7 @@ select:
|
||||||
items:
|
items:
|
||||||
- enum:
|
- enum:
|
||||||
- sifive,fu540-c000-ccache
|
- sifive,fu540-c000-ccache
|
||||||
|
- sifive,fu740-c000-ccache
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
|
@ -34,7 +35,9 @@ select:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
items:
|
items:
|
||||||
- const: sifive,fu540-c000-ccache
|
- enum:
|
||||||
|
- sifive,fu540-c000-ccache
|
||||||
|
- sifive,fu740-c000-ccache
|
||||||
- const: cache
|
- const: cache
|
||||||
|
|
||||||
cache-block-size:
|
cache-block-size:
|
||||||
|
@ -52,10 +55,13 @@ properties:
|
||||||
cache-unified: true
|
cache-unified: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
description: |
|
|
||||||
Must contain entries for DirError, DataError and DataFail signals.
|
|
||||||
minItems: 3
|
minItems: 3
|
||||||
maxItems: 3
|
maxItems: 4
|
||||||
|
items:
|
||||||
|
- description: DirError interrupt
|
||||||
|
- description: DataError interrupt
|
||||||
|
- description: DataFail interrupt
|
||||||
|
- description: DirFail interrupt
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
@ -67,6 +73,26 @@ properties:
|
||||||
The reference to the reserved-memory for the L2 Loosely Integrated Memory region.
|
The reference to the reserved-memory for the L2 Loosely Integrated Memory region.
|
||||||
The reserved memory node should be defined as per the bindings in reserved-memory.txt.
|
The reserved memory node should be defined as per the bindings in reserved-memory.txt.
|
||||||
|
|
||||||
|
if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: sifive,fu540-c000-ccache
|
||||||
|
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
interrupts:
|
||||||
|
description: |
|
||||||
|
Must contain entries for DirError, DataError and DataFail signals.
|
||||||
|
maxItems: 3
|
||||||
|
|
||||||
|
else:
|
||||||
|
properties:
|
||||||
|
interrupts:
|
||||||
|
description: |
|
||||||
|
Must contain entries for DirError, DataError, DataFail, DirFail signals.
|
||||||
|
minItems: 4
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
required:
|
required:
|
||||||
|
|
Loading…
Add table
Reference in a new issue