summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/nvmem/renesas,rcar-efuse.yaml
blob: ce7d65afa46025373a18167729505ca179fd84b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/renesas,rcar-efuse.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: R-Car E-FUSE connected to PFC

maintainers:
  - Geert Uytterhoeven <geert+renesas@glider.be>

description:
  The E-FUSE is a type of non-volatile memory, which is accessible through the
  Pin Function Controller (PFC) on some R-Car Gen4 SoCs.

allOf:
  - $ref: nvmem.yaml#

properties:
  compatible:
    enum:
      - renesas,r8a779a0-efuse # R-Car V3U
      - renesas,r8a779f0-efuse # R-Car S4-8

  reg:
    maxItems: 1
    description: PFC System Group Fuse Control and Monitor register block

  clocks:
    maxItems: 1

  power-domains:
    maxItems: 1

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - power-domains
  - resets

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
    #include <dt-bindings/power/r8a779f0-sysc.h>

    fuse@e6078800 {
        compatible = "renesas,r8a779f0-efuse";
        reg = <0xe6078800 0x200>;
        clocks = <&cpg CPG_MOD 915>;
        power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
        resets = <&cpg 915>;

        nvmem-layout {
            compatible = "fixed-layout";
            #address-cells = <1>;
            #size-cells = <1>;

            calib@144 {
                reg = <0x144 0x08>;
            };
        };
    };