162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
262306a36Sopenharmony_ci%YAML 1.2
362306a36Sopenharmony_ci---
462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/reset/renesas,rst.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: Renesas R-Car and RZ/G Reset Controller
862306a36Sopenharmony_ci
962306a36Sopenharmony_cimaintainers:
1062306a36Sopenharmony_ci  - Geert Uytterhoeven <geert+renesas@glider.be>
1162306a36Sopenharmony_ci  - Magnus Damm <magnus.damm@gmail.com>
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cidescription: |
1462306a36Sopenharmony_ci  The R-Car and RZ/G Reset Controllers provide reset control, and implement the
1562306a36Sopenharmony_ci  following functions:
1662306a36Sopenharmony_ci    - Latching of the levels on mode pins when PRESET# is negated,
1762306a36Sopenharmony_ci    - Mode monitoring register,
1862306a36Sopenharmony_ci    - Reset control of peripheral devices (on R-Car Gen1),
1962306a36Sopenharmony_ci    - Watchdog timer (on R-Car Gen1),
2062306a36Sopenharmony_ci    - Register-based reset control and boot address registers for the various
2162306a36Sopenharmony_ci      CPU cores (on R-Car Gen2 and Gen3, and on RZ/G).
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciproperties:
2462306a36Sopenharmony_ci  compatible:
2562306a36Sopenharmony_ci    enum:
2662306a36Sopenharmony_ci      - renesas,r8a7742-rst       # RZ/G1H
2762306a36Sopenharmony_ci      - renesas,r8a7743-rst       # RZ/G1M
2862306a36Sopenharmony_ci      - renesas,r8a7744-rst       # RZ/G1N
2962306a36Sopenharmony_ci      - renesas,r8a7745-rst       # RZ/G1E
3062306a36Sopenharmony_ci      - renesas,r8a77470-rst      # RZ/G1C
3162306a36Sopenharmony_ci      - renesas,r8a774a1-rst      # RZ/G2M
3262306a36Sopenharmony_ci      - renesas,r8a774b1-rst      # RZ/G2N
3362306a36Sopenharmony_ci      - renesas,r8a774c0-rst      # RZ/G2E
3462306a36Sopenharmony_ci      - renesas,r8a774e1-rst      # RZ/G2H
3562306a36Sopenharmony_ci      - renesas,r8a7778-reset-wdt # R-Car M1A
3662306a36Sopenharmony_ci      - renesas,r8a7779-reset-wdt # R-Car H1
3762306a36Sopenharmony_ci      - renesas,r8a7790-rst       # R-Car H2
3862306a36Sopenharmony_ci      - renesas,r8a7791-rst       # R-Car M2-W
3962306a36Sopenharmony_ci      - renesas,r8a7792-rst       # R-Car V2H
4062306a36Sopenharmony_ci      - renesas,r8a7793-rst       # R-Car M2-N
4162306a36Sopenharmony_ci      - renesas,r8a7794-rst       # R-Car E2
4262306a36Sopenharmony_ci      - renesas,r8a7795-rst       # R-Car H3
4362306a36Sopenharmony_ci      - renesas,r8a7796-rst       # R-Car M3-W
4462306a36Sopenharmony_ci      - renesas,r8a77961-rst      # R-Car M3-W+
4562306a36Sopenharmony_ci      - renesas,r8a77965-rst      # R-Car M3-N
4662306a36Sopenharmony_ci      - renesas,r8a77970-rst      # R-Car V3M
4762306a36Sopenharmony_ci      - renesas,r8a77980-rst      # R-Car V3H
4862306a36Sopenharmony_ci      - renesas,r8a77990-rst      # R-Car E3
4962306a36Sopenharmony_ci      - renesas,r8a77995-rst      # R-Car D3
5062306a36Sopenharmony_ci      - renesas,r8a779a0-rst      # R-Car V3U
5162306a36Sopenharmony_ci      - renesas,r8a779f0-rst      # R-Car S4-8
5262306a36Sopenharmony_ci      - renesas,r8a779g0-rst      # R-Car V4H
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ci  reg:
5562306a36Sopenharmony_ci    maxItems: 1
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_cirequired:
5862306a36Sopenharmony_ci  - compatible
5962306a36Sopenharmony_ci  - reg
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ciadditionalProperties: false
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciexamples:
6462306a36Sopenharmony_ci  - |
6562306a36Sopenharmony_ci    rst: reset-controller@e6160000 {
6662306a36Sopenharmony_ci            compatible = "renesas,r8a7795-rst";
6762306a36Sopenharmony_ci            reg = <0xe6160000 0x0200>;
6862306a36Sopenharmony_ci    };
69