summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/brcm,ocotp.yaml
blob: ffad28417488544f365a433ccf181a248a19d953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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>;
    };