1/* 2 * PAN1781 EVB configuration 3 * 4 * Copyright (c) 2022 Panasonic Industrial Devices Europe GmbH 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7&pinctrl { 8 /* flow control cannot be used together with i2c0, 9 * so not added to uart0_default by default 10 */ 11 uart0_default: uart0_default { 12 group1 { 13 psels = <NRF_PSEL(UART_TX, 0, 6)>; 14 }; 15 group2 { 16 psels = <NRF_PSEL(UART_RX, 0, 8)>; 17 bias-pull-up; 18 }; 19 }; 20 21 /* flow control cannot be used together with i2c0, 22 * so not added to uart0_sleep by default 23 */ 24 uart0_sleep: uart0_sleep { 25 group1 { 26 psels = <NRF_PSEL(UART_TX, 0, 6)>, 27 <NRF_PSEL(UART_RX, 0, 8)>; 28 low-power-enable; 29 }; 30 }; 31 32 i2c0_default: i2c0_default { 33 group1 { 34 psels = <NRF_PSEL(TWIM_SDA, 0, 7)>, 35 <NRF_PSEL(TWIM_SCL, 0, 30)>; 36 }; 37 }; 38 39 i2c0_sleep: i2c0_sleep { 40 group1 { 41 psels = <NRF_PSEL(TWIM_SDA, 0, 7)>, 42 <NRF_PSEL(TWIM_SCL, 0, 30)>; 43 low-power-enable; 44 }; 45 }; 46 47 spi1_default: spi1_default { 48 group1 { 49 psels = <NRF_PSEL(SPIM_SCK, 0, 28)>, 50 <NRF_PSEL(SPIM_MISO, 0, 29)>, 51 <NRF_PSEL(SPIM_MOSI, 0, 20)>; 52 }; 53 }; 54 55 spi1_sleep: spi1_sleep { 56 group1 { 57 psels = <NRF_PSEL(SPIM_SCK, 0, 28)>, 58 <NRF_PSEL(SPIM_MISO, 0, 29)>, 59 <NRF_PSEL(SPIM_MOSI, 0, 20)>; 60 low-power-enable; 61 }; 62 }; 63 64}; 65