From: Torsten Duwe Date: Mon, 14 Aug 2023 16:05:33 +0000 (+0200) Subject: riscv: jh7110: enable riscv,timer in the device tree X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~16^2~9 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=9eb732d9850622c6510923fc2e6b5af7bf5bdb30;p=uboot.git riscv: jh7110: enable riscv,timer in the device tree The JH7110 has the arhitectural CPU timer on all 5 rv64 cores. Note that in the device tree. Signed-off-by: Torsten Duwe Reviewed-by: Leo Yu-Chi Liang --- diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi index 081b833331..ec237a46ff 100644 --- a/arch/riscv/dts/jh7110.dtsi +++ b/arch/riscv/dts/jh7110.dtsi @@ -163,6 +163,15 @@ }; }; + timer { + compatible = "riscv,timer"; + interrupts-extended = <&cpu0_intc 5>, + <&cpu1_intc 5>, + <&cpu2_intc 5>, + <&cpu3_intc 5>, + <&cpu4_intc 5>; + }; + osc: oscillator { compatible = "fixed-clock"; clock-output-names = "osc";