Path: blob/master/Documentation/devicetree/bindings/cache/socionext,uniphier-system-cache.yaml
26307 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/cache/socionext,uniphier-system-cache.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: UniPhier outer cache controller78description: |9UniPhier ARM 32-bit SoCs are integrated with a full-custom outer cache10controller system. All of them have a level 2 cache controller, and some11have a level 3 cache controller as well.1213maintainers:14- Masahiro Yamada <yamada.masahiro@socionext.com>1516properties:17compatible:18const: socionext,uniphier-system-cache1920reg:21description: |22should contain 3 regions: control register, revision register,23operation register, in this order.24maxItems: 32526interrupts:27description: |28Interrupts can be used to notify the completion of cache operations.29The number of interrupts should match to the number of CPU cores.30The specified interrupts correspond to CPU0, CPU1, ... in this order.31minItems: 132maxItems: 43334cache-unified: true3536cache-size: true3738cache-sets: true3940cache-line-size: true4142cache-level:43minimum: 244maximum: 34546next-level-cache: true4748allOf:49- $ref: /schemas/cache-controller.yaml#5051additionalProperties: false5253required:54- compatible55- reg56- interrupts57- cache-unified58- cache-size59- cache-sets60- cache-line-size61- cache-level6263examples:64- |65// System with L2.66cache-controller@500c0000 {67compatible = "socionext,uniphier-system-cache";68reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, <0x506c0000 0x400>;69interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>;70cache-unified;71cache-size = <0x140000>;72cache-sets = <512>;73cache-line-size = <128>;74cache-level = <2>;75};76- |77// System with L2 and L3.78// L2 should specify the next level cache by 'next-level-cache'.79l2: cache-controller@500c0000 {80compatible = "socionext,uniphier-system-cache";81reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, <0x506c0000 0x400>;82interrupts = <0 190 4>, <0 191 4>;83cache-unified;84cache-size = <0x200000>;85cache-sets = <512>;86cache-line-size = <128>;87cache-level = <2>;88next-level-cache = <&l3>;89};9091l3: cache-controller@500c8000 {92compatible = "socionext,uniphier-system-cache";93reg = <0x500c8000 0x2000>, <0x503c8100 0x8>, <0x506c8000 0x400>;94interrupts = <0 174 4>, <0 175 4>;95cache-unified;96cache-size = <0x200000>;97cache-sets = <512>;98cache-line-size = <256>;99cache-level = <3>;100};101102103