omap4-sdp.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. };
  78. /include/ "twl6030.dtsi"
  79. &i2c2 {
  80. clock-frequency = <400000>;
  81. };
  82. &i2c3 {
  83. clock-frequency = <400000>;
  84. /*
  85. * Temperature Sensor
  86. * http://www.ti.com/lit/ds/symlink/tmp105.pdf
  87. */
  88. tmp105@48 {
  89. compatible = "ti,tmp105";
  90. reg = <0x48>;
  91. };
  92. /*
  93. * Ambient Light Sensor
  94. * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
  95. */
  96. bh1780@29 {
  97. compatible = "rohm,bh1780";
  98. reg = <0x29>;
  99. };
  100. };
  101. &i2c4 {
  102. clock-frequency = <400000>;
  103. /*
  104. * 3-Axis Digital Compass
  105. * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
  106. */
  107. hmc5843@1e {
  108. compatible = "honeywell,hmc5843";
  109. reg = <0x1e>;
  110. };
  111. };
  112. &mcspi1 {
  113. eth@0 {
  114. compatible = "ks8851";
  115. spi-max-frequency = <24000000>;
  116. reg = <0>;
  117. interrupt-parent = <&gpio2>;
  118. interrupts = <2>; /* gpio line 34 */
  119. vdd-supply = <&vdd_eth>;
  120. };
  121. };
  122. &mmc1 {
  123. vmmc-supply = <&vmmc>;
  124. bus-width = <8>;
  125. };
  126. &mmc2 {
  127. vmmc-supply = <&vaux1>;
  128. bus-width = <8>;
  129. ti,non-removable;
  130. };
  131. &mmc3 {
  132. status = "disable";
  133. };
  134. &mmc4 {
  135. status = "disable";
  136. };
  137. &mmc5 {
  138. bus-width = <4>;
  139. ti,non-removable;
  140. };