xref: /freebsd/sys/contrib/device-tree/Bindings/arm/msm/qcom,llcc.yaml (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/msm/qcom,llcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Last Level Cache Controller
8
9maintainers:
10  - Rishabh Bhatnagar <rishabhb@codeaurora.org>
11  - Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
12
13description: |
14  LLCC (Last Level Cache Controller) provides last level of cache memory in SoC,
15  that can be shared by multiple clients. Clients here are different cores in the
16  SoC, the idea is to minimize the local caches at the clients and migrate to
17  common pool of memory. Cache memory is divided into partitions called slices
18  which are assigned to clients. Clients can query the slice details, activate
19  and deactivate them.
20
21properties:
22  compatible:
23    enum:
24      - qcom,sc7180-llcc
25      - qcom,sc7280-llcc
26      - qcom,sc8180x-llcc
27      - qcom,sc8280xp-llcc
28      - qcom,sdm845-llcc
29      - qcom,sm6350-llcc
30      - qcom,sm8150-llcc
31      - qcom,sm8250-llcc
32      - qcom,sm8350-llcc
33      - qcom,sm8450-llcc
34      - qcom,sm8550-llcc
35
36  reg:
37    items:
38      - description: LLCC base register region
39      - description: LLCC broadcast base register region
40
41  reg-names:
42    items:
43      - const: llcc_base
44      - const: llcc_broadcast_base
45
46  interrupts:
47    maxItems: 1
48
49required:
50  - compatible
51  - reg
52  - reg-names
53
54additionalProperties: false
55
56examples:
57  - |
58    #include <dt-bindings/interrupt-controller/arm-gic.h>
59
60    system-cache-controller@1100000 {
61      compatible = "qcom,sdm845-llcc";
62      reg = <0x1100000 0x200000>, <0x1300000 0x50000> ;
63      reg-names = "llcc_base", "llcc_broadcast_base";
64      interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
65    };
66