ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c
authorFabrice Gasnier <fabrice.gasnier@st.com>
Thu, 28 Feb 2019 10:19:00 +0000 (11:19 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Thu, 11 Apr 2019 09:22:03 +0000 (11:22 +0200)
Add & enable stm32 factory-programmed memory. Describe temperature sensor
calibration cells. Non-volatile calibration data is made available by
stm32mp157c bootrom in bsec_dataX registers.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c.dtsi

index 8b6a140126bbc3fc2f88466467e976ddc648d287..6ce75f696679c6fe16926c050391e65b60482386 100644 (file)
                        status = "disabled";
                };
 
+               bsec: nvmem@5c005000 {
+                       compatible = "st,stm32mp15-bsec";
+                       reg = <0x5c005000 0x400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ts_cal1: calib@5c {
+                               reg = <0x5c 0x2>;
+                       };
+                       ts_cal2: calib@5e {
+                               reg = <0x5e 0x2>;
+                       };
+               };
+
                i2c6: i2c@5c009000 {
                        compatible = "st,stm32f7-i2c";
                        reg = <0x5c009000 0x400>;