xref: /linux/Documentation/devicetree/bindings/reset/altr,rst-mgr.yaml (revision e54bbcb02aeffda00a31c18372411f88b1615fa2)
1*e54bbcb0SPhilipp Zabel# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*e54bbcb0SPhilipp Zabel%YAML 1.2
3*e54bbcb0SPhilipp Zabel---
4*e54bbcb0SPhilipp Zabel$id: http://devicetree.org/schemas/reset/altr,rst-mgr.yaml#
5*e54bbcb0SPhilipp Zabel$schema: http://devicetree.org/meta-schemas/core.yaml#
6*e54bbcb0SPhilipp Zabel
7*e54bbcb0SPhilipp Zabeltitle: Altera SOCFPGA Reset Manager
8*e54bbcb0SPhilipp Zabel
9*e54bbcb0SPhilipp Zabelmaintainers:
10*e54bbcb0SPhilipp Zabel  - Dinh Nguyen <dinguyen@altera.com>
11*e54bbcb0SPhilipp Zabel
12*e54bbcb0SPhilipp Zabelproperties:
13*e54bbcb0SPhilipp Zabel  compatible:
14*e54bbcb0SPhilipp Zabel    oneOf:
15*e54bbcb0SPhilipp Zabel      - description: Cyclone5/Arria5/Arria10
16*e54bbcb0SPhilipp Zabel        const: altr,rst-mgr
17*e54bbcb0SPhilipp Zabel      - description: Stratix10 ARM64 SoC
18*e54bbcb0SPhilipp Zabel        items:
19*e54bbcb0SPhilipp Zabel          - const: altr,stratix10-rst-mgr
20*e54bbcb0SPhilipp Zabel          - const: altr,rst-mgr
21*e54bbcb0SPhilipp Zabel
22*e54bbcb0SPhilipp Zabel  reg:
23*e54bbcb0SPhilipp Zabel    maxItems: 1
24*e54bbcb0SPhilipp Zabel
25*e54bbcb0SPhilipp Zabel  altr,modrst-offset:
26*e54bbcb0SPhilipp Zabel    $ref: /schemas/types.yaml#/definitions/uint32
27*e54bbcb0SPhilipp Zabel    description: Offset of the first modrst register
28*e54bbcb0SPhilipp Zabel
29*e54bbcb0SPhilipp Zabel  '#reset-cells':
30*e54bbcb0SPhilipp Zabel    const: 1
31*e54bbcb0SPhilipp Zabel
32*e54bbcb0SPhilipp Zabelrequired:
33*e54bbcb0SPhilipp Zabel  - compatible
34*e54bbcb0SPhilipp Zabel  - reg
35*e54bbcb0SPhilipp Zabel  - altr,modrst-offset
36*e54bbcb0SPhilipp Zabel  - '#reset-cells'
37*e54bbcb0SPhilipp Zabel
38*e54bbcb0SPhilipp ZabeladditionalProperties: false
39*e54bbcb0SPhilipp Zabel
40*e54bbcb0SPhilipp Zabelexamples:
41*e54bbcb0SPhilipp Zabel  - |
42*e54bbcb0SPhilipp Zabel    rstmgr@ffd05000 {
43*e54bbcb0SPhilipp Zabel        compatible = "altr,rst-mgr";
44*e54bbcb0SPhilipp Zabel        reg = <0xffd05000 0x1000>;
45*e54bbcb0SPhilipp Zabel        altr,modrst-offset = <0x10>;
46*e54bbcb0SPhilipp Zabel        #reset-cells = <1>;
47*e54bbcb0SPhilipp Zabel    };
48