1/* 2 * Copyright (c) 2022 Benjamin Björnsson <benjamin.bjornsson@gmail.com>. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&pinctrl { 8 uart0_default: uart0_default { 9 group1 { 10 psels = <NRF_PSEL(UART_TX, 0, 20)>, 11 <NRF_PSEL(UART_RX, 0, 9)>; 12 }; 13 }; 14 15 uart0_sleep: uart0_sleep { 16 group1 { 17 psels = <NRF_PSEL(UART_TX, 0, 20)>, 18 <NRF_PSEL(UART_RX, 0, 9)>; 19 low-power-enable; 20 }; 21 }; 22 23 i2c0_default: i2c0_default { 24 group1 { 25 psels = <NRF_PSEL(TWIM_SDA, 0, 15)>, 26 <NRF_PSEL(TWIM_SCL, 0, 16)>; 27 }; 28 }; 29 30 i2c0_sleep: i2c0_sleep { 31 group1 { 32 psels = <NRF_PSEL(TWIM_SDA, 0, 15)>, 33 <NRF_PSEL(TWIM_SCL, 0, 16)>; 34 low-power-enable; 35 }; 36 }; 37 38 i2c1_default: i2c1_default { 39 group1 { 40 psels = <NRF_PSEL(TWIM_SDA, 0, 22)>, 41 <NRF_PSEL(TWIM_SCL, 0, 23)>; 42 }; 43 }; 44 45 i2c1_sleep: i2c1_sleep { 46 group1 { 47 psels = <NRF_PSEL(TWIM_SDA, 0, 22)>, 48 <NRF_PSEL(TWIM_SCL, 0, 23)>; 49 low-power-enable; 50 }; 51 }; 52 53 spi1_default: spi1_default { 54 group1 { 55 psels = <NRF_PSEL(SPIM_SCK, 0, 11)>, 56 <NRF_PSEL(SPIM_MOSI, 0, 27)>, 57 <NRF_PSEL(SPIM_MISO, 0, 28)>; 58 }; 59 }; 60 61 spi1_sleep: spi1_sleep { 62 group1 { 63 psels = <NRF_PSEL(SPIM_SCK, 0, 11)>, 64 <NRF_PSEL(SPIM_MOSI, 0, 27)>, 65 <NRF_PSEL(SPIM_MISO, 0, 28)>; 66 low-power-enable; 67 }; 68 }; 69 70 spi2_default: spi2_default { 71 group1 { 72 psels = <NRF_PSEL(SPIM_SCK, 0, 3)>, 73 <NRF_PSEL(SPIM_MOSI, 0, 4)>, 74 <NRF_PSEL(SPIM_MISO, 0, 5)>; 75 }; 76 }; 77 78 spi2_sleep: spi2_sleep { 79 group1 { 80 psels = <NRF_PSEL(SPIM_SCK, 0, 3)>, 81 <NRF_PSEL(SPIM_MOSI, 0, 4)>, 82 <NRF_PSEL(SPIM_MISO, 0, 5)>; 83 low-power-enable; 84 }; 85 }; 86}; 87