| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/nvmem/brcm,ocotp.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Broadcom OTP memory controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ray Jui <[email protected]> |
| 11 |
- Scott Branden <[email protected]> |
| 12 |
|
| 13 |
properties: |
| 14 |
compatible: |
| 15 |
enum: |
| 16 |
- brcm,ocotp |
| 17 |
- brcm,ocotp-v2 |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
brcm,ocotp-size: |
| 23 |
description: Amount of memory available, in 32-bit words |
| 24 |
$ref: /schemas/types.yaml#/definitions/uint32 |
| 25 |
|
| 26 |
required: |
| 27 |
- compatible |
| 28 |
- reg |
| 29 |
- brcm,ocotp-size |
| 30 |
|
| 31 |
additionalProperties: false |
| 32 |
|
| 33 |
examples: |
| 34 |
- | |
| 35 |
otp@301c800 { |
| 36 |
compatible = "brcm,ocotp"; |
| 37 |
reg = <0x0301c800 0x2c>; |
| 38 |
brcm,ocotp-size = <2048>; |
| 39 |
}; |