Skip to content

Commit 437e6c6

Browse files
committed
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 <[email protected]>
1 parent 51bebe8 commit 437e6c6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

boards/vendor/custom_plank/Kconfig

Lines changed: 0 additions & 8 deletions
This file was deleted.

boards/vendor/custom_plank/custom_plank.dts

Lines changed: 8 additions & 0 deletions
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)