summaryrefslogtreecommitdiff
path: root/bsp/coreip-s51-arty
diff options
context:
space:
mode:
authorBunnaroath Sou <bsou@sifive.com>2019-03-18 12:58:11 -0700
committerBunnaroath Sou <bsou@sifive.com>2019-03-18 12:58:11 -0700
commit0fe5ca97956cc15effd0c459a81c8caacbc80ac3 (patch)
treead49ff7afc82f2ae691b8ebea1f8f88ae806b14c /bsp/coreip-s51-arty
parent6695a994b01585ae3dce0e492de3c4e3feb2ae4f (diff)
Update Arty clock to reflects HW
Diffstat (limited to 'bsp/coreip-s51-arty')
-rw-r--r--bsp/coreip-s51-arty/design.dts2
-rw-r--r--bsp/coreip-s51-arty/metal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/coreip-s51-arty/design.dts b/bsp/coreip-s51-arty/design.dts
index 137e7d8..7d8e0d2 100644
--- a/bsp/coreip-s51-arty/design.dts
+++ b/bsp/coreip-s51-arty/design.dts
@@ -28,7 +28,7 @@
sifive,dtim = <&L6>;
sifive,itim = <&L5>;
status = "okay";
- timebase-frequency = <1000000>;
+ timebase-frequency = <65000000>;
hardware-exec-breakpoint-count = <4>;
L4: interrupt-controller {
#interrupt-cells = <1>;
diff --git a/bsp/coreip-s51-arty/metal.h b/bsp/coreip-s51-arty/metal.h
index 304f5b0..ca81d85 100644
--- a/bsp/coreip-s51-arty/metal.h
+++ b/bsp/coreip-s51-arty/metal.h
@@ -169,7 +169,7 @@ struct __metal_driver_riscv_clint0 __metal_dt_clint_2000000 = {
struct __metal_driver_cpu __metal_dt_cpu_0 = {
.vtable = &__metal_driver_vtable_cpu,
.cpu.vtable = &__metal_driver_vtable_cpu.cpu_vtable,
- .timebase = 1000000UL,
+ .timebase = 65000000UL,
.interrupt_controller = &__metal_dt_interrupt_controller.controller,
};