summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/reset/canaan,k210-rst.yaml
blob: 0c0135964b91d17c396e2ede223e066b843698ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/reset/canaan,k210-rst.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Canaan Kendryte K210 Reset Controller

maintainers:
  - Damien Le Moal <dlemoal@kernel.org>

description: |
  Canaan Kendryte K210 reset controller driver which supports the SoC
  system controller supplied reset registers for the various peripherals
  of the SoC. The K210 reset controller node must be defined as a child
  node of the K210 system controller node.

  See also:
  - dt-bindings/reset/k210-rst.h

properties:
  compatible:
    const: canaan,k210-rst

  '#reset-cells':
    const: 1

required:
  - '#reset-cells'
  - compatible

additionalProperties: false

examples:
  - |
    #include <dt-bindings/reset/k210-rst.h>
    sysrst: reset-controller {
      compatible = "canaan,k210-rst";
      #reset-cells = <1>;
    };