hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/rockchip-secure-otp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
 
title: Rockchip secure otp device tree bindings
 
maintainers:
  - Hisping <hisping.lin@rock-chips.com>
 
allOf:
  - $ref: "nvmem.yaml#"
 
properties:
  compatible:
    enum:
      - rockchip,secure-otp
 
  rockchip,otp-size:
    description:
      size of non-protected oem zone in secure otp, In bytes.
    $ref: /schemas/types.yaml#/definitions/uint32
 
required:
  - compatible
  - rockchip,otp-size
 
unevaluatedProperties: false
 
examples:
  - |
    secure_otp: secure-otp {
            compatible = "rockchip,secure-otp";
            rockchip,otp-size = <32>;
    };
...