msm8992-pins.dtsi 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*
  2. * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. &msmgpio {
  14. blsp1_uart2_default: blsp1_uart2_default {
  15. pinmux {
  16. function = "blsp_uart2";
  17. pins = "gpio4", "gpio5";
  18. };
  19. pinconf {
  20. pins = "gpio4", "gpio5";
  21. drive-strength = <16>;
  22. bias-disable;
  23. };
  24. };
  25. blsp1_uart2_sleep: blsp1_uart2_sleep {
  26. pinmux {
  27. function = "gpio";
  28. pins = "gpio4", "gpio5";
  29. };
  30. pinconf {
  31. pins = "gpio4", "gpio5";
  32. drive-strength = <2>;
  33. bias-pull-down;
  34. };
  35. };
  36. /* 0-3 for sdc1 4-6 for sdc2 */
  37. /* Order of pins */
  38. /* SDC1: CLK -> 0, CMD -> 1, DATA -> 2, RCLK -> 3 */
  39. /* SDC2: CLK -> 4, CMD -> 5, DATA -> 6 */
  40. sdc1_clk_on: clk-on {
  41. pinconf {
  42. pins = "sdc1_clk";
  43. bias-disable = <0>; /* No pull */
  44. drive-strength = <16>; /* 16mA */
  45. };
  46. };
  47. sdc1_clk_off: clk-off {
  48. pinconf {
  49. pins = "sdc1_clk";
  50. bias-disable = <0>; /* No pull */
  51. drive-strength = <2>; /* 2mA */
  52. };
  53. };
  54. sdc1_cmd_on: cmd-on {
  55. pinconf {
  56. pins = "sdc1_cmd";
  57. bias-pull-up;
  58. drive-strength = <8>;
  59. };
  60. };
  61. sdc1_cmd_off: cmd-off {
  62. pinconf {
  63. pins = "sdc1_cmd";
  64. bias-pull-up = <0x3>; /* same as 3.10 ?? */
  65. drive-strength = <2>; /* 2mA */
  66. };
  67. };
  68. sdc1_data_on: data-on {
  69. pinconf {
  70. pins = "sdc1_data";
  71. bias-pull-up;
  72. drive-strength = <8>; /* 8mA */
  73. };
  74. };
  75. sdc1_data_off: data-off {
  76. pinconf {
  77. pins = "sdc1_data";
  78. bias-pull-up;
  79. drive-strength = <2>;
  80. };
  81. };
  82. sdc1_rclk_on: rclk-on {
  83. bias-pull-down; /* pull down */
  84. };
  85. sdc1_rclk_off: rclk-off {
  86. bias-pull-down; /* pull down */
  87. };
  88. };