omap4-sdp.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. leds {
  27. compatible = "gpio-leds";
  28. debug0 {
  29. label = "omap4:green:debug0";
  30. gpios = <&gpio2 29 0>; /* 61 */
  31. };
  32. debug1 {
  33. label = "omap4:green:debug1";
  34. gpios = <&gpio1 30 0>; /* 30 */
  35. };
  36. debug2 {
  37. label = "omap4:green:debug2";
  38. gpios = <&gpio1 7 0>; /* 7 */
  39. };
  40. debug3 {
  41. label = "omap4:green:debug3";
  42. gpios = <&gpio1 8 0>; /* 8 */
  43. };
  44. debug4 {
  45. label = "omap4:green:debug4";
  46. gpios = <&gpio2 18 0>; /* 50 */
  47. };
  48. user1 {
  49. label = "omap4:blue:user";
  50. gpios = <&gpio6 9 0>; /* 169 */
  51. };
  52. user2 {
  53. label = "omap4:red:user";
  54. gpios = <&gpio6 10 0>; /* 170 */
  55. };
  56. user3 {
  57. label = "omap4:green:user";
  58. gpios = <&gpio5 11 0>; /* 139 */
  59. };
  60. };
  61. };
  62. &i2c1 {
  63. clock-frequency = <400000>;
  64. twl: twl@48 {
  65. reg = <0x48>;
  66. /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
  67. interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
  68. interrupt-parent = <&gic>;
  69. };
  70. };
  71. /include/ "twl6030.dtsi"
  72. &i2c2 {
  73. clock-frequency = <400000>;
  74. };
  75. &i2c3 {
  76. clock-frequency = <400000>;
  77. /*
  78. * Temperature Sensor
  79. * http://www.ti.com/lit/ds/symlink/tmp105.pdf
  80. */
  81. tmp105@48 {
  82. compatible = "ti,tmp105";
  83. reg = <0x48>;
  84. };
  85. /*
  86. * Ambient Light Sensor
  87. * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
  88. */
  89. bh1780@29 {
  90. compatible = "rohm,bh1780";
  91. reg = <0x29>;
  92. };
  93. };
  94. &i2c4 {
  95. clock-frequency = <400000>;
  96. /*
  97. * 3-Axis Digital Compass
  98. * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
  99. */
  100. hmc5843@1e {
  101. compatible = "honeywell,hmc5843";
  102. reg = <0x1e>;
  103. };
  104. };
  105. &mcspi1 {
  106. eth@0 {
  107. compatible = "ks8851";
  108. spi-max-frequency = <24000000>;
  109. reg = <0>;
  110. interrupt-parent = <&gpio2>;
  111. interrupts = <2>; /* gpio line 34 */
  112. vdd-supply = <&vdd_eth>;
  113. };
  114. };
  115. &mmc1 {
  116. vmmc-supply = <&vmmc>;
  117. bus-width = <8>;
  118. };
  119. &mmc2 {
  120. vmmc-supply = <&vaux1>;
  121. bus-width = <8>;
  122. ti,non-removable;
  123. };
  124. &mmc3 {
  125. status = "disable";
  126. };
  127. &mmc4 {
  128. status = "disable";
  129. };
  130. &mmc5 {
  131. bus-width = <4>;
  132. ti,non-removable;
  133. };