Skip to content

Commit 53abf98

Browse files
geertupalmer-dabbelt
authored andcommitted
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: Geert Uytterhoeven <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Tested-by: Conor Dooley <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 53ef073 commit 53abf98

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,17 @@
168168
};
169169

170170
plic: interrupt-controller@c000000 {
171-
#interrupt-cells = <1>;
172171
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
173172
reg = <0x0 0xc000000 0x0 0x4000000>;
174-
riscv,ndev = <186>;
173+
#address-cells = <0>;
174+
#interrupt-cells = <1>;
175175
interrupt-controller;
176176
interrupts-extended = <&cpu0_intc 11
177177
&cpu1_intc 11 &cpu1_intc 9
178178
&cpu2_intc 11 &cpu2_intc 9
179179
&cpu3_intc 11 &cpu3_intc 9
180180
&cpu4_intc 11 &cpu4_intc 9>;
181+
riscv,ndev = <186>;
181182
};
182183

183184
dma@3000000 {

0 commit comments

Comments
 (0)