| /* |
| * Copyright (c) 2024 Jerónimo Agulló <jeronimoagullo97@gmail.com> |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| &pinctrl { |
| uart0_default: uart0_default { |
| group1 { |
| psels = <NRF_PSEL(UART_TX, 1, 3)>, |
| <NRF_PSEL(UART_RX, 1, 10)>, |
| <NRF_PSEL(UART_RTS, 1, 2)>, |
| <NRF_PSEL(UART_CTS, 1, 9)>; |
| }; |
| }; |
| |
| uart0_sleep: uart0_sleep { |
| group1 { |
| psels = <NRF_PSEL(UART_TX, 1, 3)>, |
| <NRF_PSEL(UART_RX, 1, 10)>, |
| <NRF_PSEL(UART_RTS, 1, 2)>, |
| <NRF_PSEL(UART_CTS, 1, 9)>; |
| low-power-enable; |
| }; |
| }; |
| |
| uart1_default: uart1_default { |
| group1 { |
| psels = <NRF_PSEL(UART_TX, 1, 7)>, |
| <NRF_PSEL(UART_RX, 1, 5)>; |
| }; |
| }; |
| |
| uart1_sleep: uart1_sleep { |
| group1 { |
| psels = <NRF_PSEL(UART_TX, 1, 7)>, |
| <NRF_PSEL(UART_RX, 1, 5)>; |
| low-power-enable; |
| }; |
| }; |
| |
| i2c0_default: i2c0_default { |
| group1 { |
| psels = <NRF_PSEL(TWIM_SDA, 0, 8)>, |
| <NRF_PSEL(TWIM_SCL, 0, 11)>; |
| }; |
| }; |
| |
| i2c0_sleep: i2c0_sleep { |
| group1 { |
| psels = <NRF_PSEL(TWIM_SDA, 0, 8)>, |
| <NRF_PSEL(TWIM_SCL, 0, 11)>; |
| low-power-enable; |
| }; |
| }; |
| |
| i2c1_default: i2c1_default { |
| group1 { |
| psels = <NRF_PSEL(TWIM_SDA, 1, 1)>, |
| <NRF_PSEL(TWIM_SCL, 0, 24)>; |
| }; |
| }; |
| |
| i2c1_sleep: i2c1_sleep { |
| group1 { |
| psels = <NRF_PSEL(TWIM_SDA, 1, 1)>, |
| <NRF_PSEL(TWIM_SCL, 0, 24)>; |
| low-power-enable; |
| }; |
| }; |
| |
| spi0_default: spi0_default { |
| group1 { |
| psels = <NRF_PSEL(SPIM_SCK, 0, 28)>, |
| <NRF_PSEL(SPIM_MOSI, 0, 31)>, |
| <NRF_PSEL(SPIM_MISO, 0, 2)>; |
| }; |
| }; |
| |
| spi0_sleep: spi0_sleep { |
| group1 { |
| psels = <NRF_PSEL(SPIM_SCK, 0, 28)>, |
| <NRF_PSEL(SPIM_MOSI, 0, 31)>, |
| <NRF_PSEL(SPIM_MISO, 0, 2)>; |
| low-power-enable; |
| }; |
| }; |
| |
| qspi_default: qspi_default { |
| group1 { |
| psels = <NRF_PSEL(QSPI_SCK, 0, 19)>, |
| <NRF_PSEL(QSPI_IO0, 0, 14)>, |
| <NRF_PSEL(QSPI_IO1, 0, 21)>, |
| <NRF_PSEL(QSPI_IO2, 0, 23)>, |
| <NRF_PSEL(QSPI_IO3, 1, 0)>, |
| <NRF_PSEL(QSPI_CSN, 0, 12)>; |
| nordic,drive-mode = <NRF_DRIVE_H0H1>; |
| }; |
| }; |
| |
| qspi_sleep: qspi_sleep { |
| group1 { |
| psels = <NRF_PSEL(QSPI_SCK, 0, 19)>, |
| <NRF_PSEL(QSPI_IO0, 0, 14)>, |
| <NRF_PSEL(QSPI_IO1, 0, 21)>, |
| <NRF_PSEL(QSPI_IO2, 0, 23)>, |
| <NRF_PSEL(QSPI_IO3, 1, 0)>; |
| low-power-enable; |
| }; |
| group2 { |
| psels = <NRF_PSEL(QSPI_CSN, 0, 12)>; |
| low-power-enable; |
| bias-pull-up; |
| }; |
| }; |
| }; |