| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: On-Chip OTP Memory for Freescale i.MX23/i.MX28 |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Shawn Guo <[email protected]> |
| 11 |
- Sascha Hauer <[email protected]> |
| 12 |
- Fabio Estevam <[email protected]> |
| 13 |
|
| 14 |
allOf: |
| 15 |
- $ref: nvmem.yaml# |
| 16 |
- $ref: nvmem-deprecated-cells.yaml# |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
items: |
| 21 |
- enum: |
| 22 |
- fsl,imx23-ocotp |
| 23 |
- fsl,imx28-ocotp |
| 24 |
- const: fsl,ocotp |
| 25 |
|
| 26 |
reg: |
| 27 |
maxItems: 1 |
| 28 |
|
| 29 |
clocks: |
| 30 |
maxItems: 1 |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- clocks |
| 36 |
|
| 37 |
unevaluatedProperties: false |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
ocotp: efuse@8002c000 { |
| 42 |
compatible = "fsl,imx28-ocotp", "fsl,ocotp"; |
| 43 |
#address-cells = <1>; |
| 44 |
#size-cells = <1>; |
| 45 |
reg = <0x8002c000 0x2000>; |
| 46 |
clocks = <&clks 25>; |
| 47 |
}; |
| 48 |
|
| 49 |
... |