xref: /linux/Documentation/devicetree/bindings/nvmem/brcm,ocotp.yaml (revision 6044a1ee9dca906a807ba786421dc4254191ffd5)
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
7title: Broadcom OTP memory controller
8
9maintainers:
10  - Ray Jui <rjui@broadcom.com>
11  - Scott Branden <sbranden@broadcom.com>
12
13properties:
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
26required:
27  - compatible
28  - reg
29  - brcm,ocotp-size
30
31additionalProperties: false
32
33examples:
34  - |
35    otp@301c800 {
36        compatible = "brcm,ocotp";
37        reg = <0x0301c800 0x2c>;
38        brcm,ocotp-size = <2048>;
39    };
40