1/* 2 * PAN1782 EVB configuration 3 * 4 * Copyright (c) 2022 Panasonic Industrial Devices Europe GmbH 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8&pinctrl { 9 /* flow control cannot be used together with i2c0, 10 * so not added to uart0_default by default 11 */ 12 uart0_default: uart0_default { 13 group1 { 14 psels = <NRF_PSEL(UART_TX, 1, 9)>; 15 }; 16 group2 { 17 psels = <NRF_PSEL(UART_RX, 0, 3)>; 18 bias-pull-up; 19 }; 20 }; 21 22 /* flow control cannot be used together with i2c0, 23 * so not added to uart0_sleep by default 24 */ 25 uart0_sleep: uart0_sleep { 26 group1 { 27 psels = <NRF_PSEL(UART_TX, 1, 9)>, 28 <NRF_PSEL(UART_RX, 0, 3)>; 29 low-power-enable; 30 }; 31 }; 32 33 i2c0_default: i2c0_default { 34 group1 { 35 psels = <NRF_PSEL(TWIM_SDA, 0, 11)>, 36 <NRF_PSEL(TWIM_SCL, 0, 28)>; 37 }; 38 }; 39 40 i2c0_sleep: i2c0_sleep { 41 group1 { 42 psels = <NRF_PSEL(TWIM_SDA, 0, 11)>, 43 <NRF_PSEL(TWIM_SCL, 0, 28)>; 44 low-power-enable; 45 }; 46 }; 47 48 i2c1_default: i2c1_default { 49 group1 { 50 psels = <NRF_PSEL(TWIM_SDA, 0, 30)>, 51 <NRF_PSEL(TWIM_SCL, 0, 31)>; 52 }; 53 }; 54 55 i2c1_sleep: i2c1_sleep { 56 group1 { 57 psels = <NRF_PSEL(TWIM_SDA, 0, 30)>, 58 <NRF_PSEL(TWIM_SCL, 0, 31)>; 59 low-power-enable; 60 }; 61 }; 62 63 pwm0_default: pwm0_default { 64 group1 { 65 psels = <NRF_PSEL(PWM_OUT0, 0, 15)>; 66 nordic,invert; 67 }; 68 }; 69 70 pwm0_sleep: pwm0_sleep { 71 group1 { 72 psels = <NRF_PSEL(PWM_OUT0, 0, 15)>; 73 low-power-enable; 74 }; 75 }; 76 77 spi0_default: spi0_default { 78 group1 { 79 psels = <NRF_PSEL(SPIM_SCK, 0, 27)>, 80 <NRF_PSEL(SPIM_MOSI, 0, 26)>, 81 <NRF_PSEL(SPIM_MISO, 0, 29)>; 82 }; 83 }; 84 85 spi0_sleep: spi0_sleep { 86 group1 { 87 psels = <NRF_PSEL(SPIM_SCK, 0, 27)>, 88 <NRF_PSEL(SPIM_MOSI, 0, 26)>, 89 <NRF_PSEL(SPIM_MISO, 0, 29)>; 90 low-power-enable; 91 }; 92 }; 93 94 spi1_default: spi1_default { 95 group1 { 96 psels = <NRF_PSEL(SPIM_SCK, 0, 31)>, 97 <NRF_PSEL(SPIM_MOSI, 0, 30)>, 98 <NRF_PSEL(SPIM_MISO, 1, 8)>; 99 }; 100 }; 101 102 spi1_sleep: spi1_sleep { 103 group1 { 104 psels = <NRF_PSEL(SPIM_SCK, 0, 31)>, 105 <NRF_PSEL(SPIM_MOSI, 0, 30)>, 106 <NRF_PSEL(SPIM_MISO, 1, 8)>; 107 low-power-enable; 108 }; 109 }; 110 111 spi3_default: spi3_default { 112 group1 { 113 psels = <NRF_PSEL(SPIM_SCK, 0, 29)>, 114 <NRF_PSEL(SPIM_MISO, 0, 2)>, 115 <NRF_PSEL(SPIM_MOSI, 0, 20)>; 116 }; 117 }; 118 119 spi3_sleep: spi3_sleep { 120 group1 { 121 psels = <NRF_PSEL(SPIM_SCK, 0, 29)>, 122 <NRF_PSEL(SPIM_MISO, 0, 2)>, 123 <NRF_PSEL(SPIM_MOSI, 0, 20)>; 124 low-power-enable; 125 }; 126 }; 127 128}; 129