Google GS101 OTP Controller
Schema identifier ($id): "http://devicetree.org/schemas/nvmem/google,gs101-otp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tudor Ambarus <tudor.ambarus@linaro.org>"
OTP controller drives a NVMEM memory where system or user specific data can be stored. The OTP controller register space is of interest as well because it contains dedicated registers where it stores the Product ID and the Chip ID (apart other things like TMU or ASV info).
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):nvmem.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"google,gs101-otp"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "pclk"
interrupts — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/google,gs101.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
efuse@10000000 {
compatible = "google,gs101-otp";
reg = <0x10000000 0xf084>;
clocks = <&cmu_misc CLK_GOUT_MISC_OTP_CON_TOP_PCLK>;
clock-names = "pclk";
interrupts = <GIC_SPI 752 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)