2019-12-19 07:41:15 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
2022-12-16 09:38:12 -07:00
|
|
|
title: STMicroelectronics STM32 Factory-programmed data
|
2019-12-19 07:41:15 -07:00
|
|
|
|
|
|
|
description: |
|
|
|
|
This represents STM32 Factory-programmed read only non-volatile area: locked
|
|
|
|
flash, OTP, read-only HW regs... This contains various information such as:
|
|
|
|
analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2),
|
|
|
|
internal vref (VREFIN_CAL), unique device ID...
|
|
|
|
|
|
|
|
maintainers:
|
2021-11-10 08:01:44 -07:00
|
|
|
- Fabrice Gasnier <fabrice.gasnier@foss.st.com>
|
2019-12-19 07:41:15 -07:00
|
|
|
|
|
|
|
allOf:
|
2023-04-04 10:21:33 -07:00
|
|
|
- $ref: nvmem.yaml#
|
2024-09-02 07:29:49 -07:00
|
|
|
- $ref: nvmem-deprecated-cells.yaml#
|
2019-12-19 07:41:15 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- st,stm32f4-otp
|
2022-11-17 23:39:23 -07:00
|
|
|
- st,stm32mp13-bsec
|
2019-12-19 07:41:15 -07:00
|
|
|
- st,stm32mp15-bsec
|
2023-12-15 04:15:35 -07:00
|
|
|
- st,stm32mp25-bsec
|
2019-12-19 07:41:15 -07:00
|
|
|
|
2021-12-09 10:42:35 -07:00
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
2020-05-12 06:13:34 -07:00
|
|
|
patternProperties:
|
|
|
|
"^.*@[0-9a-f]+$":
|
|
|
|
type: object
|
2024-09-02 07:29:49 -07:00
|
|
|
$ref: layouts/fixed-cell.yaml
|
|
|
|
unevaluatedProperties: false
|
2020-05-12 06:13:34 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
st,non-secure-otp:
|
|
|
|
description: |
|
|
|
|
This property explicits a factory programmed area that both secure
|
|
|
|
and non-secure worlds can access. It is needed when, by default, the
|
|
|
|
related area can only be reached by the secure world.
|
|
|
|
type: boolean
|
|
|
|
|
2019-12-19 07:41:15 -07:00
|
|
|
required:
|
|
|
|
- "#address-cells"
|
|
|
|
- "#size-cells"
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
|
2020-10-05 11:38:27 -07:00
|
|
|
unevaluatedProperties: false
|
|
|
|
|
2019-12-19 07:41:15 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
efuse@1fff7800 {
|
|
|
|
compatible = "st,stm32f4-otp";
|
|
|
|
reg = <0x1fff7800 0x400>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
calib@22c {
|
|
|
|
reg = <0x22c 0x2>;
|
|
|
|
};
|
2020-05-12 06:13:34 -07:00
|
|
|
|
|
|
|
mac_addr@e4 {
|
|
|
|
reg = <0xe4 0x8>;
|
|
|
|
st,non-secure-otp;
|
|
|
|
};
|
2019-12-19 07:41:15 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
...
|