Path: blob/master/Documentation/devicetree/bindings/cache/baikal,bt1-l2-ctl.yaml
26307 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright (C) 2020 BAIKAL ELECTRONICS, JSC2%YAML 1.23---4$id: http://devicetree.org/schemas/cache/baikal,bt1-l2-ctl.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Baikal-T1 L2-cache Control Block89maintainers:10- Serge Semin <fancer.lancer@gmail.com>1112description: |13By means of the System Controller Baikal-T1 SoC exposes a few settings to14tune the MIPS P5600 CM2 L2 cache performance up. In particular it's possible15to change the Tag, Data and Way-select RAM access latencies. Baikal-T116L2-cache controller block is responsible for the tuning. Its DT node is17supposed to be a child of the system controller.1819properties:20compatible:21const: baikal,bt1-l2-ctl2223reg:24maxItems: 12526baikal,l2-ws-latency:27$ref: /schemas/types.yaml#/definitions/uint3228description: Cycles of latency for Way-select RAM accesses29default: 030minimum: 031maximum: 33233baikal,l2-tag-latency:34$ref: /schemas/types.yaml#/definitions/uint3235description: Cycles of latency for Tag RAM accesses36default: 037minimum: 038maximum: 33940baikal,l2-data-latency:41$ref: /schemas/types.yaml#/definitions/uint3242description: Cycles of latency for Data RAM accesses43default: 144minimum: 045maximum: 34647additionalProperties: false4849required:50- compatible5152examples:53- |54l2@1f04d028 {55compatible = "baikal,bt1-l2-ctl";56reg = <0x1f04d028 0x004>;5758baikal,l2-ws-latency = <1>;59baikal,l2-tag-latency = <1>;60baikal,l2-data-latency = <2>;61};62...636465