Skip to content

Commit 2e22e8c

Browse files
michal-smolacarlescufi
authored andcommitted
dts: nxp mcxc: Add die temperature measurement
Die temperature measurement is not configured in devicetree for NXP MCX C series. Add die temperature measurement configuration. Signed-off-by: Michal Smola <[email protected]>
1 parent da6310c commit 2e22e8c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

dts/arm/nxp/nxp_mcxc_common.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@
4848
};
4949
};
5050

51+
temp0: temp0 {
52+
compatible = "nxp,kinetis-temperature";
53+
io-channels = <&adc0 26>, <&adc0 27>;
54+
io-channel-names = "SENSOR", "BANDGAP";
55+
bandgap-voltage = <1000000>;
56+
vtemp25 = <716000>;
57+
sensor-slope-cold = <1620>;
58+
sensor-slope-hot = <1620>;
59+
status = "disabled";
60+
};
61+
5162
soc {
5263
ftfa: flash-controller@40020000 {
5364
compatible = "nxp,kinetis-ftfa";

0 commit comments

Comments
 (0)