Commit a208acf0 authored by Mark Kettenis's avatar Mark Kettenis Committed by Palmer Dabbelt

riscv: dts: starfive: correct number of external interrupts

The PLIC integrated on the Vic_U7_Core integrated on the StarFive
JH7100 SoC actually supports 133 external interrupts.  127 of these
are exposed to the outside world; the remainder are used by other
devices that are part of the core-complex such as the L2 cache
controller.  But all 133 interrupts are external interrupts as far
as the PLIC is concerned.  Fix the property so that the driver can
manage these additional interrupts, which is important since the
interrupts for the L2 cache controller are enabled by default.

Fixes: ec85362f ("RISC-V: Add initial StarFive JH7100 device tree")
Signed-off-by: default avatarMark Kettenis <kettenis@openbsd.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220707185529.19509-1-kettenis@openbsd.orgSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 2cfe9bbe
...@@ -130,7 +130,7 @@ plic: interrupt-controller@c000000 { ...@@ -130,7 +130,7 @@ plic: interrupt-controller@c000000 {
interrupt-controller; interrupt-controller;
#address-cells = <0>; #address-cells = <0>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
riscv,ndev = <127>; riscv,ndev = <133>;
}; };
clkgen: clock-controller@11800000 { clkgen: clock-controller@11800000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment