xref: /linux/Documentation/devicetree/bindings/nvmem/renesas,rcar-efuse.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-efuse.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: R-Car E-FUSE connected to PFC
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  Pin Function Controller (PFC) on some R-Car Gen4 SoCs.
15
16allOf:
17  - $ref: nvmem.yaml#
18
19properties:
20  compatible:
21    enum:
22      - renesas,r8a779a0-efuse # R-Car V3U
23      - renesas,r8a779f0-efuse # R-Car S4-8
24
25  reg:
26    maxItems: 1
27    description: PFC System Group Fuse Control and Monitor register block
28
29  clocks:
30    maxItems: 1
31
32  power-domains:
33    maxItems: 1
34
35  resets:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41  - clocks
42  - power-domains
43  - resets
44
45unevaluatedProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
50    #include <dt-bindings/power/r8a779f0-sysc.h>
51
52    fuse@e6078800 {
53        compatible = "renesas,r8a779f0-efuse";
54        reg = <0xe6078800 0x200>;
55        clocks = <&cpg CPG_MOD 915>;
56        power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
57        resets = <&cpg 915>;
58
59        nvmem-layout {
60            compatible = "fixed-layout";
61            #address-cells = <1>;
62            #size-cells = <1>;
63
64            calib@144 {
65                reg = <0x144 0x08>;
66            };
67        };
68    };
69