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 784e85359SKrzysztof Kozlowskititle: STMicroelectronics STM32 Factory-programmed data 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: 16f4eedebdSPatrice Chotard - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 176ffdc742SBenjamin Gaignard 186ffdc742SBenjamin GaignardallOf: 19d14d9f0eSRob Herring - $ref: nvmem.yaml# 20*cdb63c73SKrzysztof Kozlowski - $ref: nvmem-deprecated-cells.yaml# 216ffdc742SBenjamin Gaignard 226ffdc742SBenjamin Gaignardproperties: 236ffdc742SBenjamin Gaignard compatible: 246ffdc742SBenjamin Gaignard enum: 256ffdc742SBenjamin Gaignard - st,stm32f4-otp 26107548adSPatrick Delaunay - st,stm32mp13-bsec 276ffdc742SBenjamin Gaignard - st,stm32mp15-bsec 28a729c0f5SPatrick Delaunay - st,stm32mp25-bsec 296ffdc742SBenjamin Gaignard 3015c00b68SRob Herring reg: 3115c00b68SRob Herring maxItems: 1 3215c00b68SRob Herring 33df5f3b6fSEtienne CarrierepatternProperties: 34df5f3b6fSEtienne Carriere "^.*@[0-9a-f]+$": 35df5f3b6fSEtienne Carriere type: object 36*cdb63c73SKrzysztof Kozlowski $ref: layouts/fixed-cell.yaml 37*cdb63c73SKrzysztof Kozlowski unevaluatedProperties: false 38df5f3b6fSEtienne Carriere 39df5f3b6fSEtienne Carriere properties: 40df5f3b6fSEtienne Carriere st,non-secure-otp: 41df5f3b6fSEtienne Carriere description: | 42df5f3b6fSEtienne Carriere This property explicits a factory programmed area that both secure 43df5f3b6fSEtienne Carriere and non-secure worlds can access. It is needed when, by default, the 44df5f3b6fSEtienne Carriere related area can only be reached by the secure world. 45df5f3b6fSEtienne Carriere type: boolean 46df5f3b6fSEtienne Carriere 476ffdc742SBenjamin Gaignardrequired: 486ffdc742SBenjamin Gaignard - "#address-cells" 496ffdc742SBenjamin Gaignard - "#size-cells" 506ffdc742SBenjamin Gaignard - compatible 516ffdc742SBenjamin Gaignard - reg 526ffdc742SBenjamin Gaignard 536fdc6e23SRob HerringunevaluatedProperties: false 546fdc6e23SRob Herring 556ffdc742SBenjamin Gaignardexamples: 566ffdc742SBenjamin Gaignard - | 576ffdc742SBenjamin Gaignard efuse@1fff7800 { 586ffdc742SBenjamin Gaignard compatible = "st,stm32f4-otp"; 596ffdc742SBenjamin Gaignard reg = <0x1fff7800 0x400>; 606ffdc742SBenjamin Gaignard #address-cells = <1>; 616ffdc742SBenjamin Gaignard #size-cells = <1>; 626ffdc742SBenjamin Gaignard 636ffdc742SBenjamin Gaignard calib@22c { 646ffdc742SBenjamin Gaignard reg = <0x22c 0x2>; 656ffdc742SBenjamin Gaignard }; 66df5f3b6fSEtienne Carriere 67df5f3b6fSEtienne Carriere mac_addr@e4 { 68df5f3b6fSEtienne Carriere reg = <0xe4 0x8>; 69df5f3b6fSEtienne Carriere st,non-secure-otp; 70df5f3b6fSEtienne Carriere }; 716ffdc742SBenjamin Gaignard }; 726ffdc742SBenjamin Gaignard 736ffdc742SBenjamin Gaignard... 74