projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39f8f7
)
riscv: jh7110: enable riscv,timer in the device tree
author
Torsten Duwe
<duwe@lst.de>
Mon, 14 Aug 2023 16:05:33 +0000
(18:05 +0200)
committer
Leo Yu-Chi Liang
<ycliang@andestech.com>
Tue, 5 Sep 2023 02:53:36 +0000
(10:53 +0800)
The JH7110 has the arhitectural CPU timer on all 5 rv64 cores.
Note that in the device tree.
Signed-off-by: Torsten Duwe <duwe@suse.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/dts/jh7110.dtsi
patch
|
blob
|
history
diff --git
a/arch/riscv/dts/jh7110.dtsi
b/arch/riscv/dts/jh7110.dtsi
index
081b833
..
ec237a4
100644
(file)
--- 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";