xref: /freebsd/sys/contrib/device-tree/Bindings/reset/lantiq,reset.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*d5b0e70fSEmmanuel Vadot%YAML 1.2
3*d5b0e70fSEmmanuel Vadot---
4*d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/reset/lantiq,reset.yaml#
5*d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*d5b0e70fSEmmanuel Vadot
7*d5b0e70fSEmmanuel Vadottitle: Lantiq XWAY SoC RCU reset controller
8*d5b0e70fSEmmanuel Vadot
9*d5b0e70fSEmmanuel Vadotmaintainers:
10*d5b0e70fSEmmanuel Vadot  - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
11*d5b0e70fSEmmanuel Vadot
12*d5b0e70fSEmmanuel Vadotdescription: |
13*d5b0e70fSEmmanuel Vadot  This binding describes a reset-controller found on the RCU module on Lantiq
14*d5b0e70fSEmmanuel Vadot  XWAY SoCs. This node has to be a sub node of the Lantiq RCU block.
15*d5b0e70fSEmmanuel Vadot
16*d5b0e70fSEmmanuel Vadotproperties:
17*d5b0e70fSEmmanuel Vadot  compatible:
18*d5b0e70fSEmmanuel Vadot    enum:
19*d5b0e70fSEmmanuel Vadot      - lantiq,danube-reset
20*d5b0e70fSEmmanuel Vadot      - lantiq,xrx200-reset
21*d5b0e70fSEmmanuel Vadot
22*d5b0e70fSEmmanuel Vadot  reg:
23*d5b0e70fSEmmanuel Vadot    description: |
24*d5b0e70fSEmmanuel Vadot      Defines the following sets of registers in the parent syscon device
25*d5b0e70fSEmmanuel Vadot      Offset of the reset set register
26*d5b0e70fSEmmanuel Vadot      Offset of the reset status register
27*d5b0e70fSEmmanuel Vadot    maxItems: 2
28*d5b0e70fSEmmanuel Vadot
29*d5b0e70fSEmmanuel Vadot  '#reset-cells':
30*d5b0e70fSEmmanuel Vadot    description: |
31*d5b0e70fSEmmanuel Vadot      The first cell takes the reset set bit and the second cell takes the
32*d5b0e70fSEmmanuel Vadot      status bit.
33*d5b0e70fSEmmanuel Vadot    const: 2
34*d5b0e70fSEmmanuel Vadot
35*d5b0e70fSEmmanuel Vadotrequired:
36*d5b0e70fSEmmanuel Vadot  - compatible
37*d5b0e70fSEmmanuel Vadot  - reg
38*d5b0e70fSEmmanuel Vadot  - '#reset-cells'
39*d5b0e70fSEmmanuel Vadot
40*d5b0e70fSEmmanuel VadotadditionalProperties: false
41*d5b0e70fSEmmanuel Vadot
42*d5b0e70fSEmmanuel Vadotexamples:
43*d5b0e70fSEmmanuel Vadot  - |
44*d5b0e70fSEmmanuel Vadot    // On the xRX200 SoCs:
45*d5b0e70fSEmmanuel Vadot    reset0: reset-controller@10 {
46*d5b0e70fSEmmanuel Vadot        compatible = "lantiq,xrx200-reset";
47*d5b0e70fSEmmanuel Vadot        reg = <0x10 0x04>, <0x14 0x04>;
48*d5b0e70fSEmmanuel Vadot        #reset-cells = <2>;
49*d5b0e70fSEmmanuel Vadot    };
50