16ffdc742SBenjamin Gaignard# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26ffdc742SBenjamin Gaignard%YAML 1.2 36ffdc742SBenjamin Gaignard--- 46ffdc742SBenjamin Gaignard$id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml# 56ffdc742SBenjamin Gaignard$schema: http://devicetree.org/meta-schemas/core.yaml# 66ffdc742SBenjamin Gaignard 76ffdc742SBenjamin Gaignardtitle: STMicroelectronics STM32 Factory-programmed data bindings 86ffdc742SBenjamin Gaignard 96ffdc742SBenjamin Gaignarddescription: | 106ffdc742SBenjamin Gaignard This represents STM32 Factory-programmed read only non-volatile area: locked 116ffdc742SBenjamin Gaignard flash, OTP, read-only HW regs... This contains various information such as: 126ffdc742SBenjamin Gaignard analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2), 136ffdc742SBenjamin Gaignard internal vref (VREFIN_CAL), unique device ID... 146ffdc742SBenjamin Gaignard 156ffdc742SBenjamin Gaignardmaintainers: 166ffdc742SBenjamin Gaignard - Fabrice Gasnier <fabrice.gasnier@st.com> 176ffdc742SBenjamin Gaignard 186ffdc742SBenjamin GaignardallOf: 196ffdc742SBenjamin Gaignard - $ref: "nvmem.yaml#" 206ffdc742SBenjamin Gaignard 216ffdc742SBenjamin Gaignardproperties: 226ffdc742SBenjamin Gaignard compatible: 236ffdc742SBenjamin Gaignard enum: 246ffdc742SBenjamin Gaignard - st,stm32f4-otp 256ffdc742SBenjamin Gaignard - st,stm32mp15-bsec 266ffdc742SBenjamin Gaignard 27df5f3b6fSEtienne CarrierepatternProperties: 28df5f3b6fSEtienne Carriere "^.*@[0-9a-f]+$": 29df5f3b6fSEtienne Carriere type: object 30df5f3b6fSEtienne Carriere 31df5f3b6fSEtienne Carriere properties: 32df5f3b6fSEtienne Carriere st,non-secure-otp: 33df5f3b6fSEtienne Carriere description: | 34df5f3b6fSEtienne Carriere This property explicits a factory programmed area that both secure 35df5f3b6fSEtienne Carriere and non-secure worlds can access. It is needed when, by default, the 36df5f3b6fSEtienne Carriere related area can only be reached by the secure world. 37df5f3b6fSEtienne Carriere type: boolean 38df5f3b6fSEtienne Carriere 396ffdc742SBenjamin Gaignardrequired: 406ffdc742SBenjamin Gaignard - "#address-cells" 416ffdc742SBenjamin Gaignard - "#size-cells" 426ffdc742SBenjamin Gaignard - compatible 436ffdc742SBenjamin Gaignard - reg 446ffdc742SBenjamin Gaignard 45*6fdc6e23SRob HerringunevaluatedProperties: false 46*6fdc6e23SRob Herring 476ffdc742SBenjamin Gaignardexamples: 486ffdc742SBenjamin Gaignard - | 496ffdc742SBenjamin Gaignard efuse@1fff7800 { 506ffdc742SBenjamin Gaignard compatible = "st,stm32f4-otp"; 516ffdc742SBenjamin Gaignard reg = <0x1fff7800 0x400>; 526ffdc742SBenjamin Gaignard #address-cells = <1>; 536ffdc742SBenjamin Gaignard #size-cells = <1>; 546ffdc742SBenjamin Gaignard 556ffdc742SBenjamin Gaignard calib@22c { 566ffdc742SBenjamin Gaignard reg = <0x22c 0x2>; 576ffdc742SBenjamin Gaignard }; 58df5f3b6fSEtienne Carriere 59df5f3b6fSEtienne Carriere mac_addr@e4 { 60df5f3b6fSEtienne Carriere reg = <0xe4 0x8>; 61df5f3b6fSEtienne Carriere st,non-secure-otp; 62df5f3b6fSEtienne Carriere }; 636ffdc742SBenjamin Gaignard }; 646ffdc742SBenjamin Gaignard 656ffdc742SBenjamin Gaignard... 66