xref: /freebsd/sys/contrib/device-tree/Bindings/reset/canaan,k210-rst.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/reset/canaan,k210-rst.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Canaan Kendryte K210 Reset Controller
8
9maintainers:
10  - Damien Le Moal <dlemoal@kernel.org>
11
12description: |
13  Canaan Kendryte K210 reset controller driver which supports the SoC
14  system controller supplied reset registers for the various peripherals
15  of the SoC. The K210 reset controller node must be defined as a child
16  node of the K210 system controller node.
17
18  See also:
19  - dt-bindings/reset/k210-rst.h
20
21properties:
22  compatible:
23    const: canaan,k210-rst
24
25  '#reset-cells':
26    const: 1
27
28required:
29  - '#reset-cells'
30  - compatible
31
32additionalProperties: false
33
34examples:
35  - |
36    #include <dt-bindings/reset/k210-rst.h>
37    sysrst: reset-controller {
38      compatible = "canaan,k210-rst";
39      #reset-cells = <1>;
40    };
41