Skip to content

Commit 6d6c87b

Browse files
jimmyzhecarlescufi
authored andcommitted
dts: riscv: andes: rename plic-sw node to interrupt controller
The plic-sw is the same hardware as the plic interrupt contoller and should be used with intc_plic driver instead of separate mbox driver. Renamed plic-sw node from "mbox: mbox-controller@e6400000" to "plic_sw: interrupt-controller@e6400000". Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
1 parent da99144 commit 6d6c87b

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

dts/riscv/andes/andes_v5_ae350.dtsi

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,20 @@
179179
&cpu6_intc 11 &cpu7_intc 11>;
180180
};
181181

182-
mbox: mbox-controller@e6400000 {
183-
compatible = "andestech,plic-sw";
184-
reg = <0xe6400000 0x00400000>;
185-
#mbox-cells = <1>;
186-
channel-max = <30>;
187-
status = "okay";
182+
plic_sw: interrupt-controller@e6400000 {
183+
compatible = "sifive,plic-1.0.0", "andestech,nceplic100";
184+
#address-cells = <1>;
185+
#interrupt-cells = <2>;
186+
interrupt-controller;
187+
reg = <0xe6400000 0x04000000>;
188+
riscv,max-priority = <255>;
189+
riscv,ndev = <1023>;
190+
interrupts-extended = <&cpu0_intc 3 &cpu1_intc 3
191+
&cpu2_intc 3 &cpu3_intc 3
192+
&cpu4_intc 3 &cpu5_intc 3
193+
&cpu6_intc 3 &cpu7_intc 3>;
194+
195+
#size-cells = <0>;
188196
};
189197

190198
mtimer: timer@e6000000 {

0 commit comments

Comments
 (0)