Skip to content
Browse files

drivers: beetle_clock_control: Get CPU clock frequency from DTS

The clock control initialization code used system clock
frequency as a CPU clock frequency. This commit corrects
that by obtaining the needed value from DTS.

Signed-off-by: Piotr Zięcik <>
  • Loading branch information...
pizi-nordic authored and carlescufi committed Apr 11, 2019
1 parent 01e2789 commit 0509d0638bfc74c87b9b8a8a702ad4e4b2cf15e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/clock_control/beetle_clock_control.c
@@ -233,7 +233,7 @@ static int beetle_clock_control_init(struct device *dev)

static const struct beetle_clock_control_cfg_t beetle_cc_cfg = {
.clock_control_id = 0,


0 comments on commit 0509d06

Please sign in to comment.
You can’t perform that action at this time.