omap5-evm.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. /include/ "omap5.dtsi"
  10. / {
  11. model = "TI OMAP5 EVM board";
  12. compatible = "ti,omap5-evm", "ti,omap5";
  13. memory {
  14. device_type = "memory";
  15. reg = <0x80000000 0x40000000>; /* 1 GB */
  16. };
  17. vmmcsd_fixed: fixedregulator-mmcsd {
  18. compatible = "regulator-fixed";
  19. regulator-name = "vmmcsd_fixed";
  20. regulator-min-microvolt = <3000000>;
  21. regulator-max-microvolt = <3000000>;
  22. };
  23. };
  24. &omap5_pmx_core {
  25. pinctrl-names = "default";
  26. pinctrl-0 = <
  27. &twl6040_pins
  28. &mcpdm_pins
  29. &dmic_pins
  30. &mcbsp1_pins
  31. &mcbsp2_pins
  32. >;
  33. twl6040_pins: pinmux_twl6040_pins {
  34. pinctrl-single,pins = <
  35. 0x18a 0x6 /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
  36. >;
  37. };
  38. mcpdm_pins: pinmux_mcpdm_pins {
  39. pinctrl-single,pins = <
  40. 0x142 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */
  41. 0x15c 0x108 /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */
  42. 0x15e 0x108 /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */
  43. 0x160 0x118 /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */
  44. 0x162 0x108 /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */
  45. >;
  46. };
  47. dmic_pins: pinmux_dmic_pins {
  48. pinctrl-single,pins = <
  49. 0x144 0x100 /* abedmic_din1.abedmic_din1 INPUT | MODE0 */
  50. 0x146 0x100 /* abedmic_din2.abedmic_din2 INPUT | MODE0 */
  51. 0x148 0x100 /* abedmic_din3.abedmic_din3 INPUT | MODE0 */
  52. 0x14a 0 /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */
  53. >;
  54. };
  55. mcbsp1_pins: pinmux_mcbsp1_pins {
  56. pinctrl-single,pins = <
  57. 0x14c 0x101 /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */
  58. 0x14e 0x9 /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */
  59. 0x150 0x101 /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */
  60. 0x152 0x109 /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */
  61. >;
  62. };
  63. mcbsp2_pins: pinmux_mcbsp2_pins {
  64. pinctrl-single,pins = <
  65. 0x154 0x108 /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */
  66. 0x156 0x8 /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */
  67. 0x158 0x100 /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */
  68. 0x15a 0x100 /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */
  69. >;
  70. };
  71. };
  72. &mmc1 {
  73. vmmc-supply = <&vmmcsd_fixed>;
  74. bus-width = <4>;
  75. };
  76. &mmc2 {
  77. vmmc-supply = <&vmmcsd_fixed>;
  78. bus-width = <8>;
  79. ti,non-removable;
  80. };
  81. &mmc3 {
  82. bus-width = <4>;
  83. ti,non-removable;
  84. };
  85. &mmc4 {
  86. status = "disabled";
  87. };
  88. &mmc5 {
  89. status = "disabled";
  90. };
  91. &i2c2 {
  92. clock-frequency = <400000>;
  93. /* Pressure Sensor */
  94. bmp085@77 {
  95. compatible = "bosch,bmp085";
  96. reg = <0x77>;
  97. };
  98. };
  99. &i2c4 {
  100. clock-frequency = <400000>;
  101. /* Temperature Sensor */
  102. tmp102@48{
  103. compatible = "ti,tmp102";
  104. reg = <0x48>;
  105. };
  106. };
  107. &keypad {
  108. keypad,num-rows = <8>;
  109. keypad,num-columns = <8>;
  110. linux,keymap = <0x02020073 /* VOLUP */
  111. 0x02030072 /* VOLDOWM */
  112. 0x020400e7 /* SEND */
  113. 0x02050066 /* HOME */
  114. 0x0206006b /* END */
  115. 0x020700d9>; /* SEARCH */
  116. linux,input-no-autorepeat;
  117. };
  118. &mcbsp3 {
  119. status = "disabled";
  120. };