mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 21:52:21 +00:00

The CM3.5 used on EyeQ6 reports that Hardware Cache Initialization is complete, but in reality it's not the case. It also incorrectly indicates that Hardware Cache Initialization is supported. This new compatible string allows warning about this broken feature that cannot be detected at runtime. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mips/mti,mips-cm.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: MIPS Coherence Manager
|
|
|
|
description:
|
|
The Coherence Manager (CM) is responsible for establishing the
|
|
global ordering of requests from all elements of the system and
|
|
sending the correct data back to the requester. It supports Cache
|
|
to Cache transfers.
|
|
https://training.mips.com/cps_mips/PDF/CPS_Introduction.pdf
|
|
https://training.mips.com/cps_mips/PDF/Coherency_Manager.pdf
|
|
|
|
maintainers:
|
|
- Jiaxun Yang <jiaxun.yang@flygoat.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: mti,mips-cm
|
|
- const: mobileye,eyeq6-cm
|
|
description:
|
|
On EyeQ6 the HCI (Hardware Cache Initialization) information for
|
|
the L2 cache in multi-cluster configuration is broken.
|
|
|
|
reg:
|
|
description:
|
|
Base address and size of the Global Configuration Registers
|
|
referred to as CMGCR.They are the system programmer's interface
|
|
to the Coherency Manager. Their location in the memory map is
|
|
determined at core build time. In a functional system, the base
|
|
address is provided by the Coprocessor 0, but some
|
|
System-on-Chip (SoC) designs may not provide an accurate address
|
|
that needs to be described statically.
|
|
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
coherency-manager@1fbf8000 {
|
|
compatible = "mti,mips-cm";
|
|
reg = <0x1bde8000 0x8000>;
|
|
};
|
|
|
|
- |
|
|
coherency-manager {
|
|
compatible = "mobileye,eyeq6-cm";
|
|
};
|
|
...
|