xref: /linux/Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml (revision 41197eb5f993d5572ea533c9378c49ca81e24c8e)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sophgo SG2042 SoC Reset Controller
8
9maintainers:
10  - Chen Wang <unicorn_wang@outlook.com>
11
12properties:
13  compatible:
14    const: sophgo,sg2042-reset
15
16  reg:
17    maxItems: 1
18
19  "#reset-cells":
20    const: 1
21
22required:
23  - compatible
24  - reg
25  - "#reset-cells"
26
27additionalProperties: false
28
29examples:
30  - |
31    rstgen: reset-controller@c00 {
32        compatible = "sophgo,sg2042-reset";
33        reg = <0xc00 0xc>;
34        #reset-cells = <1>;
35    };
36