# 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>;
    };
