1/* 2 * Copyright (c) 2022 Marcin Niestroj 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6&pinctrl { 7 uart0_default: uart0_default { 8 group1 { 9 psels = <NRF_PSEL(UART_TX, 1, 11)>; 10 }; 11 group2 { 12 psels = <NRF_PSEL(UART_RX, 1, 12)>; 13 bias-pull-up; 14 }; 15 }; 16 17 uart0_sleep: uart0_sleep { 18 group1 { 19 psels = <NRF_PSEL(UART_TX, 1, 11)>, 20 <NRF_PSEL(UART_RX, 1, 12)>; 21 low-power-enable; 22 }; 23 }; 24 25 i2c0_default: i2c0_default { 26 group1 { 27 psels = <NRF_PSEL(TWIM_SDA, 0, 7)>, 28 <NRF_PSEL(TWIM_SCL, 0, 27)>; 29 }; 30 }; 31 32 i2c0_sleep: i2c0_sleep { 33 group1 { 34 psels = <NRF_PSEL(TWIM_SDA, 0, 7)>, 35 <NRF_PSEL(TWIM_SCL, 0, 27)>; 36 low-power-enable; 37 }; 38 }; 39 40 i2c1_default: i2c1_default { 41 group1 { 42 psels = <NRF_PSEL(TWIM_SDA, 0, 4)>, 43 <NRF_PSEL(TWIM_SCL, 0, 5)>; 44 }; 45 }; 46 47 i2c1_sleep: i2c1_sleep { 48 group1 { 49 psels = <NRF_PSEL(TWIM_SDA, 0, 4)>, 50 <NRF_PSEL(TWIM_SCL, 0, 5)>; 51 low-power-enable; 52 }; 53 }; 54 55 pdm0_default: pdm0_default { 56 group1 { 57 psels = <NRF_PSEL(PDM_CLK, 1, 00)>, 58 <NRF_PSEL(PDM_DIN, 0, 16)>; 59 }; 60 }; 61 62 pdm0_sleep: pdm0_sleep { 63 group1 { 64 psels = <NRF_PSEL(PDM_CLK, 1, 00)>, 65 <NRF_PSEL(PDM_DIN, 0, 16)>; 66 low-power-enable; 67 }; 68 }; 69 70 pwm0_default: pwm0_default { 71 group1 { 72 psels = <NRF_PSEL(PWM_OUT0, 0, 17)>; 73 nordic,invert; 74 }; 75 }; 76 77 pwm0_sleep: pwm0_sleep { 78 group1 { 79 psels = <NRF_PSEL(PWM_OUT0, 0, 17)>; 80 low-power-enable; 81 }; 82 }; 83 84 spi2_default: spi2_default { 85 group1 { 86 psels = <NRF_PSEL(SPIM_SCK, 1, 13)>, 87 <NRF_PSEL(SPIM_MOSI, 1, 15)>, 88 <NRF_PSEL(SPIM_MISO, 1, 14)>; 89 }; 90 }; 91 92 spi2_sleep: spi2_sleep { 93 group1 { 94 psels = <NRF_PSEL(SPIM_SCK, 1, 13)>, 95 <NRF_PSEL(SPIM_MOSI, 1, 15)>, 96 <NRF_PSEL(SPIM_MISO, 1, 14)>; 97 low-power-enable; 98 }; 99 }; 100 101 spi3_default: spi3_default { 102 group1 { 103 psels = <NRF_PSEL(SPIM_SCK, 0, 21)>, 104 <NRF_PSEL(SPIM_MOSI, 0, 20)>, 105 <NRF_PSEL(SPIM_MISO, 0, 24)>; 106 }; 107 }; 108 109 spi3_sleep: spi3_sleep { 110 group1 { 111 psels = <NRF_PSEL(SPIM_SCK, 0, 21)>, 112 <NRF_PSEL(SPIM_MOSI, 0, 20)>, 113 <NRF_PSEL(SPIM_MISO, 0, 24)>; 114 low-power-enable; 115 }; 116 }; 117 118 qspi_default: qspi_default { 119 group1 { 120 psels = <NRF_PSEL(QSPI_SCK, 0, 21)>, 121 <NRF_PSEL(QSPI_IO0, 0, 20)>, 122 <NRF_PSEL(QSPI_IO1, 0, 24)>, 123 <NRF_PSEL(QSPI_IO2, 0, 22)>, 124 <NRF_PSEL(QSPI_IO3, 0, 23)>, 125 <NRF_PSEL(QSPI_CSN, 0, 25)>; 126 }; 127 }; 128 129 qspi_sleep: qspi_sleep { 130 group1 { 131 psels = <NRF_PSEL(QSPI_SCK, 0, 21)>, 132 <NRF_PSEL(QSPI_IO0, 0, 20)>, 133 <NRF_PSEL(QSPI_IO1, 0, 24)>, 134 <NRF_PSEL(QSPI_IO2, 0, 22)>, 135 <NRF_PSEL(QSPI_IO3, 0, 23)>; 136 low-power-enable; 137 }; 138 group2 { 139 psels = <NRF_PSEL(QSPI_CSN, 0, 25)>; 140 low-power-enable; 141 bias-pull-up; 142 }; 143 }; 144}; 145