Skip to content

Commit b356f38

Browse files
tu-briancarlescufi
authored andcommitted
dts: Add die_temp sensor to stm32h5
Add die temp sensor to stm32h5 series. Signed-off-by: Brian Juel Folkmann <bju@trackunit.com>
1 parent 065a8f2 commit b356f38

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dts/arm/st/h5/stm32h5.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,18 @@
469469
status = "disabled";
470470
};
471471
};
472+
473+
die_temp: dietemp {
474+
compatible = "st,stm32-temp-cal";
475+
ts-cal1-addr = <0x08fff814>;
476+
ts-cal2-addr = <0x08fff818>;
477+
ts-cal1-temp = <30>;
478+
ts-cal2-temp = <130>;
479+
ts-cal-vrefanalog = <3300>;
480+
ts-cal-resolution = <12>;
481+
io-channels = <&adc1 16>;
482+
status = "disabled";
483+
};
472484
};
473485

474486
&nvic {

0 commit comments

Comments
 (0)