summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/reset/brcm,brcmstb-reset.yaml
blob: e00efa88a198005094bf18c5bf6eac63b67c6300 (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
41
42
43
44
45
46
47
48
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/reset/brcm,brcmstb-reset.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Broadcom STB SW_INIT-style reset controller

description:
  Broadcom STB SoCs have a SW_INIT-style reset controller with separate
  SET/CLEAR/STATUS registers and possibly multiple banks, each of 32 bit
  reset lines.

  Please also refer to reset.txt in this directory for common reset
  controller binding usage.

maintainers:
  - Florian Fainelli <f.fainelli@gmail.com>

properties:
  compatible:
    const: brcm,brcmstb-reset

  reg:
    maxItems: 1

  "#reset-cells":
    const: 1

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

additionalProperties: false

examples:
  - |
    reset: reset-controller@8404318 {
      compatible = "brcm,brcmstb-reset";
      reg = <0x8404318 0x30>;
      #reset-cells = <1>;
    };

    ethernet_switch {
      resets = <&reset 26>;
      reset-names = "switch";
    };