From 8a26316f1718b9504f49c8f43b67efe1c277df27 Mon Sep 17 00:00:00 2001 From: Yishai Jaffe Date: Sun, 25 May 2025 16:42:48 +0300 Subject: [PATCH] boards: st: nucleo_l433rc_p: add die_temp, vref, and vbat nodes Added die_temp, vref, and vbat nodes and their aliases to the nucleo_l433rc_p board. Signed-off-by: Yishai Jaffe --- boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts b/boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts index f81010a1378..36e2ff4220d 100644 --- a/boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts +++ b/boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts @@ -44,6 +44,9 @@ aliases { led0 = &green_led; sw0 = &user_button; + die-temp0 = &die_temp; + volt-sensor0 = &vref; + volt-sensor1 = &vbat; }; }; @@ -144,3 +147,21 @@ }; }; }; + +&adc1 { + st,adc-clock-source = "SYNC"; + st,adc-prescaler = <4>; + status = "okay"; +}; + +&die_temp { + status = "okay"; +}; + +&vref { + status = "okay"; +}; + +&vbat { + status = "okay"; +};