StarFive StarLink Cache Controller
Schema identifier ($id): "http://devicetree.org/schemas/cache/starfive,jh8100-starlink-cache.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Joshua Yeong <joshua.yeong@starfivetech.com>"
StarFive's StarLink Cache Controller manages the L3 cache shared between clusters of CPU cores. The cache driver enables RISC-V non-standard cache management as an alternative to instructions in the RISC-V Zicbom extension.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/cache-controller.yaml#
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"starfive,jh8100-starlink-cache"
Item 2
Exact value (
const):"cache"
reg — required here #
Maximum number of items (maxItems): 1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "cache-block-size", "cache-level", "cache-sets", "cache-size", "cache-unified"
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
cache-controller@15000000 {
compatible = "starfive,jh8100-starlink-cache", "cache";
reg = <0x0 0x15000000 0x0 0x278>;
cache-block-size = <64>;
cache-level = <3>;
cache-sets = <8192>;
cache-size = <0x400000>;
cache-unified;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 20: We need a select here so we don't match all nodes with 'cache'