Skip to content

Commit 41e91e6

Browse files
committed
[nrf fromlist] treewide: Move separated clock control Kconfigs to dts
Added binding parameters for HW related Kconfigs in clock control shim. Added dts configs for boards/tests using these Kconfigs. Upstream PR #: 99290 Signed-off-by: Michal Frankiewicz <[email protected]>
1 parent aaa08fe commit 41e91e6

File tree

35 files changed

+516
-99
lines changed

35 files changed

+516
-99
lines changed

boards/adafruit/feather_nrf52840/adafruit_feather_nrf52840_common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,8 @@ zephyr_udc0: &usbd {
130130
compatible = "nordic,nrf-usbd";
131131
status = "okay";
132132
};
133+
134+
&lfclk {
135+
k32src = "CLOCK_CONTROL_NRF_K32SRC_RC";
136+
k32-accuracy-ppm = <500>;
137+
};

boards/bbc/microbit/bbc_microbit.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,8 @@
187187
};
188188
};
189189
};
190+
191+
&lfclk {
192+
k32src = "CLOCK_CONTROL_NRF_K32SRC_RC";
193+
k32-accuracy-ppm = <250>;
194+
};

boards/bbc/microbit_v2/bbc_microbit_v2.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,8 @@ zephyr_udc0: &usbd {
189189
compatible = "nordic,nrf-usbd";
190190
status = "okay";
191191
};
192+
193+
&lfclk {
194+
k32src = "CLOCK_CONTROL_NRF_K32SRC_RC";
195+
k32-accuracy-ppm = <250>;
196+
};

boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,5 +400,10 @@
400400
};
401401
};
402402

403+
&lfclk {
404+
k32src = "CLOCK_CONTROL_NRF_K32SRC_XTAL";
405+
k32-accuracy-ppm = <250>;
406+
};
407+
403408
/* Include partition configuration file */
404409
#include "bl5340_dvk_nrf5340_cpuapp_partition_conf.dtsi"

boards/ezurio/bl652_dvk/bl652_dvk.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,8 @@
171171
};
172172
};
173173
};
174+
175+
&lfclk {
176+
k32src = "CLOCK_CONTROL_NRF_K32SRC_RC";
177+
k32-accuracy-ppm = <500>;
178+
};

boards/ezurio/bl653_dvk/bl653_dvk.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,8 @@ zephyr_udc0: &usbd {
196196
&ieee802154 {
197197
status = "okay";
198198
};
199+
200+
&lfclk {
201+
k32src = "CLOCK_CONTROL_NRF_K32SRC_RC";
202+
k32-accuracy-ppm = <500>;
203+
};

boards/ezurio/bl654_dvk/bl654_dvk.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,8 @@ zephyr_udc0: &usbd {
184184
compatible = "nordic,nrf-usbd";
185185
status = "okay";
186186
};
187+
188+
&lfclk {
189+
k32src = "CLOCK_CONTROL_NRF_K32SRC_RC";
190+
k32-accuracy-ppm = <500>;
191+
};

boards/ezurio/bl654_sensor_board/bl654_sensor_board.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,8 @@
149149
};
150150
};
151151
};
152+
153+
&lfclk {
154+
k32src = "CLOCK_CONTROL_NRF_K32SRC_XTAL";
155+
k32-accuracy-ppm = <150>;
156+
};

boards/ezurio/bl654_usb/bl654_usb_common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,9 @@ zephyr_udc0: &usbd {
8787
status = "okay";
8888
};
8989

90+
&lfclk {
91+
k32src = "CLOCK_CONTROL_NRF_K32SRC_XTAL";
92+
k32-accuracy-ppm = <150>;
93+
};
94+
9095
#include <../boards/common/usb/cdc_acm_serial.dtsi>

boards/ezurio/bt510/bt510.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,8 @@
170170
};
171171
};
172172
};
173+
174+
&lfclk {
175+
k32src = "CLOCK_CONTROL_NRF_K32SRC_XTAL";
176+
k32-accuracy-ppm = <150>;
177+
};

0 commit comments

Comments
 (0)