Files
linux/Documentation/devicetree/bindings/nvmem/brcm,ocotp.yaml
Rob Herring (Arm) 4827728f75 dt-bindings: nvmem: Convert brcm,ocotp to DT schema
Convert the brcm,ocotp binding to DT schema format. It's a
straight-forward conversion.

Link: https://patch.msgid.link/20251014152957.3782962-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2025-11-17 11:24:50 -06:00

40 lines
772 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/brcm,ocotp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Broadcom OTP memory controller
maintainers:
- Ray Jui <rjui@broadcom.com>
- Scott Branden <sbranden@broadcom.com>
properties:
compatible:
enum:
- brcm,ocotp
- brcm,ocotp-v2
reg:
maxItems: 1
brcm,ocotp-size:
description: Amount of memory available, in 32-bit words
$ref: /schemas/types.yaml#/definitions/uint32
required:
- compatible
- reg
- brcm,ocotp-size
additionalProperties: false
examples:
- |
otp@301c800 {
compatible = "brcm,ocotp";
reg = <0x0301c800 0x2c>;
brcm,ocotp-size = <2048>;
};