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-l2-cache.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: SiFive L2 Cache Controller
11 - Sagar Kadam <sagar.kadam@sifive.com>
12 - Paul Walmsley <paul.walmsley@sifive.com>
15 The SiFive Level 2 Cache Controller is used to provide access to fast copies
16 of memory for masters in a Core Complex. The Level 2 Cache Controller also
17 acts as directory-based coherency manager.
18 All the properties in ePAPR/DeviceTree specification applies for this platform.
21 - $ref: /schemas/cache-controller.yaml#
28 - sifive,fu540-c000-ccache
29 - sifive,fu740-c000-ccache
38 - sifive,fu540-c000-ccache
39 - sifive,fu740-c000-ccache
59 - description: DirError interrupt
60 - description: DataError interrupt
61 - description: DataFail interrupt
62 - description: DirFail interrupt
67 next-level-cache: true
72 The reference to the reserved-memory for the L2 Loosely Integrated Memory region.
73 The reserved memory node should be defined as per the bindings in reserved-memory.txt.
79 const: sifive,fu540-c000-ccache
85 Must contain entries for DirError, DataError and DataFail signals.
92 Must contain entries for DirError, DataError, DataFail, DirFail signals.
95 additionalProperties: false
109 cache-controller@2010000 {
110 compatible = "sifive,fu540-c000-ccache", "cache";
111 cache-block-size = <64>;
114 cache-size = <2097152>;
116 reg = <0x2010000 0x1000>;
117 interrupt-parent = <&plic0>;
121 next-level-cache = <&L25>;
122 memory-region = <&l2_lim>;