stm32mp25-pinctrl.dtsi 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
  2. /*
  3. * Copyright (C) 2023-2024, STMicroelectronics - All Rights Reserved
  4. * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
  5. */
  6. #include <dt-bindings/pinctrl/stm32-pinfunc.h>
  7. &pinctrl {
  8. /omit-if-no-ref/
  9. i2c7_pins_a: i2c7-0 {
  10. pins1 {
  11. pinmux = <STM32_PINMUX('D', 15, AF10)>, /* I2C7_SCL */
  12. <STM32_PINMUX('D', 14, AF10)>; /* I2C7_SDA */
  13. bias-disable;
  14. drive-open-drain;
  15. slew-rate = <0>;
  16. };
  17. };
  18. /omit-if-no-ref/
  19. sdmmc1_b4_pins_a: sdmmc1-b4-0 {
  20. pins1 {
  21. pinmux = <STM32_PINMUX('E', 4, AF10)>, /* SDMMC1_D0 */
  22. <STM32_PINMUX('E', 5, AF10)>, /* SDMMC1_D1 */
  23. <STM32_PINMUX('E', 0, AF10)>, /* SDMMC1_D2 */
  24. <STM32_PINMUX('E', 1, AF10)>, /* SDMMC1_D3 */
  25. <STM32_PINMUX('E', 2, AF10)>; /* SDMMC1_CMD */
  26. slew-rate = <2>;
  27. drive-push-pull;
  28. bias-disable;
  29. };
  30. pins2 {
  31. pinmux = <STM32_PINMUX('E', 3, AF10)>; /* SDMMC1_CK */
  32. slew-rate = <3>;
  33. drive-push-pull;
  34. bias-disable;
  35. };
  36. };
  37. /omit-if-no-ref/
  38. sdmmc2_b4_pins_a: sdmmc2-b4-0 {
  39. pins1 {
  40. pinmux = <STM32_PINMUX('E', 13, AF12)>, /* SDMMC2_D0 */
  41. <STM32_PINMUX('E', 11, AF12)>, /* SDMMC2_D1 */
  42. <STM32_PINMUX('E', 8, AF12)>, /* SDMMC2_D2 */
  43. <STM32_PINMUX('E', 12, AF12)>, /* SDMMC2_D3 */
  44. <STM32_PINMUX('E', 15, AF12)>; /* SDMMC2_CMD */
  45. slew-rate = <2>;
  46. drive-push-pull;
  47. bias-pull-up;
  48. };
  49. pins2 {
  50. pinmux = <STM32_PINMUX('E', 14, AF12)>; /* SDMMC2_CK */
  51. slew-rate = <3>;
  52. drive-push-pull;
  53. bias-pull-up;
  54. };
  55. };
  56. /omit-if-no-ref/
  57. sdmmc2_d47_pins_a: sdmmc2-d47-0 {
  58. pins {
  59. pinmux = <STM32_PINMUX('E', 10, AF12)>, /* SDMMC2_D4 */
  60. <STM32_PINMUX('E', 9, AF12)>, /* SDMMC2_D5 */
  61. <STM32_PINMUX('E', 6, AF12)>, /* SDMMC2_D6 */
  62. <STM32_PINMUX('E', 7, AF12)>; /* SDMMC2_D7 */
  63. slew-rate = <2>;
  64. drive-push-pull;
  65. bias-pull-up;
  66. };
  67. };
  68. /omit-if-no-ref/
  69. usart2_pins_a: usart2-0 {
  70. pins1 {
  71. pinmux = <STM32_PINMUX('A', 4, AF6)>; /* USART2_TX */
  72. bias-disable;
  73. drive-push-pull;
  74. slew-rate = <0>;
  75. };
  76. pins2 {
  77. pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */
  78. bias-disable;
  79. };
  80. };
  81. };