Commit c7b36517 authored by Jakub Zymelka's avatar Jakub Zymelka Committed by Anas Nashif
Browse files

dts: nordic: nrf54l15: Add mbox VEVIF nodes



Add a mbox VEVIF nodes to be used for communicating FLPR -> APP.

Signed-off-by: default avatarJakub Zymelka <jakub.zymelka@nordicsemi.no>
parent bace4a10
Loading
Loading
Loading
Loading
+21 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
cpu: &cpuapp {};
systick: &cpuapp_systick {};
nvic: &cpuapp_nvic {};
cpuflpr_vevif: &cpuflpr_vevif_remote {};

/delete-node/ &cpuflpr;
/delete-node/ &cpuflpr_rram;
@@ -37,6 +36,27 @@ cpuflpr_vevif: &cpuflpr_vevif_remote {};
	status = "okay";
};

&cpuflpr_vpr {
	cpuapp_vevif_rx: mailbox@1 {
		compatible = "nordic,nrf-vevif-event-rx";
		reg = <0x0 0x1000>;
		status = "disabled";
		interrupts = <76 NRF_DEFAULT_IRQ_PRIORITY>;
		#mbox-cells = <1>;
		nordic,events = <1>;
		nordic,events-mask = <0x00008000>;
	};

	cpuapp_vevif_tx: mailbox@0 {
		compatible = "nordic,nrf-vevif-task-tx";
		reg = <0x0 0x1000>;
		#mbox-cells = <1>;
		nordic,tasks = <7>;
		nordic,tasks-mask = <0x0003f800>;
		status = "disabled";
	};
};

&cpuapp_ppb {
	compatible = "simple-bus";
	ranges;
+0 −50
Original line number Diff line number Diff line
@@ -42,47 +42,6 @@
			clock-frequency = <DT_FREQ_M(128)>;
			riscv,isa = "rv32emc";
			nordic,bus-width = <32>;

			cpuflpr_vevif_local: mailbox {
				compatible = "nordic,nrf-vevif-local";
				status = "disabled";
				interrupt-parent = <&cpuflpr_clic>;
				interrupts = <0 NRF_DEFAULT_IRQ_PRIORITY>,
							<1 NRF_DEFAULT_IRQ_PRIORITY>,
							<2 NRF_DEFAULT_IRQ_PRIORITY>,
							<3 NRF_DEFAULT_IRQ_PRIORITY>,
							<4 NRF_DEFAULT_IRQ_PRIORITY>,
							<5 NRF_DEFAULT_IRQ_PRIORITY>,
							<6 NRF_DEFAULT_IRQ_PRIORITY>,
							<7 NRF_DEFAULT_IRQ_PRIORITY>,
							<8 NRF_DEFAULT_IRQ_PRIORITY>,
							<9 NRF_DEFAULT_IRQ_PRIORITY>,
							<10 NRF_DEFAULT_IRQ_PRIORITY>,
							<11 NRF_DEFAULT_IRQ_PRIORITY>,
							<12 NRF_DEFAULT_IRQ_PRIORITY>,
							<13 NRF_DEFAULT_IRQ_PRIORITY>,
							<14 NRF_DEFAULT_IRQ_PRIORITY>,
							<15 NRF_DEFAULT_IRQ_PRIORITY>,
							<16 NRF_DEFAULT_IRQ_PRIORITY>,
							<17 NRF_DEFAULT_IRQ_PRIORITY>,
							<18 NRF_DEFAULT_IRQ_PRIORITY>,
							<19 NRF_DEFAULT_IRQ_PRIORITY>,
							<20 NRF_DEFAULT_IRQ_PRIORITY>,
							<21 NRF_DEFAULT_IRQ_PRIORITY>,
							<22 NRF_DEFAULT_IRQ_PRIORITY>,
							<23 NRF_DEFAULT_IRQ_PRIORITY>,
							<24 NRF_DEFAULT_IRQ_PRIORITY>,
							<25 NRF_DEFAULT_IRQ_PRIORITY>,
							<26 NRF_DEFAULT_IRQ_PRIORITY>,
							<27 NRF_DEFAULT_IRQ_PRIORITY>,
							<28 NRF_DEFAULT_IRQ_PRIORITY>,
							<29 NRF_DEFAULT_IRQ_PRIORITY>,
							<30 NRF_DEFAULT_IRQ_PRIORITY>,
							<31 NRF_DEFAULT_IRQ_PRIORITY>;
				#mbox-cells = <1>;
				nordic,tasks = <18>;
				nordic,tasks-mask = <0x007f0000>;
			};
		};
	};

@@ -186,15 +145,6 @@
				#size-cells = <1>;
				status = "disabled";

				cpuflpr_vevif_remote: mailbox@0 {
					compatible = "nordic,nrf-vevif-remote";
					reg = <0x0 0x1000>;
					#mbox-cells = <1>;
					nordic,tasks = <18>;
					nordic,tasks-mask = <0x007f0000>;
					status = "disabled";
				};

				cpuflpr_clic: interrupt-controller@f0000000 {
					compatible = "nordic,nrf-clic";
					reg = <0xf0000000 0x1780>;
+28 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@

cpu: &cpuflpr {};
clic: &cpuflpr_clic {};
cpuflpr_vevif: &cpuflpr_vevif_local {};

/delete-node/ &cpuapp;
/delete-node/ &cpuapp_rram;
@@ -23,6 +22,34 @@ cpuflpr_vevif: &cpuflpr_vevif_local {};
	};
};

&cpuflpr {
	cpuflpr_vevif_rx: mailbox {
		compatible = "nordic,nrf-vevif-task-rx";
		status = "disabled";
		interrupt-parent = <&cpuflpr_clic>;
		interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>,
			     <12 NRF_DEFAULT_IRQ_PRIORITY>,
			     <13 NRF_DEFAULT_IRQ_PRIORITY>,
			     <14 NRF_DEFAULT_IRQ_PRIORITY>,
			     <15 NRF_DEFAULT_IRQ_PRIORITY>,
			     <16 NRF_DEFAULT_IRQ_PRIORITY>,
			     <17 NRF_DEFAULT_IRQ_PRIORITY>;
		#mbox-cells = <1>;
		nordic,tasks = <7>;
		nordic,tasks-mask = <0x0003f800>;
	};
};

&cpuflpr_vpr {
	cpuflpr_vevif_tx: mailbox {
		compatible = "nordic,nrf-vevif-event-tx";
		#mbox-cells = <1>;
		nordic,events = <1>;
		nordic,events-mask = <0x00008000>;
		status = "disabled";
	};
};

&cpuflpr_clic {
	status = "okay";
};
+1 −1
Original line number Diff line number Diff line
@@ -7,6 +7,6 @@
	status = "okay";
};

&cpuflpr_vevif_remote {
&cpuapp_vevif_tx {
	status = "okay";
};
+1 −1
Original line number Diff line number Diff line
@@ -7,6 +7,6 @@
	status = "okay";
};

&cpuflpr_vevif_remote {
&cpuapp_vevif_tx {
	status = "okay";
};