diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2021-03-30 01:31:19 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-30 07:34:47 +0200 |
commit | 705f8f520515f363d3e3af5acb56782fd19819db (patch) | |
tree | 5355e8f1cf5f7842b00afb020753f2c451186b91 /arch | |
parent | c93188955ea0c34e55f9e410e68ee69767bd2022 (diff) | |
download | barebox-705f8f520515f363d3e3af5acb56782fd19819db.tar.gz barebox-705f8f520515f363d3e3af5acb56782fd19819db.tar.xz |
RISC-V: erizo.dtsi: set timebase-frequency = <24000000>
This patch makes it possible to use drivers/clocksource/timer-riscv.c
with erizo. Without timebase-frequency initialized we have
this warning at startup:
RISC-V system with no 'timebase-frequency' in DTS
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/riscv/dts/erizo.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/dts/erizo.dtsi b/arch/riscv/dts/erizo.dtsi index e854a48ae5..228711bd69 100644 --- a/arch/riscv/dts/erizo.dtsi +++ b/arch/riscv/dts/erizo.dtsi @@ -20,6 +20,8 @@ #address-cells = <1>; #size-cells = <0>; + timebase-frequency = <24000000>; + cpu@0 { device_type = "cpu"; compatible = "cliffordwolf,picorv32", "riscv"; |