1*4d5e3b06SClaudiu Beznea# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*4d5e3b06SClaudiu Beznea%YAML 1.2
3*4d5e3b06SClaudiu Beznea---
4*4d5e3b06SClaudiu Beznea$id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml#
5*4d5e3b06SClaudiu Beznea$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4d5e3b06SClaudiu Beznea
7*4d5e3b06SClaudiu Bezneatitle: Microchip SAMA7G5 OTP Controller (OTPC)
8*4d5e3b06SClaudiu Beznea
9*4d5e3b06SClaudiu Bezneamaintainers:
10*4d5e3b06SClaudiu Beznea  - Claudiu Beznea <claudiu.beznea@microchip.com>
11*4d5e3b06SClaudiu Beznea
12*4d5e3b06SClaudiu Bezneadescription: |
13*4d5e3b06SClaudiu Beznea  OTP controller drives a NVMEM memory where system specific data
14*4d5e3b06SClaudiu Beznea  (e.g. calibration data for analog cells, hardware configuration
15*4d5e3b06SClaudiu Beznea  settings, chip identifiers) or user specific data could be stored.
16*4d5e3b06SClaudiu Beznea
17*4d5e3b06SClaudiu BezneaallOf:
18*4d5e3b06SClaudiu Beznea  - $ref: "nvmem.yaml#"
19*4d5e3b06SClaudiu Beznea
20*4d5e3b06SClaudiu Bezneaproperties:
21*4d5e3b06SClaudiu Beznea  compatible:
22*4d5e3b06SClaudiu Beznea    items:
23*4d5e3b06SClaudiu Beznea      - const: microchip,sama7g5-otpc
24*4d5e3b06SClaudiu Beznea      - const: syscon
25*4d5e3b06SClaudiu Beznea
26*4d5e3b06SClaudiu Beznea  reg:
27*4d5e3b06SClaudiu Beznea    maxItems: 1
28*4d5e3b06SClaudiu Beznea
29*4d5e3b06SClaudiu Beznearequired:
30*4d5e3b06SClaudiu Beznea  - compatible
31*4d5e3b06SClaudiu Beznea  - reg
32*4d5e3b06SClaudiu Beznea
33*4d5e3b06SClaudiu BezneaunevaluatedProperties: false
34*4d5e3b06SClaudiu Beznea
35*4d5e3b06SClaudiu Bezneaexamples:
36*4d5e3b06SClaudiu Beznea  - |
37*4d5e3b06SClaudiu Beznea    #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
38*4d5e3b06SClaudiu Beznea
39*4d5e3b06SClaudiu Beznea    otpc: efuse@e8c00000 {
40*4d5e3b06SClaudiu Beznea        compatible = "microchip,sama7g5-otpc", "syscon";
41*4d5e3b06SClaudiu Beznea        reg = <0xe8c00000 0xec>;
42*4d5e3b06SClaudiu Beznea        #address-cells = <1>;
43*4d5e3b06SClaudiu Beznea        #size-cells = <1>;
44*4d5e3b06SClaudiu Beznea
45*4d5e3b06SClaudiu Beznea        temperature_calib: calib@1 {
46*4d5e3b06SClaudiu Beznea            reg = <OTP_PKT(1) 76>;
47*4d5e3b06SClaudiu Beznea        };
48*4d5e3b06SClaudiu Beznea    };
49*4d5e3b06SClaudiu Beznea
50*4d5e3b06SClaudiu Beznea...
51