Browse Source
Update mbox sample configuration to work with production board and SoC. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>pull/77740/head
9 changed files with 125 additions and 0 deletions
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
/* |
||||
* Copyright 2024 Nordic Semiconductor ASA |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/ { |
||||
mbox-consumer { |
||||
compatible = "vnd,mbox-consumer"; |
||||
mboxes = <&cpuapp_vevif_rx 20>, <&cpuapp_vevif_tx 21>; |
||||
mbox-names = "rx", "tx"; |
||||
}; |
||||
}; |
||||
|
||||
&cpuapp_vevif_rx { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&cpuapp_vevif_tx { |
||||
status = "okay"; |
||||
}; |
@ -0,0 +1,24 @@
@@ -0,0 +1,24 @@
|
||||
/* |
||||
* Copyright 2024 Nordic Semiconductor ASA |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/ { |
||||
mbox-consumer { |
||||
compatible = "vnd,mbox-consumer"; |
||||
mboxes = <&cpuflpr_vevif_rx 21>, <&cpuflpr_vevif_tx 20>; |
||||
mbox-names = "rx", "tx"; |
||||
}; |
||||
}; |
||||
|
||||
&cpuflpr_vevif_rx { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&cpuflpr_vevif_tx { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&uart30 { |
||||
/delete-property/ hw-flow-control; |
||||
}; |
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
/* |
||||
* Copyright (c) 2024 Nordic Semiconductor |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/ { |
||||
soc { |
||||
reserved-memory { |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; |
||||
cpuflpr_code_partition: image@165000 { |
||||
/* FLPR core code partition */ |
||||
reg = <0x165000 DT_SIZE_K(96)>; |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&uart30 { |
||||
status = "reserved"; |
||||
}; |
||||
|
||||
&cpuflpr_vpr { |
||||
execution-memory = <&cpuflpr_code_partition>; |
||||
}; |
||||
|
||||
&cpuapp_vevif_tx { |
||||
status = "okay"; |
||||
}; |
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
/* |
||||
* Copyright (c) 2024 Nordic Semiconductor |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/ { |
||||
soc { |
||||
reserved-memory { |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; |
||||
cpuflpr_code_partition: image@165000 { |
||||
/* FLPR core code partition */ |
||||
reg = <0x165000 DT_SIZE_K(96)>; |
||||
}; |
||||
}; |
||||
|
||||
cpuflpr_sram_code_data: memory@20028000 { |
||||
compatible = "mmio-sram"; |
||||
reg = <0x20028000 DT_SIZE_K(96)>; |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; |
||||
ranges = <0x0 0x20028000 0x18000>; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&uart30 { |
||||
status = "reserved"; |
||||
}; |
||||
|
||||
&cpuapp_sram { |
||||
reg = <0x20000000 DT_SIZE_K(160)>; |
||||
ranges = <0x0 0x20000000 0x28000>; |
||||
}; |
||||
|
||||
&cpuflpr_vpr { |
||||
execution-memory = <&cpuflpr_sram_code_data>; |
||||
source-memory = <&cpuflpr_code_partition>; |
||||
}; |
||||
|
||||
&cpuapp_vevif_tx { |
||||
status = "okay"; |
||||
}; |
Loading…
Reference in new issue