riscv: dts: fu740: fix cache-controller interrupts
authorDavid Abdurachmanov <david.abdurachmanov@sifive.com>
Sun, 13 Jun 2021 00:43:57 +0000 (17:43 -0700)
committerSasha Levin <sashal@kernel.org>
Wed, 30 Jun 2021 12:47:02 +0000 (08:47 -0400)
[ Upstream commit 7ede12b01b59dc67bef2e2035297dd2da5bfe427 ]

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 <david.abdurachmanov@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/boot/dts/sifive/fu740-c000.dtsi

index eeb4f8c3e0e72340372b8ff745cabdebf65982e1..d0d206cdb9990f0e55cec46a4b56fee1a077a23d 100644 (file)
                        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 {