xref: /linux/Documentation/devicetree/bindings/nvmem/renesas,rcar-otp.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/renesas,rcar-otp.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: R-Car E-FUSE connected to OTP_MEM
8
9maintainers:
10  - Geert Uytterhoeven <geert+renesas@glider.be>
11
12description:
13  The E-FUSE is a type of non-volatile memory, which is accessible through the
14  One-Time Programmable Memory (OTP_MEM) module on some R-Car Gen4 SoCs.
15
16allOf:
17  - $ref: nvmem.yaml#
18
19properties:
20  compatible:
21    enum:
22      - renesas,r8a779g0-otp # R-CarV4H
23      - renesas,r8a779h0-otp # R-CarV4M
24
25  reg:
26    items:
27      - description: OTP_MEM_0
28      - description: OTP_MEM_1.
29          The addresses of cells defined under the optional nvmem-layout
30          subnode are relative to this register bank.
31
32required:
33  - compatible
34  - reg
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    otp@e61be000 {
41        compatible = "renesas,r8a779g0-otp";
42        reg = <0xe61be000 0x1000>, <0xe61bf000 0x1000>;
43    };
44