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 - Sagar Kadam <sagar.kadam@sifive.com>
12 - Paul Walmsley <paul.walmsley@sifive.com>
15 The SiFive Composable Cache Controller is used to provide access to fast copies
16 of memory for masters in a Core Complex. The Composable Cache Controller also
17 acts as directory-based coherency manager.
18 All the properties in ePAPR/DeviceTree specification applies for this platform.
26 - sifive,fu540-c000-ccache
27 - sifive,fu740-c000-ccache
38 - sifive,fu540-c000-ccache
39 - sifive,fu740-c000-ccache
42 - const: microchip,mpfs-ccache
43 - const: sifive,fu540-c000-ccache
63 - description: DirError interrupt
64 - description: DataError interrupt
65 - description: DataFail interrupt
66 - description: DirFail interrupt
71 next-level-cache: true
76 The reference to the reserved-memory for the L2 Loosely Integrated Memory region.
77 The reserved memory node should be defined as per the bindings in reserved-memory.txt.
80 - $ref: /schemas/cache-controller.yaml#
87 - sifive,fu740-c000-ccache
88 - microchip,mpfs-ccache
94 Must contain entries for DirError, DataError, DataFail, DirFail signals.
101 Must contain entries for DirError, DataError and DataFail signals.
108 const: sifive,fu740-c000-ccache
124 const: sifive,ccache0
136 additionalProperties: false
150 cache-controller@2010000 {
151 compatible = "sifive,fu540-c000-ccache", "cache";
152 cache-block-size = <64>;
155 cache-size = <2097152>;
157 reg = <0x2010000 0x1000>;
158 interrupt-parent = <&plic0>;
162 next-level-cache = <&L25>;
163 memory-region = <&l2_lim>;