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