Skip to content

Commit 8231941

Browse files
Ajay Neelikartben
authored andcommitted
boards: amd: kv260_r5: update ttc0 clock frequency
- Update TTC0 clock frequency to 100MHz to align with the Configurable Example Designs (CED) for kv260 board as used in Vivado. - Add support for deriving SYS_CLOCK_HW_CYCLES_PER_SEC from Device Tree Signed-off-by: Ajay Neeli <[email protected]>
1 parent 6fcb3ff commit 8231941

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards/amd/kv260_r5/kv260_r5.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
&ttc0 {
4747
status = "okay";
48-
clock-frequency = <5000000>;
48+
clock-frequency = <100000000>;
4949
};
5050

5151
&psgpio {

soc/xlnx/zynqmp/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ config NUM_IRQS
1212
default 220
1313

1414
config SYS_CLOCK_HW_CYCLES_PER_SEC
15-
default 5000000
15+
default $(dt_nodelabel_int_prop,ttc0,clock-frequency)
1616

1717
endif # SOC_XILINX_ZYNQMP_RPU
1818

0 commit comments

Comments
 (0)