]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: dts: canaan: fix the k210's timer nodes
authorConor Dooley <conor.dooley@microchip.com>
Tue, 5 Jul 2022 21:52:07 +0000 (22:52 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 14 Jul 2022 21:57:42 +0000 (14:57 -0700)
commitca71873f2e18f25979e38aab84999ca8aa35a243
tree49a5819316bc6f0de49a672aa2b774aab0b0064d
parent574cd7d8cf830b6d5e8e621de5567bbf43446209
riscv: dts: canaan: fix the k210's timer nodes

The timers on the k210 have non standard interrupt configurations,
which leads to dtbs_check warnings:

k210_generic.dtb: timer@502d0000: interrupts: [[14], [15]] is too long
From schema: Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml

Split the timer nodes in two, so that the second timer in the IP block
can actually be accessed & in the process solve the dtbs_check warning.

Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220705215213.1802496-7-mail@conchuod.ie
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/canaan/k210.dtsi