18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: "http://devicetree.org/schemas/reset/renesas,rst.yaml#"
58c2ecf20Sopenharmony_ci$schema: "http://devicetree.org/meta-schemas/core.yaml#"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Renesas R-Car and RZ/G Reset Controller
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Geert Uytterhoeven <geert+renesas@glider.be>
118c2ecf20Sopenharmony_ci  - Magnus Damm <magnus.damm@gmail.com>
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_cidescription: |
148c2ecf20Sopenharmony_ci  The R-Car and RZ/G Reset Controllers provide reset control, and implement the
158c2ecf20Sopenharmony_ci  following functions:
168c2ecf20Sopenharmony_ci    - Latching of the levels on mode pins when PRESET# is negated,
178c2ecf20Sopenharmony_ci    - Mode monitoring register,
188c2ecf20Sopenharmony_ci    - Reset control of peripheral devices (on R-Car Gen1),
198c2ecf20Sopenharmony_ci    - Watchdog timer (on R-Car Gen1),
208c2ecf20Sopenharmony_ci    - Register-based reset control and boot address registers for the various
218c2ecf20Sopenharmony_ci      CPU cores (on R-Car Gen2 and Gen3, and on RZ/G).
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciproperties:
248c2ecf20Sopenharmony_ci  compatible:
258c2ecf20Sopenharmony_ci    enum:
268c2ecf20Sopenharmony_ci      - renesas,r8a7742-rst       # RZ/G1H
278c2ecf20Sopenharmony_ci      - renesas,r8a7743-rst       # RZ/G1M
288c2ecf20Sopenharmony_ci      - renesas,r8a7744-rst       # RZ/G1N
298c2ecf20Sopenharmony_ci      - renesas,r8a7745-rst       # RZ/G1E
308c2ecf20Sopenharmony_ci      - renesas,r8a77470-rst      # RZ/G1C
318c2ecf20Sopenharmony_ci      - renesas,r8a774a1-rst      # RZ/G2M
328c2ecf20Sopenharmony_ci      - renesas,r8a774b1-rst      # RZ/G2N
338c2ecf20Sopenharmony_ci      - renesas,r8a774c0-rst      # RZ/G2E
348c2ecf20Sopenharmony_ci      - renesas,r8a774e1-rst      # RZ/G2H
358c2ecf20Sopenharmony_ci      - renesas,r8a7778-reset-wdt # R-Car M1A
368c2ecf20Sopenharmony_ci      - renesas,r8a7779-reset-wdt # R-Car H1
378c2ecf20Sopenharmony_ci      - renesas,r8a7790-rst       # R-Car H2
388c2ecf20Sopenharmony_ci      - renesas,r8a7791-rst       # R-Car M2-W
398c2ecf20Sopenharmony_ci      - renesas,r8a7792-rst       # R-Car V2H
408c2ecf20Sopenharmony_ci      - renesas,r8a7793-rst       # R-Car M2-N
418c2ecf20Sopenharmony_ci      - renesas,r8a7794-rst       # R-Car E2
428c2ecf20Sopenharmony_ci      - renesas,r8a7795-rst       # R-Car H3
438c2ecf20Sopenharmony_ci      - renesas,r8a7796-rst       # R-Car M3-W
448c2ecf20Sopenharmony_ci      - renesas,r8a77961-rst      # R-Car M3-W+
458c2ecf20Sopenharmony_ci      - renesas,r8a77965-rst      # R-Car M3-N
468c2ecf20Sopenharmony_ci      - renesas,r8a77970-rst      # R-Car V3M
478c2ecf20Sopenharmony_ci      - renesas,r8a77980-rst      # R-Car V3H
488c2ecf20Sopenharmony_ci      - renesas,r8a77990-rst      # R-Car E3
498c2ecf20Sopenharmony_ci      - renesas,r8a77995-rst      # R-Car D3
508c2ecf20Sopenharmony_ci      - renesas,r8a779a0-rst      # R-Car V3U
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci  reg:
538c2ecf20Sopenharmony_ci    maxItems: 1
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_cirequired:
568c2ecf20Sopenharmony_ci  - compatible
578c2ecf20Sopenharmony_ci  - reg
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ciadditionalProperties: false
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciexamples:
628c2ecf20Sopenharmony_ci  - |
638c2ecf20Sopenharmony_ci    rst: reset-controller@e6160000 {
648c2ecf20Sopenharmony_ci            compatible = "renesas,r8a7795-rst";
658c2ecf20Sopenharmony_ci            reg = <0xe6160000 0x0200>;
668c2ecf20Sopenharmony_ci    };
67