xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/nvmem/rockchip-secure-otp.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/rockchip-secure-otp.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Rockchip secure otp device tree bindings
8
9maintainers:
10  - Hisping <hisping.lin@rock-chips.com>
11
12allOf:
13  - $ref: "nvmem.yaml#"
14
15properties:
16  compatible:
17    enum:
18      - rockchip,secure-otp
19
20  rockchip,otp-size:
21    description:
22      size of non-protected oem zone in secure otp, In bytes.
23    $ref: /schemas/types.yaml#/definitions/uint32
24
25required:
26  - compatible
27  - rockchip,otp-size
28
29unevaluatedProperties: false
30
31examples:
32  - |
33    secure_otp: secure-otp {
34            compatible = "rockchip,secure-otp";
35            rockchip,otp-size = <32>;
36    };
37...
38