boards: arm: nucleo_f030r8: Enabling the die temperature sensor
Enable the `die_temp` sensor. And add an alias named `die-temp0` that points to the `die_temp` node. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
0a24c4c869
commit
70677fe392
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
||||||
led0 = &green_led_2;
|
led0 = &green_led_2;
|
||||||
sw0 = &user_button;
|
sw0 = &user_button;
|
||||||
watchdog0 = &iwdg;
|
watchdog0 = &iwdg;
|
||||||
|
die-temp0 = &die_temp;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -119,3 +120,7 @@
|
||||||
&iwdg {
|
&iwdg {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&die_temp {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue