OSDN Git Service

ARM: dts: stm32: Add romem and temperature calibration on stm32f429
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.

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

index 588b6ef..4a49544 100644 (file)
        };
 
        soc {
+               romem: nvmem@1fff7800 {
+                       compatible = "st,stm32f4-otp";
+                       reg = <0x1fff7800 0x400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ts_cal1: calib@22c {
+                               reg = <0x22c 0x2>;
+                       };
+                       ts_cal2: calib@22e {
+                               reg = <0x22e 0x2>;
+                       };
+               };
+
                timer2: timer@40000000 {
                        compatible = "st,stm32-timer";
                        reg = <0x40000000 0x400>;