Skip to content

Commit a208acf

Browse files
kettenispalmer-dabbelt
authored andcommitted
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: ec85362 ("RISC-V: Add initial StarFive JH7100 device tree") Signed-off-by: Mark Kettenis <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 2cfe9bb commit a208acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/boot/dts/starfive/jh7100.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
interrupt-controller;
131131
#address-cells = <0>;
132132
#interrupt-cells = <1>;
133-
riscv,ndev = <127>;
133+
riscv,ndev = <133>;
134134
};
135135

136136
clkgen: clock-controller@11800000 {

0 commit comments

Comments
 (0)