summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml
blob: c3c96fd0baacef161b0eb07d736a4ce3a4c35a46 (plain)
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
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip SAMA7G5 OTP Controller (OTPC)

maintainers:
  - Claudiu Beznea <claudiu.beznea@microchip.com>

description: |
  OTP controller drives a NVMEM memory where system specific data
  (e.g. calibration data for analog cells, hardware configuration
  settings, chip identifiers) or user specific data could be stored.

allOf:
  - $ref: "nvmem.yaml#"

properties:
  compatible:
    items:
      - const: microchip,sama7g5-otpc
      - const: syscon

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>

    otpc: efuse@e8c00000 {
        compatible = "microchip,sama7g5-otpc", "syscon";
        reg = <0xe8c00000 0xec>;
        #address-cells = <1>;
        #size-cells = <1>;

        temperature_calib: calib@1 {
            reg = <OTP_PKT(1) 76>;
        };
    };

...