Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 KB | None | 0 0
  1. /*
  2. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  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 as
  6. * published by the Free Software Foundation.
  7. */
  8.  
  9. / {
  10. &ocp {
  11. P8_08_pinmux {
  12. /* gpio2[3] */
  13. status = "disabled";
  14. };
  15. P8_10_pinmux {
  16. /* gpio2[4] */
  17. status = "disabled";
  18. };
  19. P8_12_pinmux {
  20. /* gpio1[12] */
  21. status = "disabled";
  22. };
  23. P8_14_pinmux {
  24. /* gpio0[26] */
  25. status = "disabled";
  26. };
  27. P8_16_pinmux {
  28. /* gpio1[14] */
  29. status = "disabled";
  30. };
  31. P8_18_pinmux {
  32. /* gpio2[1] */
  33. status = "disabled";
  34. };
  35. P8_26_pinmux {
  36. /* gpio1[29] */
  37. status = "disabled";
  38. };
  39. P9_12_pinmux {
  40. /* gpio1[28] */
  41. status = "disabled";
  42. };
  43. P9_14_pinmux {
  44. /* gpio1[18] */
  45. status = "disabled";
  46. };
  47. P9_15_pinmux {
  48. /* gpio1[16] */
  49. status = "disabled";
  50. };
  51. P9_23_pinmux {
  52. /* gpio1[17] */
  53. status = "disabled";
  54. };
  55. P9_25_pinmux {
  56. /* gpio3[21] */
  57. status = "disabled";
  58. };
  59. P9_41_pinmux {
  60. /* gpio0[20] */
  61. status = "disabled";
  62. };
  63. P9_42_pinmux {
  64. /* gpio0[7] */
  65. status = "disabled";
  66. };
  67. };
  68. };
  69.  
  70. / {
  71. outputs {
  72. compatible = "outputs";
  73. status = "okay";
  74.  
  75. pinctrl-names = "default";
  76. pinctrl-0 = <&outputs_pins>; /* Refer to previous label */
  77.  
  78. gpios = <&gpio2 3 0>,
  79. <&gpio2 4 0>,
  80. <&gpio1 12 0>,
  81. <&gpio0 26 0>,
  82. <&gpio1 14 0>,
  83. <&gpio2 1 0>,
  84. <&gpio1 29 0>,
  85. <&gpio1 28 0>,
  86. <&gpio1 18 0>,
  87. <&gpio1 16 0>,
  88. <&gpio1 17 0>,
  89. <&gpio3 21 0>, /* General Output #1 */
  90. <&gpio0 20 0>, /* General Output #2 */
  91. <&gpio0 7 0>; /* General Output #3 */
  92. default-on;
  93. debug = <1>;
  94. /* shutdown = <1>; */
  95. };
  96. };
  97.  
  98. &am33xx_pinmux {
  99. outputs_pins: pinmux_outputs_pins { /* Set up pinmux */
  100. pinctrl-single,pins = <
  101. 0x094 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_wait0.gpio0_30 */
  102. 0x098 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* spi0_cs0.gpio0_5 */
  103. 0x030 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* spi0_d1.gpio0_4 */
  104. 0x028 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_advn_ale.gpio_2 */
  105. 0x038 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_oen_ren.gpio2_3 */
  106. 0x08c (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ben0_cle.gpio2_5 */
  107. 0x07c (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_gpmc_wen.gpio2_4 */
  108. 0x078 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* xdma_event_intr1.gpio0_20 */
  109. 0x048 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
  110. 0x040 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
  111. 0x044 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
  112. 0x1ac (PIN_OUTPUT_PULLUP | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
  113. 0x1b4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
  114. 0x164 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
  115. >;
  116. };
  117. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement