1/* 2 * Copyright (c) 2021 Nordic Semiconductor ASA 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 test_device: test_device@0 { 8 compatible = "vnd,pinctrl-device"; 9 reg = <0x0 0x1>; 10 pinctrl-0 = <&test_device_default>; 11 pinctrl-names = "default"; 12 }; 13}; 14 15&pinctrl { 16 test_device_default: test_device_default { 17 /* Note: the groups are just meant for testing if properties and 18 pins are parsed correctly, but do not necessarily represent a 19 feasible combination */ 20 group1 { 21 psels = <NRF_PSEL(UART_TX, 0, 1)>, 22 <NRF_PSEL(UART_RTS, 0, 2)>, 23 <NRF_PSEL_DISCONNECTED(UART_RX)>; 24 }; 25 group2 { 26 psels = <NRF_PSEL(UART_RX, 0, 3)>; 27 nordic,drive-mode = <NRF_DRIVE_H0S1>; 28 }; 29 group3 { 30 psels = <NRF_PSEL(UART_RX, 0, 4)>; 31 bias-pull-up; 32 }; 33 group4 { 34 psels = <NRF_PSEL(UART_RX, 0, 5)>; 35 bias-pull-down; 36 }; 37 group5 { 38 psels = <NRF_PSEL(UART_CTS, 1, 6)>; 39 low-power-enable; 40 }; 41 }; 42}; 43