1# Copyright (c) 2021 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4# NOTE: This file is replicated in nrf9160dk_nrf9160 and nrf9160dk_nrf52840. 5# Any changes should be done in both instances. 6 7description: | 8 nRF9160 DK GPIO interface between nRF9160 and nRF52840 9 10 This interface can be used for inter-SoC communication on the DK. 11 The connections are as follows: 12 13 | nRF9160 | | nRF52840 | 14 | P0.17 | -- nRF interface line 0 -- | P0.17 | 15 | P0.18 | -- nRF interface line 1 -- | P0.20 | 16 | P0.19 | -- nRF interface line 2 -- | P0.15 | 17 | P0.21 | -- nRF interface line 3 -- | P0.22 | 18 | P0.22 | -- nRF interface line 4 -- | P1.04 | 19 | P0.23 | -- nRF interface line 5 -- | P1.02 | 20 | COEX0 | -- nRF interface line 6 -- | P1.13 | 21 | COEX1 | -- nRF interface line 7 -- | P1.11 | 22 | COEX2 | -- nRF interface line 8 -- | P1.15 | 23 | P0.24 | -- nRF interface line 9 -- | P0.18 (nRESET) | (in v0.14.0 or later) 24 25 Before particular lines of this interface can be used, the corresponding 26 analog switches that control the routing of involved nRF9160 pins must be 27 configured to provide the optional routing (i.e. to nRF52840). To achieve 28 this, set the status of respective devicetree nodes in the firmware for 29 the nrf9160dk_nrf52840 board to "okay": 30 - `nrf_interface_pins_0_2_routing` to enable lines 0-2 31 - `nrf_interface_pins_3_5_routing` to enable lines 3-5 32 - `nrf_interface_pins_6_8_routing` to enable lines 6-8 33 - `nrf_interface_pin_9_routing` to enable line 9 (this line is only 34 available in nRF9160 DK v0.14.0 or later) 35 36 NOTE: In nRF9160 DK revisions earlier than v0.14.0, when the above signals 37 from nRF9160 are routed to nRF52840, they are not available on the DK 38 connectors. 39 40compatible: "nordic,nrf9160dk-nrf52840-interface" 41 42include: [gpio-nexus.yaml, base.yaml] 43