# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/reset/canaan,k230-rst.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Canaan Kendryte K230 Reset Controller

maintainers:
  - Junhui Liu <junhui.liu@pigmoral.tech>

description:
  The Canaan Kendryte K230 reset controller is part of the SoC's system
  controller and controls the reset registers for CPUs and various peripherals.

properties:
  compatible:
    const: canaan,k230-rst

  reg:
    maxItems: 1

  '#reset-cells':
    const: 1

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

additionalProperties: false

examples:
  - |
    reset-controller@91101000 {
      compatible = "canaan,k230-rst";
      reg = <0x91101000 0x1000>;
      #reset-cells = <1>;
    };
