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