xref: /freebsd/sys/contrib/device-tree/Bindings/reset/brcm,brcmstb-reset.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/reset/brcm,brcmstb-reset.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
7e67e8565SEmmanuel Vadottitle: Broadcom STB SW_INIT-style reset controller
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotdescription:
10e67e8565SEmmanuel Vadot  Broadcom STB SoCs have a SW_INIT-style reset controller with separate
11e67e8565SEmmanuel Vadot  SET/CLEAR/STATUS registers and possibly multiple banks, each of 32 bit
12e67e8565SEmmanuel Vadot  reset lines.
13e67e8565SEmmanuel Vadot
14e67e8565SEmmanuel Vadot  Please also refer to reset.txt in this directory for common reset
15e67e8565SEmmanuel Vadot  controller binding usage.
16e67e8565SEmmanuel Vadot
17e67e8565SEmmanuel Vadotmaintainers:
18e67e8565SEmmanuel Vadot  - Florian Fainelli <f.fainelli@gmail.com>
19e67e8565SEmmanuel Vadot
20e67e8565SEmmanuel Vadotproperties:
21e67e8565SEmmanuel Vadot  compatible:
22e67e8565SEmmanuel Vadot    const: brcm,brcmstb-reset
23e67e8565SEmmanuel Vadot
24e67e8565SEmmanuel Vadot  reg:
25e67e8565SEmmanuel Vadot    maxItems: 1
26e67e8565SEmmanuel Vadot
27e67e8565SEmmanuel Vadot  "#reset-cells":
28e67e8565SEmmanuel Vadot    const: 1
29e67e8565SEmmanuel Vadot
30e67e8565SEmmanuel Vadotrequired:
31e67e8565SEmmanuel Vadot  - compatible
32e67e8565SEmmanuel Vadot  - reg
33e67e8565SEmmanuel Vadot  - "#reset-cells"
34e67e8565SEmmanuel Vadot
35e67e8565SEmmanuel VadotadditionalProperties: false
36e67e8565SEmmanuel Vadot
37e67e8565SEmmanuel Vadotexamples:
38e67e8565SEmmanuel Vadot  - |
39e67e8565SEmmanuel Vadot    reset: reset-controller@8404318 {
40e67e8565SEmmanuel Vadot      compatible = "brcm,brcmstb-reset";
41e67e8565SEmmanuel Vadot      reg = <0x8404318 0x30>;
42e67e8565SEmmanuel Vadot      #reset-cells = <1>;
43e67e8565SEmmanuel Vadot    };
44e67e8565SEmmanuel Vadot
45e67e8565SEmmanuel Vadot    ethernet_switch {
46e67e8565SEmmanuel Vadot      resets = <&reset 26>;
47e67e8565SEmmanuel Vadot      reset-names = "switch";
48e67e8565SEmmanuel Vadot    };
49