Skip to content

Commit da26783

Browse files
gmarullcarlescufi
authored andcommitted
boards: custom_plank: use DT to enable DCDC
custom_plank is a sample custom board template usable on nRF52840DK. The DCDC module on the nRF52840 SoC is now enabled using DT, the Kconfig options are deprecated, so let's keep up to date. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
1 parent 51bebe8 commit da26783

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

boards/vendor/custom_plank/Kconfig

-8
This file was deleted.

boards/vendor/custom_plank/custom_plank.dts

+8
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
};
3030
};
3131

32+
&reg0 {
33+
status = "okay";
34+
};
35+
36+
&reg1 {
37+
regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
38+
};
39+
3240
&uicr {
3341
gpio-as-nreset;
3442
};

0 commit comments

Comments
 (0)