Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: STMicroelectronics STM32 Factory-programmed data bindings
0008 
0009 description: |
0010   This represents STM32 Factory-programmed read only non-volatile area: locked
0011   flash, OTP, read-only HW regs... This contains various information such as:
0012   analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2),
0013   internal vref (VREFIN_CAL), unique device ID...
0014 
0015 maintainers:
0016   - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
0017 
0018 allOf:
0019   - $ref: "nvmem.yaml#"
0020 
0021 properties:
0022   compatible:
0023     enum:
0024       - st,stm32f4-otp
0025       - st,stm32mp15-bsec
0026 
0027   reg:
0028     maxItems: 1
0029 
0030 patternProperties:
0031   "^.*@[0-9a-f]+$":
0032     type: object
0033 
0034     properties:
0035       st,non-secure-otp:
0036         description: |
0037           This property explicits a factory programmed area that both secure
0038           and non-secure worlds can access. It is needed when, by default, the
0039           related area can only be reached by the secure world.
0040         type: boolean
0041 
0042 required:
0043   - "#address-cells"
0044   - "#size-cells"
0045   - compatible
0046   - reg
0047 
0048 unevaluatedProperties: false
0049 
0050 examples:
0051   - |
0052     efuse@1fff7800 {
0053       compatible = "st,stm32f4-otp";
0054       reg = <0x1fff7800 0x400>;
0055       #address-cells = <1>;
0056       #size-cells = <1>;
0057 
0058       calib@22c {
0059         reg = <0x22c 0x2>;
0060       };
0061 
0062       mac_addr@e4 {
0063         reg = <0xe4 0x8>;
0064         st,non-secure-otp;
0065       };
0066     };
0067 
0068 ...