summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml
blob: 1d1b84575960c3337d8c97818361f3e3eea90ee0 (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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sophgo SG2042 SoC Reset Controller

maintainers:
  - Chen Wang <unicorn_wang@outlook.com>

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - sophgo,sg2044-reset
          - const: sophgo,sg2042-reset
      - const: sophgo,sg2042-reset

  reg:
    maxItems: 1

  "#reset-cells":
    const: 1

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

additionalProperties: false

examples:
  - |
    rstgen: reset-controller@c00 {
        compatible = "sophgo,sg2042-reset";
        reg = <0xc00 0xc>;
        #reset-cells = <1>;
    };