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