xref: /linux/Documentation/devicetree/bindings/nvmem/nxp,s32g-ocotp-nvmem.yaml (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/nxp,s32g-ocotp-nvmem.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP S32G OCOTP NVMEM driver
8
9maintainers:
10  - Ciprian Costea <ciprianmarian.costea@nxp.com>
11
12description:
13  The drivers provides an interface to access One Time
14  Programmable memory pages, such as TMU fuse values.
15
16properties:
17  compatible:
18    oneOf:
19      - enum:
20          - nxp,s32g2-ocotp
21      - items:
22          - enum:
23              - nxp,s32g3-ocotp
24              - nxp,s32r45-ocotp
25          - const: nxp,s32g2-ocotp
26  reg:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32
33unevaluatedProperties: false
34
35allOf:
36  - $ref: nvmem.yaml#
37
38examples:
39  - |
40    nvmem@400a4000 {
41      compatible = "nxp,s32g2-ocotp";
42      reg = <0x400a4000 0x400>;
43      #address-cells = <1>;
44      #size-cells = <1>;
45    };
46