linux-loongson/Documentation/devicetree/bindings/hwinfo/via,vt8500-scc-id.yaml
Alexey Charkov 04e394d6e2 dt-bindings: hwinfo: Add VIA/WonderMedia SoC identification
VIA/WonderMedia SoC's have a chip ID register inside their system
configuration controller space, which can be used to identify
appropriate hardware quirks at runtime. Add binding for it.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250503-wmt-soc-driver-v3-1-2daa9056fa10@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2025-05-04 19:23:29 +02:00

38 lines
893 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwinfo/via,vt8500-scc-id.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: VIA/WonderMedia SoC system configuration information
maintainers:
- Alexey Charkov <alchark@gmail.com>
description:
The system configuration controller on VIA/WonderMedia SoC's contains a chip
identifier and revision used to differentiate between different hardware
versions of on-chip IP blocks having their own peculiarities which may or
may not be captured by their respective DT compatible strings
properties:
compatible:
items:
- const: via,vt8500-scc-id
reg:
maxItems: 1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
chipid@d8120000 {
compatible = "via,vt8500-scc-id";
reg = <0xd8120000 0x4>;
};