1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright (C) 2020 SiFive, Inc.
5 $id: http://devicetree.org/schemas/riscv/sifive,ccache0.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: SiFive Composable Cache Controller
11 - Paul Walmsley <paul.walmsley@sifive.com>
14 The SiFive Composable Cache Controller is used to provide access to fast copies
15 of memory for masters in a Core Complex. The Composable Cache Controller also
16 acts as directory-based coherency manager.
17 All the properties in ePAPR/DeviceTree specification applies for this platform.
25 - sifive,fu540-c000-ccache
26 - sifive,fu740-c000-ccache
37 - sifive,fu540-c000-ccache
38 - sifive,fu740-c000-ccache
41 - const: microchip,mpfs-ccache
42 - const: sifive,fu540-c000-ccache
62 - description: DirError interrupt
63 - description: DataError interrupt
64 - description: DataFail interrupt
65 - description: DirFail interrupt
70 next-level-cache: true
75 The reference to the reserved-memory for the L2 Loosely Integrated Memory region.
76 The reserved memory node should be defined as per the bindings in reserved-memory.txt.
79 - $ref: /schemas/cache-controller.yaml#
86 - sifive,fu740-c000-ccache
87 - microchip,mpfs-ccache
93 Must contain entries for DirError, DataError, DataFail, DirFail signals.
100 Must contain entries for DirError, DataError and DataFail signals.
107 const: sifive,fu740-c000-ccache
123 const: sifive,ccache0
135 additionalProperties: false
149 cache-controller@2010000 {
150 compatible = "sifive,fu540-c000-ccache", "cache";
151 cache-block-size = <64>;
154 cache-size = <2097152>;
156 reg = <0x2010000 0x1000>;
157 interrupt-parent = <&plic0>;
161 next-level-cache = <&L25>;
162 memory-region = <&l2_lim>;