Skip to content

Commit

Permalink
riscv: dts: fu740: fix cache-controller interrupts
Browse files Browse the repository at this point in the history
The order of interrupt numbers is incorrect.

The order for FU740 is: DirError, DataError, DataFail, DirFail

From SiFive FU740-C000 Manual:
19 - L2 Cache DirError
20 - L2 Cache DirFail
21 - L2 Cache DataError
22 - L2 Cache DataFail

Signed-off-by: David Abdurachmanov <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
David Abdurachmanov authored and palmer-dabbelt committed Jun 19, 2021
1 parent 3a02764 commit 7ede12b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv/boot/dts/sifive/fu740-c000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
cache-size = <2097152>;
cache-unified;
interrupt-parent = <&plic0>;
interrupts = <19 20 21 22>;
interrupts = <19 21 22 20>;
reg = <0x0 0x2010000 0x0 0x1000>;
};
gpio: gpio@10060000 {
Expand Down

0 comments on commit 7ede12b

Please sign in to comment.