|
| 1 | +/* |
| 2 | + * Copyright (c) 2024 Nordic Semiconductor ASA |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause |
| 5 | + */ |
| 6 | + |
| 7 | +/ { |
| 8 | + soc { |
| 9 | + reserved-memory { |
| 10 | + #address-cells = <1>; |
| 11 | + #size-cells = <1>; |
| 12 | + |
| 13 | + cpuflpr_code_partition: image@17a000 { |
| 14 | + reg = <0x17a000 DT_SIZE_K(12)>; |
| 15 | + }; |
| 16 | + |
| 17 | + sram_rx: memory@2003c000 { |
| 18 | + reg = <0x2003c000 0x0800>; |
| 19 | + }; |
| 20 | + |
| 21 | + sram_tx: memory@2003c800 { |
| 22 | + reg = <0x2003c800 0x0800>; |
| 23 | + }; |
| 24 | + }; |
| 25 | + |
| 26 | + |
| 27 | + cpuflpr_sram_code_data: memory@2003d000 { |
| 28 | + compatible = "mmio-sram"; |
| 29 | + reg = <0x2003d000 DT_SIZE_K(12)>; |
| 30 | + #address-cells = <1>; |
| 31 | + #size-cells = <1>; |
| 32 | + ranges = <0x0 0x2003d000 0x3000>; |
| 33 | + }; |
| 34 | + }; |
| 35 | + |
| 36 | + ipc { |
| 37 | + ipc0: ipc0 { |
| 38 | + compatible = "zephyr,ipc-icmsg"; |
| 39 | + tx-region = <&sram_tx>; |
| 40 | + rx-region = <&sram_rx>; |
| 41 | + mboxes = <&cpuapp_vevif_rx 20>, <&cpuapp_vevif_tx 16>; |
| 42 | + mbox-names = "rx", "tx"; |
| 43 | + status = "okay"; |
| 44 | + }; |
| 45 | + }; |
| 46 | +}; |
| 47 | + |
| 48 | +&cpuapp_rram { |
| 49 | + reg = <0x0 DT_SIZE_K(1512)>; |
| 50 | +}; |
| 51 | + |
| 52 | +&cpuapp_sram { |
| 53 | + reg = <0x20000000 DT_SIZE_K(244)>; |
| 54 | + ranges = <0x0 0x20000000 0x3d000>; |
| 55 | +}; |
| 56 | + |
| 57 | +&cpuflpr_vpr { |
| 58 | + execution-memory = <&cpuflpr_sram_code_data>; |
| 59 | + source-memory = <&cpuflpr_code_partition>; |
| 60 | +}; |
| 61 | + |
| 62 | +&gpio2 { |
| 63 | + status = "okay"; |
| 64 | +}; |
| 65 | + |
| 66 | +&cpuapp_vevif_rx { |
| 67 | + status = "okay"; |
| 68 | +}; |
| 69 | + |
| 70 | +&cpuapp_vevif_tx { |
| 71 | + status = "okay"; |
| 72 | +}; |
| 73 | + |
| 74 | +&pinctrl { |
| 75 | + /omit-if-no-ref/ sdp_mspi_default: sdp_mspi_default { |
| 76 | + group1 { |
| 77 | + psels = <NRF_PSEL(SDP_MSPI_SCK, 2, 1)>, |
| 78 | + <NRF_PSEL(SDP_MSPI_DQ0, 2, 2)>, |
| 79 | + <NRF_PSEL(SDP_MSPI_DQ1, 2, 4)>, |
| 80 | + <NRF_PSEL(SDP_MSPI_DQ2, 2, 3)>, |
| 81 | + <NRF_PSEL(SDP_MSPI_DQ3, 2, 0)>; |
| 82 | + nordic,drive-mode = <NRF_DRIVE_H0H1>; |
| 83 | + }; |
| 84 | + }; |
| 85 | + /omit-if-no-ref/ sdp_mspi_sleep: sdp_mspi_sleep { |
| 86 | + group1 { |
| 87 | + psels = <NRF_PSEL(SDP_MSPI_SCK, 2, 1)>, |
| 88 | + <NRF_PSEL(SDP_MSPI_DQ0, 2, 2)>, |
| 89 | + <NRF_PSEL(SDP_MSPI_DQ1, 2, 4)>, |
| 90 | + <NRF_PSEL(SDP_MSPI_DQ2, 2, 3)>, |
| 91 | + <NRF_PSEL(SDP_MSPI_DQ3, 2, 0)>; |
| 92 | + low-power-enable; |
| 93 | + }; |
| 94 | + }; |
| 95 | +}; |
| 96 | + |
| 97 | +&sdp_mspi { |
| 98 | + clock-frequency = <DT_FREQ_M(48)>; |
| 99 | + pinctrl-0 = <&sdp_mspi_default>; |
| 100 | + pinctrl-1 = <&sdp_mspi_sleep>; |
| 101 | + pinctrl-names = "default", "sleep"; |
| 102 | + ce-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; |
| 103 | + status = "okay"; |
| 104 | +}; |
0 commit comments