xref: /linux/Documentation/devicetree/bindings/nvmem/microchip,sama7g5-otpc.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
14d5e3b06SClaudiu Beznea# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
24d5e3b06SClaudiu Beznea%YAML 1.2
34d5e3b06SClaudiu Beznea---
44d5e3b06SClaudiu Beznea$id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml#
54d5e3b06SClaudiu Beznea$schema: http://devicetree.org/meta-schemas/core.yaml#
64d5e3b06SClaudiu Beznea
74d5e3b06SClaudiu Bezneatitle: Microchip SAMA7G5 OTP Controller (OTPC)
84d5e3b06SClaudiu Beznea
94d5e3b06SClaudiu Bezneamaintainers:
104d5e3b06SClaudiu Beznea  - Claudiu Beznea <claudiu.beznea@microchip.com>
114d5e3b06SClaudiu Beznea
124d5e3b06SClaudiu Bezneadescription: |
134d5e3b06SClaudiu Beznea  OTP controller drives a NVMEM memory where system specific data
144d5e3b06SClaudiu Beznea  (e.g. calibration data for analog cells, hardware configuration
154d5e3b06SClaudiu Beznea  settings, chip identifiers) or user specific data could be stored.
164d5e3b06SClaudiu Beznea
174d5e3b06SClaudiu BezneaallOf:
18d14d9f0eSRob Herring  - $ref: nvmem.yaml#
19*c5330723SRafał Miłecki  - $ref: nvmem-deprecated-cells.yaml#
204d5e3b06SClaudiu Beznea
214d5e3b06SClaudiu Bezneaproperties:
224d5e3b06SClaudiu Beznea  compatible:
234d5e3b06SClaudiu Beznea    items:
244d5e3b06SClaudiu Beznea      - const: microchip,sama7g5-otpc
254d5e3b06SClaudiu Beznea      - const: syscon
264d5e3b06SClaudiu Beznea
274d5e3b06SClaudiu Beznea  reg:
284d5e3b06SClaudiu Beznea    maxItems: 1
294d5e3b06SClaudiu Beznea
304d5e3b06SClaudiu Beznearequired:
314d5e3b06SClaudiu Beznea  - compatible
324d5e3b06SClaudiu Beznea  - reg
334d5e3b06SClaudiu Beznea
344d5e3b06SClaudiu BezneaunevaluatedProperties: false
354d5e3b06SClaudiu Beznea
364d5e3b06SClaudiu Bezneaexamples:
374d5e3b06SClaudiu Beznea  - |
384d5e3b06SClaudiu Beznea    #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
394d5e3b06SClaudiu Beznea
404d5e3b06SClaudiu Beznea    otpc: efuse@e8c00000 {
414d5e3b06SClaudiu Beznea        compatible = "microchip,sama7g5-otpc", "syscon";
424d5e3b06SClaudiu Beznea        reg = <0xe8c00000 0xec>;
434d5e3b06SClaudiu Beznea        #address-cells = <1>;
444d5e3b06SClaudiu Beznea        #size-cells = <1>;
454d5e3b06SClaudiu Beznea
464d5e3b06SClaudiu Beznea        temperature_calib: calib@1 {
474d5e3b06SClaudiu Beznea            reg = <OTP_PKT(1) 76>;
484d5e3b06SClaudiu Beznea        };
494d5e3b06SClaudiu Beznea    };
504d5e3b06SClaudiu Beznea
514d5e3b06SClaudiu Beznea...
52