riscv: dts: microchip: mpfs: Fix PLIC node
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 17 Dec 2021 12:49:25 +0000 (13:49 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 9 Jan 2022 18:11:11 +0000 (10:11 -0800)
Fix the device node for the Platform-Level Interrupt Controller (PLIC):
  - Add missing "#address-cells" property,
  - Sort properties according to DT bindings.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi

index 794da88..ee59751 100644 (file)
                };
 
                plic: interrupt-controller@c000000 {
-                       #interrupt-cells = <1>;
                        compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
                        reg = <0x0 0xc000000 0x0 0x4000000>;
-                       riscv,ndev = <186>;
+                       #address-cells = <0>;
+                       #interrupt-cells = <1>;
                        interrupt-controller;
                        interrupts-extended = <&cpu0_intc 11
                                        &cpu1_intc 11 &cpu1_intc 9
                                        &cpu2_intc 11 &cpu2_intc 9
                                        &cpu3_intc 11 &cpu3_intc 9
                                        &cpu4_intc 11 &cpu4_intc 9>;
+                       riscv,ndev = <186>;
                };
 
                dma@3000000 {