-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Nrfx 6118 add icbmsg to egpio #17321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b060d4a
5d47510
533b732
0b050df
f047771
2b59517
4267e9b
4b98781
1c37e62
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| /* | ||
| * Copyright (c) 2024 Nordic Semiconductor ASA | ||
| * | ||
| * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| */ | ||
|
|
||
| / { | ||
| soc { | ||
| reserved-memory { | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| sram_tx: memory@2003b800 { | ||
| reg = <0x2003b800 0x0800>; | ||
| }; | ||
|
|
||
| sram_rx: memory@2003c000 { | ||
| reg = <0x2003c000 0x0800>; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| ipc { | ||
| ipc0: ipc0 { | ||
| compatible = "zephyr,ipc-icbmsg"; | ||
| tx-region = <&sram_tx>; | ||
| rx-region = <&sram_rx>; | ||
| tx-blocks = <18>; | ||
| rx-blocks = <16>; | ||
| mboxes = <&cpuflpr_vevif_rx 16>, <&cpuflpr_vevif_tx 20>; | ||
| mbox-names = "rx", "tx"; | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| &cpuflpr_sram { | ||
| reg = <0x2003c800 DT_SIZE_K(14)>; | ||
| ranges = <0x0 0x2003c800 0x3800>; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| /* | ||
| * Copyright (c) 2024 Nordic Semiconductor ASA | ||
| * | ||
| * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| */ | ||
|
|
||
| / { | ||
| soc { | ||
| reserved-memory { | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| cpuflpr_code_partition: image@165000 { | ||
| /* FLPR core code partition */ | ||
| reg = <0x165000 DT_SIZE_K(96)>; | ||
| }; | ||
|
|
||
| sram_rx: memory@2003b800 { | ||
| reg = <0x2003b800 0x0800>; | ||
| }; | ||
|
|
||
| sram_tx: memory@2003c000 { | ||
| reg = <0x2003c000 0x0800>; | ||
| }; | ||
| }; | ||
|
|
||
|
|
||
| cpuflpr_sram_code_data: memory@2003c800 { | ||
| compatible = "mmio-sram"; | ||
| reg = <0x2003c800 DT_SIZE_K(14)>; | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
| ranges = <0x0 0x2003c800 0x3800>; | ||
| }; | ||
| }; | ||
|
|
||
| ipc { | ||
| ipc0: ipc0 { | ||
| compatible = "zephyr,ipc-icbmsg"; | ||
| tx-region = <&sram_tx>; | ||
| rx-region = <&sram_rx>; | ||
| tx-blocks = <16>; | ||
| rx-blocks = <18>; | ||
| mboxes = <&cpuapp_vevif_rx 20>, <&cpuapp_vevif_tx 16>; | ||
| mbox-names = "rx", "tx"; | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| &cpuapp_sram { | ||
| reg = <0x20000000 DT_SIZE_K(242)>; | ||
| ranges = <0x0 0x20000000 0x3d000>; | ||
| }; | ||
|
|
||
| &cpuflpr_vpr { | ||
| execution-memory = <&cpuflpr_sram_code_data>; | ||
| source-memory = <&cpuflpr_code_partition>; | ||
| }; | ||
|
|
||
| &gpio2 { | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| &cpuapp_vevif_rx { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &cpuapp_vevif_tx { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &egpio { | ||
| status = "okay"; | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /* Copyright (c) 2024 Nordic Semiconductor ASA | ||
| * | ||
| * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| */ | ||
|
|
||
| &cpuflpr_vpr { | ||
masz-nordic marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| status = "okay"; | ||
|
|
||
| egpio: gpio { | ||
| compatible = "nordic,nrfe-gpio"; | ||
| gpio-controller; | ||
| #gpio-cells = <0x2>; | ||
| ngpios = <0x10>; | ||
| status = "disabled"; | ||
| port = <0x2>; | ||
| }; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # | ||
|
||
| # Copyright (c) 2024 Nordic Semiconductor | ||
| # | ||
| # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| # | ||
|
|
||
| name: emulated-gpio-icbmsg | ||
| append: | ||
| EXTRA_DTC_OVERLAY_FILE: emulated-gpio.overlay | ||
|
|
||
| boards: | ||
| nrf54l15dk/nrf54l15/cpuapp: | ||
| append: | ||
| EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay | ||
Uh oh!
There was an error while loading. Please reload this page.