Last Level Cache Controller
Schema identifier ($id): "http://devicetree.org/schemas/cache/qcom,llcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
LLCC (Last Level Cache Controller) provides last level of cache memory in SoC, that can be shared by multiple clients. Clients here are different cores in the SoC, the idea is to minimize the local caches at the clients and migrate to common pool of memory. Cache memory is divided into partitions called slices which are assigned to clients. Clients can query the slice details, activate and deactivate them.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,glymur-llcc", "qcom,ipq5424-llcc", "qcom,kaanapali-llcc", "qcom,qcs615-llcc", "qcom,qcs8300-llcc", "qcom,qdu1000-llcc", "qcom,sa8775p-llcc", "qcom,sar1130p-llcc", "qcom,sar2130p-llcc", "qcom,sc7180-llcc", "qcom,sc7280-llcc", "qcom,sc8180x-llcc", "qcom,sc8280xp-llcc", "qcom,sdm845-llcc", "qcom,sm6350-llcc", "qcom,sm7150-llcc", "qcom,sm8150-llcc", "qcom,sm8250-llcc", "qcom,sm8350-llcc", "qcom,sm8450-llcc", "qcom,sm8550-llcc", "qcom,sm8650-llcc", "qcom,sm8750-llcc", "qcom,x1e80100-llcc"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 14
reg-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 14
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
nvmem-cells — not listed as required here #
Array item rules (items) #
Item 1
Reference to an nvmem node for multi channel DDR
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"multi-chan-ddr"
Required in this object (required): "compatible", "reg", "reg-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC2 base register region
Item 4
LLCC3 base register region
Item 5
LLCC4 base register region
Item 6
LLCC5 base register region
Item 7
LLCC6 base register region
Item 8
LLCC7 base register region
Item 9
LLCC8 base register region
Item 10
LLCC9 base register region
Item 11
LLCC10 base register region
Item 12
LLCC11 base register region
Item 13
LLCC broadcast base register region
Item 14
LLCC broadcast AND register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc2_base"Item 4
Exact value (
const):"llcc3_base"Item 5
Exact value (
const):"llcc4_base"Item 6
Exact value (
const):"llcc5_base"Item 7
Exact value (
const):"llcc6_base"Item 8
Exact value (
const):"llcc7_base"Item 9
Exact value (
const):"llcc8_base"Item 10
Exact value (
const):"llcc9_base"Item 11
Exact value (
const):"llcc10_base"Item 12
Exact value (
const):"llcc11_base"Item 13
Exact value (
const):"llcc_broadcast_base"Item 14
Exact value (
const):"llcc_broadcast_and_base"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sar1130p-llcc","qcom,sar2130p-llcc"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC broadcast OR register region
Item 4
LLCC broadcast AND register region
Item 5
LLCC scratchpad broadcast OR register region
Item 6
LLCC scratchpad broadcast AND register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc_broadcast_base"Item 4
Exact value (
const):"llcc_broadcast_and_base"Item 5
Exact value (
const):"llcc_scratchpad_broadcast_base"Item 6
Exact value (
const):"llcc_scratchpad_broadcast_and_base"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,qcs615-llcc","qcom,sc7180-llcc","qcom,sm6350-llcc"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC broadcast base register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc_broadcast_base"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC2 base register region
Item 4
LLCC3 base register region
Item 5
LLCC4 base register region
Item 6
LLCC5 base register region
Item 7
LLCC broadcast base register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc2_base"Item 4
Exact value (
const):"llcc3_base"Item 5
Exact value (
const):"llcc4_base"Item 6
Exact value (
const):"llcc5_base"Item 7
Exact value (
const):"llcc_broadcast_base"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC broadcast base register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc_broadcast_base"
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,qdu1000-llcc","qcom,sc8180x-llcc","qcom,sc8280xp-llcc"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC2 base register region
Item 4
LLCC3 base register region
Item 5
LLCC4 base register region
Item 6
LLCC5 base register region
Item 7
LLCC6 base register region
Item 8
LLCC7 base register region
Item 9
LLCC broadcast base register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc2_base"Item 4
Exact value (
const):"llcc3_base"Item 5
Exact value (
const):"llcc4_base"Item 6
Exact value (
const):"llcc5_base"Item 7
Exact value (
const):"llcc6_base"Item 8
Exact value (
const):"llcc7_base"Item 9
Exact value (
const):"llcc_broadcast_base"
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC2 base register region
Item 4
LLCC3 base register region
Item 5
LLCC4 base register region
Item 6
LLCC5 base register region
Item 7
LLCC6 base register region
Item 8
LLCC7 base register region
Item 9
LLCC broadcast base register region
Item 10
LLCC broadcast AND register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc2_base"Item 4
Exact value (
const):"llcc3_base"Item 5
Exact value (
const):"llcc4_base"Item 6
Exact value (
const):"llcc5_base"Item 7
Exact value (
const):"llcc6_base"Item 8
Exact value (
const):"llcc7_base"Item 9
Exact value (
const):"llcc_broadcast_base"Item 10
Exact value (
const):"llcc_broadcast_and_base"
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,qcs8300-llcc","qcom,sdm845-llcc","qcom,sm8150-llcc","qcom,sm8250-llcc","qcom,sm8350-llcc"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC2 base register region
Item 4
LLCC3 base register region
Item 5
LLCC broadcast base register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc2_base"Item 4
Exact value (
const):"llcc3_base"Item 5
Exact value (
const):"llcc_broadcast_base"
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,kaanapali-llcc","qcom,sm8450-llcc","qcom,sm8550-llcc","qcom,sm8650-llcc","qcom,sm8750-llcc"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
LLCC0 base register region
Item 2
LLCC1 base register region
Item 3
LLCC2 base register region
Item 4
LLCC3 base register region
Item 5
LLCC broadcast OR register region
Item 6
LLCC broadcast AND register region
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"llcc0_base"Item 2
Exact value (
const):"llcc1_base"Item 3
Exact value (
const):"llcc2_base"Item 4
Exact value (
const):"llcc3_base"Item 5
Exact value (
const):"llcc_broadcast_base"Item 6
Exact value (
const):"llcc_broadcast_and_base"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
system-cache-controller@1100000 {
compatible = "qcom,sdm845-llcc";
reg = <0 0x01100000 0 0x50000>, <0 0x01180000 0 0x50000>,
<0 0x01200000 0 0x50000>, <0 0x01280000 0 0x50000>,
<0 0x01300000 0 0x50000>;
reg-names = "llcc0_base", "llcc1_base", "llcc2_base",
"llcc3_base", "llcc_broadcast_base";
interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)