Commit 6d6c87b9 authored by Jimmy Zheng's avatar Jimmy Zheng Committed by Carles Cufi
Browse files

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: default avatarJimmy Zheng <jimmyzhe@andestech.com>
parent da991448
Loading
Loading
Loading
Loading
+14 −6
Changes for dts/riscv/andes/andes_v5_ae350.dtsi: 14 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -179,12 +179,20 @@
					       &cpu6_intc 11 &cpu7_intc 11>;
		};

		mbox: mbox-controller@e6400000 {
			compatible = "andestech,plic-sw";
			reg = <0xe6400000 0x00400000>;
			#mbox-cells = <1>;
			channel-max = <30>;
			status = "okay";
		plic_sw: interrupt-controller@e6400000 {
			compatible = "sifive,plic-1.0.0", "andestech,nceplic100";
			#address-cells = <1>;
			#interrupt-cells = <2>;
			interrupt-controller;
			reg = <0xe6400000 0x04000000>;
			riscv,max-priority = <255>;
			riscv,ndev = <1023>;
			interrupts-extended = <&cpu0_intc 3 &cpu1_intc 3
					       &cpu2_intc 3 &cpu3_intc 3
					       &cpu4_intc 3 &cpu5_intc 3
					       &cpu6_intc 3 &cpu7_intc 3>;

			#size-cells = <0>;
		};

		mtimer: timer@e6000000 {