Merge branch 'asoc-5.2' into asoc-linus
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / nvmem / st,stm32-romem.txt
1 STMicroelectronics STM32 Factory-programmed data device tree bindings
2
3 This represents STM32 Factory-programmed read only non-volatile area: locked
4 flash, OTP, read-only HW regs... This contains various information such as:
5 analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2),
6 internal vref (VREFIN_CAL), unique device ID...
7
8 Required properties:
9 - compatible:           Should be one of:
10                         "st,stm32f4-otp"
11                         "st,stm32mp15-bsec"
12 - reg:                  Offset and length of factory-programmed area.
13 - #address-cells:       Should be '<1>'.
14 - #size-cells:          Should be '<1>'.
15
16 Optional Data cells:
17 - Must be child nodes as described in nvmem.txt.
18
19 Example on stm32f4:
20         romem: nvmem@1fff7800 {
21                 compatible = "st,stm32f4-otp";
22                 reg = <0x1fff7800 0x400>;
23                 #address-cells = <1>;
24                 #size-cells = <1>;
25
26                 /* Data cells: ts_cal1 at 0x1fff7a2c */
27                 ts_cal1: calib@22c {
28                         reg = <0x22c 0x2>;
29                 };
30                 ...
31         };