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:
parent
78c03b914a
commit
730d788297
|
@ -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 {
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue