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