# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright (C) Sunplus Co., Ltd. 2021
%YAML 1.2
---
$id: http://devicetree.org/schemas/reset/sunplus,reset.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sunplus SoC Reset Controller

maintainers:
  - Qin Jian <qinjian@cqplus1.com>

properties:
  compatible:
    const: sunplus,sp7021-reset

  reg:
    maxItems: 1

  "#reset-cells":
    const: 1

required:
  - compatible
  - reg
  - "#reset-cells"

additionalProperties: false

examples:
  - |
    rstc: reset@9c000054 {
      compatible = "sunplus,sp7021-reset";
      reg = <0x9c000054 0x28>;
      #reset-cells = <1>;
    };

...
