67 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/cache/starfive,jh8100-starlink-cache.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: StarFive StarLink Cache Controller8 9maintainers:10 - Joshua Yeong <joshua.yeong@starfivetech.com>11 12description:13 StarFive's StarLink Cache Controller manages the L3 cache shared between14 clusters of CPU cores. The cache driver enables RISC-V non-standard cache15 management as an alternative to instructions in the RISC-V Zicbom extension.16 17allOf:18 - $ref: /schemas/cache-controller.yaml#19 20# We need a select here so we don't match all nodes with 'cache'21select:22 properties:23 compatible:24 contains:25 enum:26 - starfive,jh8100-starlink-cache27 28 required:29 - compatible30 31properties:32 compatible:33 items:34 - const: starfive,jh8100-starlink-cache35 - const: cache36 37 reg:38 maxItems: 139 40unevaluatedProperties: false41 42required:43 - compatible44 - reg45 - cache-block-size46 - cache-level47 - cache-sets48 - cache-size49 - cache-unified50 51examples:52 - |53 soc {54 #address-cells = <2>;55 #size-cells = <2>;56 57 cache-controller@15000000 {58 compatible = "starfive,jh8100-starlink-cache", "cache";59 reg = <0x0 0x15000000 0x0 0x278>;60 cache-block-size = <64>;61 cache-level = <3>;62 cache-sets = <8192>;63 cache-size = <0x400000>;64 cache-unified;65 };66 };67