| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/nvmem/fsl,vf610-ocotp.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: On-Chip OTP Memory for Freescale Vybrid |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: nvmem.yaml# |
| 14 |
- $ref: nvmem-deprecated-cells.yaml |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
items: |
| 19 |
- enum: |
| 20 |
- fsl,vf610-ocotp |
| 21 |
- const: syscon |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
clocks: |
| 27 |
items: |
| 28 |
- description: ipg clock we associate with the OCOTP peripheral |
| 29 |
|
| 30 |
required: |
| 31 |
- compatible |
| 32 |
- reg |
| 33 |
- clocks |
| 34 |
|
| 35 |
unevaluatedProperties: false |
| 36 |
|
| 37 |
examples: |
| 38 |
- | |
| 39 |
#include <dt-bindings/clock/vf610-clock.h> |
| 40 |
|
| 41 |
ocotp@400a5000 { |
| 42 |
compatible = "fsl,vf610-ocotp", "syscon"; |
| 43 |
reg = <0x400a5000 0xcf0>; |
| 44 |
#address-cells = <1>; |
| 45 |
#size-cells = <1>; |
| 46 |
clocks = <&clks VF610_CLK_OCOTP>; |
| 47 |
}; |