Advertisement
JetForMe

Untitled

Dec 29th, 2014
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 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. /dts-v1/;
  9.  
  10. #include "am33xx.dtsi"
  11. #include "am335x-bone-common.dtsi"
  12. #include "am335x-bone-common-pinmux.dtsi"
  13.  
  14. / {
  15. model = "TI AM335x BeagleBone Black";
  16. compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
  17. };
  18.  
  19. &ldo3_reg {
  20. regulator-min-microvolt = <1800000>;
  21. regulator-max-microvolt = <1800000>;
  22. regulator-always-on;
  23. };
  24.  
  25. &ocp {
  26. /* clkout2 */
  27. P9_41_pinmux {
  28. status = "disabled";
  29. };
  30. /* mmc1 */
  31. P9_92_pinmux {
  32. status = "disabled";
  33. };
  34. };
  35.  
  36. &mmc1 {
  37. vmmc-supply = <&vmmcsd_fixed>;
  38. };
  39.  
  40. &am33xx_pinmux {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&clkout2_pin>;
  43. };
  44.  
  45. /*
  46. Podtique Stuff
  47. */
  48.  
  49. &tscadc {
  50. status = "okay";
  51. adc {
  52. ti,adc-channels = <0 1>;
  53. };
  54. };
  55.  
  56. &ocp {
  57. P8_07_pinmux {
  58. /* gpio2[2] */
  59. status = "disabled";
  60. };
  61. P8_08_pinmux {
  62. /* gpio2[3] */
  63. status = "disabled";
  64. };
  65. P8_09_pinmux {
  66. /* gpio2[5] */
  67. status = "disabled";
  68. };
  69. P8_10_pinmux {
  70. /* gpio2[4] */
  71. status = "disabled";
  72. };
  73. P8_13_pinmux {
  74. /* gpio0[23] */
  75. status = "disabled";
  76. };
  77. P8_14_pinmux {
  78. /* gpio0[26] */
  79. status = "disabled";
  80. };
  81. P8_17_pinmux {
  82. /* gpio0[27] */
  83. status = "disabled";
  84. };
  85. };
  86.  
  87. / {
  88. podtique {
  89. compatible = "podtique";
  90. status = "okay";
  91.  
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&podtique_pins>; /* Refer to previous label */
  94. /* This section communicates the gpio numbers to the driver module */
  95. /* Note that gpio controllers appear to be numbered from 1-n here rather than 0-(n-1)????? */
  96. gpios =
  97. <&gpio2 2 0>, /* 0x090 INPUT: on/off */
  98. <&gpio2 3 0>, /* 0x094 INPUT: Mode 1 */
  99. <&gpio2 5 0>, /* 0x09c INPUT: Mode 2 */
  100. <&gpio2 4 0>, /* 0x098 INPUT: Mode 3 */
  101. <&gpio0 23 0>, /* 0x024 INPUT: Future: left momentary */
  102. <&gpio0 26 0>, /* 0x028 INPUT: Future: right momentary */
  103. <&gpio0 27 0>; /* 0x02c OUTPUT: Amplifier standby control */
  104. debug = <1>;
  105. shutdown = <1>;
  106. };
  107. };
  108.  
  109. &am33xx_pinmux {
  110. podtique_pins: pinmux_podtique_pins { /* Set up pinmux */
  111. pinctrl-single,pins = <
  112. 0x090 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpio2_2 */
  113. 0x094 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpio2_3 */
  114. 0x09c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpio2_5 */
  115. 0x098 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpio2_4 */
  116. 0x024 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpio0_23 */
  117. 0x028 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpio0_26 */
  118. 0x02c (PIN_OUTPUT | MUX_MODE7) /* gpio0_27 */
  119. >;
  120. };
  121. };
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. #include "am335x-boneblack-emmc.dtsi"
  132. /* HDMI: with audio */
  133. #include "am335x-boneblack-nxp-hdmi-audio.dtsi"
  134. /* HDMI: without audio */
  135. /* #include "am335x-boneblack-nxp-hdmi-no-audio.dtsi" */
  136.  
  137. /* can0: P9.19, P9.20: disable: i2c2: cape eeprom */
  138. /* can0: peripheral */
  139. #include "am335x-can0.dtsi"
  140. /* can0: pinmux */
  141. /* #include "am335x-bone-can0.dtsi" */
  142.  
  143. /* can1: P9_24, P9_26 */
  144. #include "am335x-can1.dtsi"
  145. /* #include "am335x-bone-can1.dtsi" */
  146.  
  147. /* i2c2: cape eeprom */
  148. /* P9.19 P9.20 */
  149. #include "am335x-bone-i2c2-cape-eeprom.dtsi"
  150.  
  151. /* spi0: */
  152. /* P9.17 spi0_cs0 */
  153. /* P9.18 spi0_d1 */
  154. /* P9.21 spi0_d0 */
  155. /* P9.22 spi0_sclk */
  156. /* #include "am335x-bone-spi0-spidev.dtsi" */
  157.  
  158. /* spi1: */
  159. /* P9.31 spi1_sclk */
  160. /* P9.29 spi1_d0 */
  161. /* P9.30 spi1_d1 */
  162. /* P9.28 spi1_cs0 */
  163. /* #include "am335x-bone-spi1-spidev.dtsi" */
  164.  
  165. /* spi1a: */
  166. /* P9.42 spi1_sclk */
  167. /* P9.29 spi1_d0 */
  168. /* P9.30 spi1_d1 */
  169. /* P9.20 spi1_cs0 */
  170. /* #include "am335x-bone-spi1a-spidev.dtsi" */
  171.  
  172. /* uart1: P9.24, P9.26 */
  173. #include "am335x-ttyO1.dtsi"
  174. /* #include "am335x-bone-ttyO1.dtsi" */
  175. /* uart2: P9.21, P9.22 */
  176. #include "am335x-ttyO2.dtsi"
  177. /* #include "am335x-bone-ttyO2.dtsi" */
  178. /* uart4: P9.11, P9.13 */
  179. #include "am335x-ttyO4.dtsi"
  180. /* #include "am335x-bone-ttyO4.dtsi" */
  181. /* uart5: P8.37, P8.38 boneblack: hdmi has to be disabled for ttyO5 */
  182. #include "am335x-ttyO5.dtsi"
  183. /* #include "am335x-bone-ttyO5.dtsi" */
  184.  
  185. /* Capes */
  186. /* http://elinux.org/4D_4.3_LCD_CAPE */
  187. /* 4DCAPE-43 (Non Touch version): */
  188. /* #include "am335x-bone-4dcape-43.dtsi" */
  189. /* 4DCAPE-43T (Resistive Touch version): */
  190. /* #include "am335x-bone-4dcape-43t.dtsi" */
  191.  
  192. /* http://www.4dsystems.com.au/product/4DCAPE_70T/ */
  193. /* 4DCAPE-70 (Non Touch version): */
  194. /* #include "am335x-bone-4dcape-70.dtsi" */
  195. /* 4DCAPE-70T (Resistive Touch version): */
  196. /* #include "am335x-bone-4dcape-70t.dtsi" */
  197.  
  198. /* http://elinux.org/CircuitCo:Audio_Cape_RevA */
  199. /* #include "am335x-bone-audio-reva.dtsi" */
  200.  
  201. /* http://elinux.org/CircuitCo:Audio_Cape_RevB */
  202. /* Pins: P9.24, P9.28, P9.29, P9.31, P9.30 */
  203. /* #include "am335x-bone-audio-revb.dtsi" */
  204.  
  205. /* http://elinux.org/CircuitCo:BeagleBone_LCD3 */
  206. /* #include "am335x-bone-lcd3-01-00a2.dtsi" */
  207.  
  208. /* http://elinux.org/CircuitCo:BeagleBone_LCD4 */
  209. /* #include "am335x-bone-lcd4-01-00a1.dtsi" */
  210.  
  211. /* http://elinux.org/CircuitCo:BeagleBone_LCD7 */
  212. /* am335x-boneblack: emmc has to be disabled for lcd7-01-00a2 */
  213. /* #include "am335x-bone-lcd7-01-00a2.dtsi" */
  214. /* #include "am335x-bone-lcd7-01-00a3.dtsi" */
  215.  
  216. /* http://www.chipsee.com/product/evm/beagle/beaglebone-black-expansion-capacitive.html */
  217. /* #include "am335x-bone-bbb-exp-c.dtsi" */
  218.  
  219. /* http://elinux.org/CircuitCo:RTC_Cape */
  220. /* i2c1: P9.17, P9.18 */
  221. /* gpio: P8.26 (mfp: wakeup) */
  222. /* #include "am335x-bone-rtc-01-00a1.dtsi" */
  223.  
  224. /* http://elinux.org/Cryptotronix:CryptoCape */
  225. /* uart4: P9.11, P9.13 */
  226. /* gpio: gpio1 13 gpio1 17 (gpio NOT IMPLEMENTED YET) */
  227. /* #include "am335x-bone-crypto-00a0.dtsi" */
  228.  
  229. /* http://elinux.org/CircuitCo:Basic_Proto_Cape */
  230. /* #include "am335x-bone-basic-proto-cape.dtsi" */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement