Commit 53abf980 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Palmer Dabbelt

riscv: dts: microchip: mpfs: Fix PLIC node

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Tested-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 53ef0732
...@@ -168,16 +168,17 @@ &cpu3_intc 3 &cpu3_intc 7 ...@@ -168,16 +168,17 @@ &cpu3_intc 3 &cpu3_intc 7
}; };
plic: interrupt-controller@c000000 { plic: interrupt-controller@c000000 {
#interrupt-cells = <1>;
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0"; compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
reg = <0x0 0xc000000 0x0 0x4000000>; reg = <0x0 0xc000000 0x0 0x4000000>;
riscv,ndev = <186>; #address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller; interrupt-controller;
interrupts-extended = <&cpu0_intc 11 interrupts-extended = <&cpu0_intc 11
&cpu1_intc 11 &cpu1_intc 9 &cpu1_intc 11 &cpu1_intc 9
&cpu2_intc 11 &cpu2_intc 9 &cpu2_intc 11 &cpu2_intc 9
&cpu3_intc 11 &cpu3_intc 9 &cpu3_intc 11 &cpu3_intc 9
&cpu4_intc 11 &cpu4_intc 9>; &cpu4_intc 11 &cpu4_intc 9>;
riscv,ndev = <186>;
}; };
dma@3000000 { dma@3000000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment