s5p4418-pinctrl.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Nexell's s5p6818 SoC pin-mux and pin-config device tree source
  4. *
  5. * (C) Copyright 2020 Stefan Bosch <stefan_b@posteo.net>
  6. *
  7. * Copyright (C) 2016 Nexell Co., Ltd.
  8. * http://www.nexell.co.kr
  9. *
  10. * Nexell's s5p6818 SoC pin-mux and pin-config options are listed as
  11. * device tree nodes in this file.
  12. */
  13. pinctrl@C0010000 {
  14. /*
  15. * values for "pin-pull":
  16. * pulldown resistor = 0
  17. * pullup = 1
  18. * no pullup/down = 2
  19. */
  20. /* MMC */
  21. mmc0_clk: mmc0-clk {
  22. pins = "gpioa-29";
  23. pin-function = <1>;
  24. pin-pull = <2>;
  25. pin-strength = <2>;
  26. };
  27. mmc0_cmd: mmc0-cmd {
  28. pins = "gpioa-31";
  29. pin-function = <1>;
  30. pin-pull = <2>;
  31. pin-strength = <1>;
  32. };
  33. mmc0_bus4: mmc0-bus-width4 {
  34. pins = "gpiob-1, gpiob-3, gpiob-5, gpiob-7";
  35. pin-function = <1>;
  36. pin-pull = <2>;
  37. pin-strength = <1>;
  38. };
  39. mmc1_clk: mmc1-clk {
  40. pins = "gpiod-22";
  41. pin-function = <1>;
  42. pin-pull = <2>;
  43. pin-strength = <2>;
  44. };
  45. mmc1_cmd: mmc1-cmd {
  46. pins = "gpiod-23";
  47. pin-function = <1>;
  48. pin-pull = <2>;
  49. pin-strength = <1>;
  50. };
  51. mmc1_bus4: mmc1-bus-width4 {
  52. pins = "gpiod-24, gpiod-25, gpiod-26, gpiod-27";
  53. pin-function = <1>;
  54. pin-pull = <2>;
  55. pin-strength = <1>;
  56. };
  57. mmc2_clk: mmc2-clk {
  58. pins = "gpioc-18";
  59. pin-function = <2>;
  60. pin-pull = <2>;
  61. pin-strength = <2>;
  62. };
  63. mmc2_cmd: mmc2-cmd {
  64. pins = "gpioc-19";
  65. pin-function = <2>;
  66. pin-pull = <2>;
  67. pin-strength = <1>;
  68. };
  69. mmc2_bus4: mmc2-bus-width4 {
  70. pins = "gpioc-20, gpioc-21, gpioc-22, gpioc-23";
  71. pin-function = <2>;
  72. pin-pull = <2>;
  73. pin-strength = <1>;
  74. };
  75. mmc2_bus8: mmc2-bus-width8 {
  76. nexell,pins = "gpioe-21", "gpioe-22", "gpioe-23", "gpioe-24";
  77. pin-function = <2>;
  78. pin-pull = <2>;
  79. pin-strength = <1>;
  80. };
  81. /* I2C */
  82. i2c0_sda:i2c0-sda {
  83. pins = "gpiod-3";
  84. pin-function = <1>;
  85. pin-pull = <2>;
  86. pin-strength = <0>;
  87. };
  88. i2c0_scl:i2c0-scl {
  89. pins = "gpiod-2";
  90. pin-function = <1>;
  91. pin-pull = <2>;
  92. pin-strength = <0>;
  93. };
  94. i2c1_sda:i2c1-sda {
  95. pins = "gpiod-5";
  96. pin-function = <1>;
  97. pin-pull = <2>;
  98. pin-strength = <0>;
  99. };
  100. i2c1_scl:i2c1-scl {
  101. pins = "gpiod-4";
  102. pin-function = <1>;
  103. pin-pull = <2>;
  104. pin-strength = <0>;
  105. };
  106. i2c2_sda:i2c2-sda {
  107. pins = "gpiod-7";
  108. pin-function = <1>;
  109. pin-pull = <2>;
  110. pin-strength = <0>;
  111. };
  112. i2c2_scl:i2c2-scl {
  113. pins = "gpiod-6";
  114. pin-function = <1>;
  115. pin-pull = <2>;
  116. pin-strength = <0>;
  117. };
  118. };