ste-href.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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@80128000 {
  37. lp5521@33 {
  38. compatible = "national,lp5521";
  39. reg = <0x33>;
  40. label = "lp5521_pri";
  41. clock-mode = /bits/ 8 <2>;
  42. chan0 {
  43. led-cur = /bits/ 8 <0x2f>;
  44. max-cur = /bits/ 8 <0x5f>;
  45. linux,default-trigger = "heartbeat";
  46. };
  47. chan1 {
  48. led-cur = /bits/ 8 <0x2f>;
  49. max-cur = /bits/ 8 <0x5f>;
  50. };
  51. chan2 {
  52. led-cur = /bits/ 8 <0x2f>;
  53. max-cur = /bits/ 8 <0x5f>;
  54. };
  55. };
  56. lp5521@34 {
  57. compatible = "national,lp5521";
  58. reg = <0x34>;
  59. label = "lp5521_sec";
  60. clock-mode = /bits/ 8 <2>;
  61. chan0 {
  62. led-cur = /bits/ 8 <0x2f>;
  63. max-cur = /bits/ 8 <0x5f>;
  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. bh1780@29 {
  75. compatible = "rohm,bh1780gli";
  76. reg = <0x29>;
  77. };
  78. };
  79. // External Micro SD slot
  80. sdi0_per1@80126000 {
  81. arm,primecell-periphid = <0x10480180>;
  82. max-frequency = <100000000>;
  83. bus-width = <4>;
  84. mmc-cap-sd-highspeed;
  85. mmc-cap-mmc-highspeed;
  86. vmmc-supply = <&ab8500_ldo_aux3_reg>;
  87. vqmmc-supply = <&vmmci>;
  88. cd-gpios = <&tc3589x_gpio 3 0x4>;
  89. status = "okay";
  90. };
  91. // WLAN SDIO channel
  92. sdi1_per2@80118000 {
  93. arm,primecell-periphid = <0x10480180>;
  94. max-frequency = <100000000>;
  95. bus-width = <4>;
  96. status = "okay";
  97. };
  98. // PoP:ed eMMC
  99. sdi2_per3@80005000 {
  100. arm,primecell-periphid = <0x10480180>;
  101. max-frequency = <100000000>;
  102. bus-width = <8>;
  103. mmc-cap-mmc-highspeed;
  104. status = "okay";
  105. };
  106. // On-board eMMC
  107. sdi4_per2@80114000 {
  108. arm,primecell-periphid = <0x10480180>;
  109. max-frequency = <100000000>;
  110. bus-width = <8>;
  111. mmc-cap-mmc-highspeed;
  112. vmmc-supply = <&ab8500_ldo_aux2_reg>;
  113. status = "okay";
  114. };
  115. sound {
  116. compatible = "stericsson,snd-soc-mop500";
  117. stericsson,cpu-dai = <&msp1 &msp3>;
  118. stericsson,audio-codec = <&codec>;
  119. };
  120. msp1: msp@80124000 {
  121. status = "okay";
  122. };
  123. msp3: msp@80125000 {
  124. status = "okay";
  125. };
  126. prcmu@80157000 {
  127. ab8500 {
  128. ab8500-gpio {
  129. compatible = "stericsson,ab8500-gpio";
  130. };
  131. ab8500-regulators {
  132. ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
  133. regulator-name = "V-DISPLAY";
  134. };
  135. ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
  136. regulator-name = "V-eMMC1";
  137. };
  138. ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
  139. regulator-name = "V-MMC-SD";
  140. };
  141. ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
  142. regulator-name = "V-INTCORE";
  143. };
  144. ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
  145. regulator-name = "V-TVOUT";
  146. };
  147. ab8500_ldo_usb_reg: ab8500_ldo_usb {
  148. regulator-name = "dummy";
  149. };
  150. ab8500_ldo_audio_reg: ab8500_ldo_audio {
  151. regulator-name = "V-AUD";
  152. };
  153. ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
  154. regulator-name = "V-AMIC1";
  155. };
  156. ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
  157. regulator-name = "V-AMIC2";
  158. };
  159. ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
  160. regulator-name = "V-DMIC";
  161. };
  162. ab8500_ldo_ana_reg: ab8500_ldo_ana {
  163. regulator-name = "V-CSI/DSI";
  164. };
  165. };
  166. };
  167. };
  168. };
  169. };