ste-nomadik-pinctrl.dtsi 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /*
  2. * Copyright 2012 ST-Ericsson
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. #include <dt-bindings/pinctrl/nomadik.h>
  12. / {
  13. in_nopull: in_nopull {
  14. ste,input = <INPUT_NOPULL>;
  15. };
  16. in_pu: input_pull_up {
  17. ste,input = <INPUT_PULLUP>;
  18. };
  19. in_pd: input_pull_down {
  20. ste,input = <INPUT_PULLDOWN>;
  21. };
  22. out_hi: output_high {
  23. ste,output = <OUTPUT_HIGH>;
  24. };
  25. out_lo: output_low {
  26. ste,output = <OUTPUT_LOW>;
  27. };
  28. gpio_out_lo: gpio_output_low {
  29. ste,gpio = <GPIOMODE_ENABLED>;
  30. ste,output = <OUTPUT_LOW>;
  31. };
  32. slpm_in_pu: slpm_in_pu {
  33. ste,sleep = <SLPM_ENABLED>;
  34. ste,sleep-input = <SLPM_INPUT_PULLUP>;
  35. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  36. };
  37. slpm_in_wkup_pdis: slpm_in_wkup_pdis {
  38. ste,sleep = <SLPM_ENABLED>;
  39. ste,sleep-input = <SLPM_DIR_INPUT>;
  40. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  41. ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
  42. };
  43. slpm_out_lo: slpm_out_lo {
  44. ste,sleep = <SLPM_ENABLED>;
  45. ste,sleep-output = <SLPM_OUTPUT_LOW>;
  46. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  47. };
  48. slpm_out_hi: slpm_out_hi {
  49. ste,sleep = <SLPM_ENABLED>;
  50. ste,sleep-output = <SLPM_OUTPUT_HIGH>;
  51. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  52. };
  53. slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
  54. ste,sleep = <SLPM_ENABLED>;
  55. ste,sleep-output = <SLPM_OUTPUT_HIGH>;
  56. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  57. ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
  58. };
  59. slpm_out_wkup_pdis: slpm_out_wkup_pdis {
  60. ste,sleep = <SLPM_ENABLED>;
  61. ste,sleep-output = <SLPM_DIR_OUTPUT>;
  62. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  63. ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
  64. };
  65. in_wkup_pdis: in_wkup_pdis {
  66. ste,sleep-input = <SLPM_DIR_INPUT>;
  67. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  68. ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
  69. };
  70. out_hi_wkup_pdis: out_hi_wkup_pdis {
  71. ste,sleep-output = <SLPM_OUTPUT_HIGH>;
  72. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  73. ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
  74. };
  75. out_wkup_pdis: out_wkup_pdis {
  76. ste,sleep-output = <SLPM_DIR_OUTPUT>;
  77. ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
  78. ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
  79. };
  80. };