1/* 2 * Copyright (c) 2021 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 board-control { 9 nrf_interface_pin_9_routing: switch-nrf-if9-ctrl { 10 compatible = "nordic,nrf9160dk-optional-routing"; 11 control-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 12 status = "disabled"; 13 }; 14 15 io_expander_pins_routing: switch-io-exp-en { 16 compatible = "nordic,nrf9160dk-optional-routing"; 17 control-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 18 status = "disabled"; 19 }; 20 21 external_flash_pins_routing: switch-ext-mem-ctrl { 22 compatible = "nordic,nrf9160dk-optional-routing"; 23 control-gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>; 24 status = "okay"; 25 }; 26 }; 27}; 28 29&interface_to_nrf9160 { 30 gpio-map = <0 0 &gpio0 17 0>, 31 <1 0 &gpio0 20 0>, 32 <2 0 &gpio0 15 0>, 33 <3 0 &gpio0 22 0>, 34 <4 0 &gpio1 4 0>, 35 <5 0 &gpio1 2 0>, 36 <6 0 &gpio1 13 0>, 37 <7 0 &gpio1 11 0>, 38 <8 0 &gpio1 15 0>, 39 /* New signal added in this revision (0.14.0). */ 40 <9 0 &gpio0 18 0>; /* nReset */ 41}; 42 43&vcom2_pins_routing { 44 /* No need to drive P0.12 together with P1.12 in this board revision. */ 45 control-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; 46}; 47 48&reset_input { 49 /* By default use the dedicated connection to the nRESET (P0.18) pin. */ 50 gpios = <&interface_to_nrf9160 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 51}; 52