omap4-sdp.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /*
  2. * Copyright (C) 2011 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/ "omap4.dtsi"
  10. / {
  11. model = "TI OMAP4 SDP board";
  12. compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
  13. memory {
  14. device_type = "memory";
  15. reg = <0x80000000 0x40000000>; /* 1 GB */
  16. };
  17. vdd_eth: fixedregulator@0 {
  18. compatible = "regulator-fixed";
  19. regulator-name = "VDD_ETH";
  20. regulator-min-microvolt = <3300000>;
  21. regulator-max-microvolt = <3300000>;
  22. gpio = <&gpio2 16 0>; /* gpio line 48 */
  23. enable-active-high;
  24. regulator-boot-on;
  25. };
  26. vbat: fixedregulator@2 {
  27. compatible = "regulator-fixed";
  28. regulator-name = "VBAT";
  29. regulator-min-microvolt = <3750000>;
  30. regulator-max-microvolt = <3750000>;
  31. regulator-boot-on;
  32. };
  33. leds {
  34. compatible = "gpio-leds";
  35. debug0 {
  36. label = "omap4:green:debug0";
  37. gpios = <&gpio2 29 0>; /* 61 */
  38. };
  39. debug1 {
  40. label = "omap4:green:debug1";
  41. gpios = <&gpio1 30 0>; /* 30 */
  42. };
  43. debug2 {
  44. label = "omap4:green:debug2";
  45. gpios = <&gpio1 7 0>; /* 7 */
  46. };
  47. debug3 {
  48. label = "omap4:green:debug3";
  49. gpios = <&gpio1 8 0>; /* 8 */
  50. };
  51. debug4 {
  52. label = "omap4:green:debug4";
  53. gpios = <&gpio2 18 0>; /* 50 */
  54. };
  55. user1 {
  56. label = "omap4:blue:user";
  57. gpios = <&gpio6 9 0>; /* 169 */
  58. };
  59. user2 {
  60. label = "omap4:red:user";
  61. gpios = <&gpio6 10 0>; /* 170 */
  62. };
  63. user3 {
  64. label = "omap4:green:user";
  65. gpios = <&gpio5 11 0>; /* 139 */
  66. };
  67. };
  68. };
  69. &i2c1 {
  70. clock-frequency = <400000>;
  71. twl: twl@48 {
  72. reg = <0x48>;
  73. /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
  74. interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
  75. interrupt-parent = <&gic>;
  76. };
  77. twl6040: twl@4b {
  78. compatible = "ti,twl6040";
  79. reg = <0x4b>;
  80. /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
  81. interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
  82. interrupt-parent = <&gic>;
  83. ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
  84. vio-supply = <&v1v8>;
  85. v2v1-supply = <&v2v1>;
  86. enable-active-high;
  87. /* regulators for vibra motor */
  88. vddvibl-supply = <&vbat>;
  89. vddvibr-supply = <&vbat>;
  90. vibra {
  91. /* Vibra driver, motor resistance parameters */
  92. ti,vibldrv-res = <8>;
  93. ti,vibrdrv-res = <3>;
  94. ti,viblmotor-res = <10>;
  95. ti,vibrmotor-res = <10>;
  96. };
  97. };
  98. };
  99. /include/ "twl6030.dtsi"
  100. &i2c2 {
  101. clock-frequency = <400000>;
  102. };
  103. &i2c3 {
  104. clock-frequency = <400000>;
  105. /*
  106. * Temperature Sensor
  107. * http://www.ti.com/lit/ds/symlink/tmp105.pdf
  108. */
  109. tmp105@48 {
  110. compatible = "ti,tmp105";
  111. reg = <0x48>;
  112. };
  113. /*
  114. * Ambient Light Sensor
  115. * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
  116. */
  117. bh1780@29 {
  118. compatible = "rohm,bh1780";
  119. reg = <0x29>;
  120. };
  121. };
  122. &i2c4 {
  123. clock-frequency = <400000>;
  124. /*
  125. * 3-Axis Digital Compass
  126. * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
  127. */
  128. hmc5843@1e {
  129. compatible = "honeywell,hmc5843";
  130. reg = <0x1e>;
  131. };
  132. };
  133. &mcspi1 {
  134. eth@0 {
  135. compatible = "ks8851";
  136. spi-max-frequency = <24000000>;
  137. reg = <0>;
  138. interrupt-parent = <&gpio2>;
  139. interrupts = <2>; /* gpio line 34 */
  140. vdd-supply = <&vdd_eth>;
  141. };
  142. };
  143. &mmc1 {
  144. vmmc-supply = <&vmmc>;
  145. bus-width = <8>;
  146. };
  147. &mmc2 {
  148. vmmc-supply = <&vaux1>;
  149. bus-width = <8>;
  150. ti,non-removable;
  151. };
  152. &mmc3 {
  153. status = "disable";
  154. };
  155. &mmc4 {
  156. status = "disable";
  157. };
  158. &mmc5 {
  159. bus-width = <4>;
  160. ti,non-removable;
  161. };