Skip to content

Commit 6f97928

Browse files
le-quang168tiennguyenzg
authored andcommitted
soc: renesas: Retrieve SYS_CLOCK_HW_CYCLES_PER_SEC from dts
Retrieve the value of SYS_CLOCK_HW_CYCLES_PER_SEC from the osc node in the RZ/N2L, T2M devicetree. Signed-off-by: Quang Le <[email protected]> Signed-off-by: Tien Nguyen <[email protected]>
1 parent 82def86 commit 6f97928

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

soc/renesas/rz/rzn2l/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ config NUM_IRQS
77
default 480
88

99
config SYS_CLOCK_HW_CYCLES_PER_SEC
10-
default 25000000
10+
default $(dt_node_int_prop_int,/osc,clock-frequency)
1111

1212
config FPU
1313
default y

soc/renesas/rz/rzt2m/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ config NUM_IRQS
88
default 480
99

1010
config SYS_CLOCK_HW_CYCLES_PER_SEC
11-
default 25000000
11+
default $(dt_node_int_prop_int,/osc,clock-frequency)
1212

1313
config FPU
1414
default y

0 commit comments

Comments
 (0)