apq8096-db820c-pins.dtsi 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Copyright (c) 2013-2016, 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. sdc2_cd_on: sdc2_cd_on {
  15. mux {
  16. pins = "gpio38";
  17. function = "gpio";
  18. };
  19. config {
  20. pins = "gpio38";
  21. bias-pull-up; /* pull up */
  22. drive-strength = <16>; /* 16 MA */
  23. };
  24. };
  25. sdc2_cd_off: sdc2_cd_off {
  26. mux {
  27. pins = "gpio38";
  28. function = "gpio";
  29. };
  30. config {
  31. pins = "gpio38";
  32. bias-pull-up; /* pull up */
  33. drive-strength = <2>; /* 2 MA */
  34. };
  35. };
  36. blsp1_uart1_default: blsp1_uart1_default {
  37. mux {
  38. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  39. function = "blsp_uart2";
  40. };
  41. config {
  42. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  43. drive-strength = <16>;
  44. bias-disable;
  45. };
  46. };
  47. blsp1_uart1_sleep: blsp1_uart1_sleep {
  48. mux {
  49. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  50. function = "gpio";
  51. };
  52. config {
  53. pins = "gpio41", "gpio42", "gpio43", "gpio44";
  54. drive-strength = <2>;
  55. bias-disable;
  56. };
  57. };
  58. };