dts: arm: st: f0: refactor stm32f0 temperature driver

Remove calibrated temperature measure from base dtsi since it does not
exist for STM32F0x0, and add it only for the other STM32F0.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier 2023-02-22 17:32:57 +01:00 committed by Carles Cufí
parent 78c03b914a
commit 730d788297
2 changed files with 11 additions and 11 deletions

View file

@ -322,17 +322,6 @@
status = "disabled";
};
};
die_temp: dietemp {
compatible = "st,stm32-temp-cal";
ts-cal1-addr = <0x1FFFF7B8>;
ts-cal2-addr = <0x1FFFF7C2>;
ts-cal1-temp = <30>;
ts-cal2-temp = <110>;
ts-cal-vrefanalog = <3300>;
io-channels = <&adc1 16>;
status = "disabled";
};
};
&nvic {

View file

@ -39,4 +39,15 @@
};
};
};
die_temp: dietemp {
compatible = "st,stm32-temp-cal";
ts-cal1-addr = <0x1FFFF7B8>;
ts-cal2-addr = <0x1FFFF7C2>;
ts-cal1-temp = <30>;
ts-cal2-temp = <110>;
ts-cal-vrefanalog = <3300>;
io-channels = <&adc1 16>;
status = "disabled";
};
};