ste-href.dtsi 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. /*
  2. * Copyright 2012 ST-Ericsson AB
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. #include "ste-dbx5x0.dtsi"
  13. / {
  14. memory {
  15. reg = <0x00000000 0x20000000>;
  16. };
  17. gpio_keys {
  18. compatible = "gpio-keys";
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. button@1 {
  22. linux,code = <11>;
  23. label = "SFH7741 Proximity Sensor";
  24. };
  25. };
  26. soc {
  27. uart@80120000 {
  28. status = "okay";
  29. };
  30. uart@80121000 {
  31. status = "okay";
  32. };
  33. uart@80007000 {
  34. status = "okay";
  35. };
  36. i2c@80004000 {
  37. tc3589x@42 {
  38. compatible = "tc3589x";
  39. reg = <0x42>;
  40. interrupt-parent = <&gpio6>;
  41. interrupts = <25 IRQ_TYPE_EDGE_RISING>;
  42. interrupt-controller;
  43. #interrupt-cells = <2>;
  44. tc3589x_gpio: tc3589x_gpio {
  45. compatible = "tc3589x-gpio";
  46. interrupts = <0 IRQ_TYPE_EDGE_RISING>;
  47. interrupt-controller;
  48. #interrupt-cells = <2>;
  49. gpio-controller;
  50. #gpio-cells = <2>;
  51. };
  52. };
  53. };
  54. i2c@80128000 {
  55. lp5521@33 {
  56. compatible = "national,lp5521";
  57. reg = <0x33>;
  58. label = "lp5521_pri";
  59. clock-mode = /bits/ 8 <2>;
  60. chan0 {
  61. led-cur = /bits/ 8 <0x2f>;
  62. max-cur = /bits/ 8 <0x5f>;
  63. linux,default-trigger = "heartbeat";
  64. };
  65. chan1 {
  66. led-cur = /bits/ 8 <0x2f>;
  67. max-cur = /bits/ 8 <0x5f>;
  68. };
  69. chan2 {
  70. led-cur = /bits/ 8 <0x2f>;
  71. max-cur = /bits/ 8 <0x5f>;
  72. };
  73. };
  74. lp5521@34 {
  75. compatible = "national,lp5521";
  76. reg = <0x34>;
  77. label = "lp5521_sec";
  78. clock-mode = /bits/ 8 <2>;
  79. chan0 {
  80. led-cur = /bits/ 8 <0x2f>;
  81. max-cur = /bits/ 8 <0x5f>;
  82. };
  83. chan1 {
  84. led-cur = /bits/ 8 <0x2f>;
  85. max-cur = /bits/ 8 <0x5f>;
  86. };
  87. chan2 {
  88. led-cur = /bits/ 8 <0x2f>;
  89. max-cur = /bits/ 8 <0x5f>;
  90. };
  91. };
  92. bh1780@29 {
  93. compatible = "rohm,bh1780gli";
  94. reg = <0x29>;
  95. };
  96. };
  97. // External Micro SD slot
  98. sdi0_per1@80126000 {
  99. arm,primecell-periphid = <0x10480180>;
  100. max-frequency = <100000000>;
  101. bus-width = <4>;
  102. mmc-cap-sd-highspeed;
  103. mmc-cap-mmc-highspeed;
  104. vmmc-supply = <&ab8500_ldo_aux3_reg>;
  105. vqmmc-supply = <&vmmci>;
  106. cd-gpios = <&tc3589x_gpio 3 0x4>;
  107. status = "okay";
  108. };
  109. // WLAN SDIO channel
  110. sdi1_per2@80118000 {
  111. arm,primecell-periphid = <0x10480180>;
  112. max-frequency = <100000000>;
  113. bus-width = <4>;
  114. status = "okay";
  115. };
  116. // PoP:ed eMMC
  117. sdi2_per3@80005000 {
  118. arm,primecell-periphid = <0x10480180>;
  119. max-frequency = <100000000>;
  120. bus-width = <8>;
  121. mmc-cap-mmc-highspeed;
  122. status = "okay";
  123. };
  124. // On-board eMMC
  125. sdi4_per2@80114000 {
  126. arm,primecell-periphid = <0x10480180>;
  127. max-frequency = <100000000>;
  128. bus-width = <8>;
  129. mmc-cap-mmc-highspeed;
  130. vmmc-supply = <&ab8500_ldo_aux2_reg>;
  131. status = "okay";
  132. };
  133. sound {
  134. compatible = "stericsson,snd-soc-mop500";
  135. stericsson,cpu-dai = <&msp1 &msp3>;
  136. stericsson,audio-codec = <&codec>;
  137. };
  138. msp1: msp@80124000 {
  139. status = "okay";
  140. };
  141. msp3: msp@80125000 {
  142. status = "okay";
  143. };
  144. prcmu@80157000 {
  145. ab8500 {
  146. ab8500-gpio {
  147. compatible = "stericsson,ab8500-gpio";
  148. };
  149. ab8500-regulators {
  150. ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
  151. regulator-name = "V-DISPLAY";
  152. };
  153. ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
  154. regulator-name = "V-eMMC1";
  155. };
  156. ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
  157. regulator-name = "V-MMC-SD";
  158. };
  159. ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
  160. regulator-name = "V-INTCORE";
  161. };
  162. ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
  163. regulator-name = "V-TVOUT";
  164. };
  165. ab8500_ldo_usb_reg: ab8500_ldo_usb {
  166. regulator-name = "dummy";
  167. };
  168. ab8500_ldo_audio_reg: ab8500_ldo_audio {
  169. regulator-name = "V-AUD";
  170. };
  171. ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
  172. regulator-name = "V-AMIC1";
  173. };
  174. ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
  175. regulator-name = "V-AMIC2";
  176. };
  177. ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
  178. regulator-name = "V-DMIC";
  179. };
  180. ab8500_ldo_ana_reg: ab8500_ldo_ana {
  181. regulator-name = "V-CSI/DSI";
  182. };
  183. };
  184. };
  185. };
  186. };
  187. };