Skip to content

Commit 893eae9

Browse files
geertupalmer-dabbelt
authored andcommitted
riscv: dts: sifive: fu540-c000: 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]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8fc6e62 commit 893eae9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/riscv/boot/dts/sifive/fu540-c000.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,18 @@
140140
compatible = "simple-bus";
141141
ranges;
142142
plic0: interrupt-controller@c000000 {
143-
#interrupt-cells = <1>;
144143
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
145144
reg = <0x0 0xc000000 0x0 0x4000000>;
146-
riscv,ndev = <53>;
145+
#address-cells = <0>;
146+
#interrupt-cells = <1>;
147147
interrupt-controller;
148148
interrupts-extended =
149149
<&cpu0_intc 0xffffffff>,
150150
<&cpu1_intc 0xffffffff>, <&cpu1_intc 9>,
151151
<&cpu2_intc 0xffffffff>, <&cpu2_intc 9>,
152152
<&cpu3_intc 0xffffffff>, <&cpu3_intc 9>,
153153
<&cpu4_intc 0xffffffff>, <&cpu4_intc 9>;
154+
riscv,ndev = <53>;
154155
};
155156
prci: clock-controller@10000000 {
156157
compatible = "sifive,fu540-c000-prci";

0 commit comments

Comments
 (0)