riscv: ae350: dts: Fix #interrupt-cells for plic0 in 32-bit
authorBin Meng <bmeng.cn@gmail.com>
Fri, 4 Jun 2021 05:51:12 +0000 (13:51 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 17 Jun 2021 01:39:08 +0000 (09:39 +0800)
All the device nodes that refer to plic0 as their interrupt parent
have 2 cells encoded in their interrupts property, but plic0 only
provides 1 cell in #interrupt-cells which is incorrect.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/dts/ae350_32.dts

index 0917b83..7057684 100644 (file)
 
                plic0: interrupt-controller@e4000000 {
                        compatible = "riscv,plic0";
-                       #interrupt-cells = <1>;
+                       #interrupt-cells = <2>;
                        interrupt-controller;
                        reg = <0xe4000000 0x2000000>;
                        riscv,ndev=<71>;