xref: /linux/Documentation/devicetree/bindings/fuse/renesas,rcar-efuse.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/fuse/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
16properties:
17  compatible:
18    enum:
19      - renesas,r8a779a0-efuse # R-Car V3U
20      - renesas,r8a779f0-efuse # R-Car S4-8
21
22  reg:
23    maxItems: 1
24    description: PFC System Group Fuse Control and Monitor register block
25
26  clocks:
27    maxItems: 1
28
29  power-domains:
30    maxItems: 1
31
32  resets:
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38  - clocks
39  - power-domains
40  - resets
41
42additionalProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
47    #include <dt-bindings/power/r8a779a0-sysc.h>
48
49    fuse: fuse@e6078800 {
50            compatible = "renesas,r8a779a0-efuse";
51            reg = <0xe6078800 0x100>;
52            clocks = <&cpg CPG_MOD 916>;
53            power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
54            resets = <&cpg 916>;
55    };
56