38 lines
767 B
YAML

# 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>;
};
...