dalzentwo_nrf9151_common-pinctrl.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * Copyright (c) 2023 Nordic Semiconductor
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. &pinctrl {
  6. uart0_default: uart0_default {
  7. group1 {
  8. psels = <NRF_PSEL(UART_TX, 0, 27)>,
  9. <NRF_PSEL(UART_RTS, 0, 14)>;
  10. };
  11. group2 {
  12. psels = <NRF_PSEL(UART_RX, 0, 26)>,
  13. <NRF_PSEL(UART_CTS, 0, 15)>;
  14. bias-pull-up;
  15. };
  16. };
  17. uart0_sleep: uart0_sleep {
  18. group1 {
  19. psels = <NRF_PSEL(UART_TX, 0, 27)>,
  20. <NRF_PSEL(UART_RX, 0, 26)>,
  21. <NRF_PSEL(UART_RTS, 0, 14)>,
  22. <NRF_PSEL(UART_CTS, 0, 15)>;
  23. low-power-enable;
  24. };
  25. };
  26. uart1_default: uart1_default {
  27. group1 {
  28. psels = <NRF_PSEL(UART_TX, 0, 29)>,
  29. <NRF_PSEL(UART_RTS, 0, 16)>;
  30. };
  31. group2 {
  32. psels = <NRF_PSEL(UART_RX, 0, 28)>,
  33. <NRF_PSEL(UART_CTS, 0, 17)>;
  34. bias-pull-up;
  35. };
  36. };
  37. uart1_sleep: uart1_sleep {
  38. group1 {
  39. psels = <NRF_PSEL(UART_TX, 0, 29)>,
  40. <NRF_PSEL(UART_RX, 0, 28)>,
  41. <NRF_PSEL(UART_RTS, 0, 16)>,
  42. <NRF_PSEL(UART_CTS, 0, 17)>;
  43. low-power-enable;
  44. };
  45. };
  46. i2c2_default: i2c2_default {
  47. group1 {
  48. psels = <NRF_PSEL(TWIM_SDA, 0, 30)>,
  49. <NRF_PSEL(TWIM_SCL, 0, 31)>;
  50. };
  51. };
  52. i2c2_sleep: i2c2_sleep {
  53. group1 {
  54. psels = <NRF_PSEL(TWIM_SDA, 0, 30)>,
  55. <NRF_PSEL(TWIM_SCL, 0, 31)>;
  56. low-power-enable;
  57. };
  58. };
  59. pwm0_default: pwm0_default {
  60. group1 {
  61. psels = <NRF_PSEL(PWM_OUT0, 0, 0)>;
  62. };
  63. };
  64. pwm0_sleep: pwm0_sleep {
  65. group1 {
  66. psels = <NRF_PSEL(PWM_OUT0, 0, 0)>;
  67. low-power-enable;
  68. };
  69. };
  70. spi3_default: spi3_default {
  71. group1 {
  72. psels = <NRF_PSEL(SPIM_SCK, 0, 13)>,
  73. <NRF_PSEL(SPIM_MISO, 0, 12)>,
  74. <NRF_PSEL(SPIM_MOSI, 0, 11)>;
  75. nordic,drive-mode = <NRF_DRIVE_H0H1>;
  76. };
  77. };
  78. spi3_sleep: spi3_sleep {
  79. group1 {
  80. psels = <NRF_PSEL(SPIM_SCK, 0, 13)>,
  81. <NRF_PSEL(SPIM_MISO, 0, 12)>,
  82. <NRF_PSEL(SPIM_MOSI, 0, 11)>;
  83. low-power-enable;
  84. };
  85. };
  86. };