Skip to content

Commit 8a26316

Browse files
yishai1999kartben
authored andcommitted
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 <[email protected]>
1 parent 7fe85f8 commit 8a26316

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
aliases {
4545
led0 = &green_led;
4646
sw0 = &user_button;
47+
die-temp0 = &die_temp;
48+
volt-sensor0 = &vref;
49+
volt-sensor1 = &vbat;
4750
};
4851
};
4952

@@ -144,3 +147,21 @@
144147
};
145148
};
146149
};
150+
151+
&adc1 {
152+
st,adc-clock-source = "SYNC";
153+
st,adc-prescaler = <4>;
154+
status = "okay";
155+
};
156+
157+
&die_temp {
158+
status = "okay";
159+
};
160+
161+
&vref {
162+
status = "okay";
163+
};
164+
165+
&vbat {
166+
status = "okay";
167+
};

0 commit comments

Comments
 (0)