Skip to content

Commit e4daee3

Browse files
bjarki-andreasene-rk
authored andcommitted
[nrf fromtree] dts: bindings: clock: nrf54l-hfxo: add startup-time-us prop
Add the clock startup time property to the nrf54l series HFXO binding. Note that the values added to the soc .dtsi files are worst case defaults, which will be replaced with optimal values at board level in the future, as they depend on the specific crystal in use. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit bb8ef77) Signed-off-by: Rafał Kuźnia <[email protected]>
1 parent c31bb3f commit e4daee3

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

dts/bindings/clock/nordic,nrf54l-hfxo.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@ properties:
1111
clock-frequency:
1212
const: 32000000
1313

14+
startup-time-us:
15+
type: int
16+
required: true
17+
description: |
18+
Startup time in microseconds.
19+
20+
The value can be obtained by first measuring the time between
21+
TASKS_XOSTART and EVENTS_XOTUNED. Then multiply the value by 2 to
22+
account for temperature and supply variations.
23+
24+
Note that the startup time will be longer usual on the first
25+
power-up and as such should not be used to determine
26+
startup-time-us.
27+
1428
load-capacitors:
1529
type: string
1630
enum:

dts/common/nordic/nrf54l09.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
compatible = "nordic,nrf54l-hfxo";
6666
#clock-cells = <0>;
6767
clock-frequency = <DT_FREQ_M(32)>;
68+
startup-time-us = <1650>;
6869
};
6970

7071
hfpll: hfpll {

dts/common/nordic/nrf54l20.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
compatible = "nordic,nrf54l-hfxo";
7171
#clock-cells = <0>;
7272
clock-frequency = <DT_FREQ_M(32)>;
73+
startup-time-us = <1650>;
7374
};
7475

7576
hfpll: hfpll {

dts/common/nordic/nrf54l_05_10_15.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
compatible = "nordic,nrf54l-hfxo";
6666
#clock-cells = <0>;
6767
clock-frequency = <DT_FREQ_M(32)>;
68+
startup-time-us = <1650>;
6869
};
6970

7071
hfpll: hfpll {

0 commit comments

Comments
 (0)