| 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 |
|
| 7 |
title: NXP S32G OCOTP NVMEM driver |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ciprian Costea <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
The drivers provides an interface to access One Time |
| 14 |
Programmable memory pages, such as TMU fuse values. |
| 15 |
|
| 16 |
properties: |
| 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 |
|
| 29 |
required: |
| 30 |
- compatible |
| 31 |
- reg |
| 32 |
|
| 33 |
unevaluatedProperties: false |
| 34 |
|
| 35 |
allOf: |
| 36 |
- $ref: nvmem.yaml# |
| 37 |
|
| 38 |
examples: |
| 39 |
- | |
| 40 |
nvmem@400a4000 { |
| 41 |
compatible = "nxp,s32g2-ocotp"; |
| 42 |
reg = <0x400a4000 0x400>; |
| 43 |
#address-cells = <1>; |
| 44 |
#size-cells = <1>; |
| 45 |
}; |