snowball.dts 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. /*
  2. * Copyright 2011 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. /dts-v1/;
  12. /include/ "dbx5x0.dtsi"
  13. / {
  14. model = "Calao Systems Snowball platform with device tree";
  15. compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
  16. memory {
  17. reg = <0x00000000 0x20000000>;
  18. };
  19. en_3v3_reg: en_3v3 {
  20. compatible = "regulator-fixed";
  21. regulator-name = "en-3v3-fixed-supply";
  22. regulator-min-microvolt = <3300000>;
  23. regulator-max-microvolt = <3300000>;
  24. gpios = <&gpio0 26 0x4>; // 26
  25. startup-delay-us = <5000>;
  26. enable-active-high;
  27. };
  28. gpio_keys {
  29. compatible = "gpio-keys";
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. button@1 {
  33. debounce_interval = <50>;
  34. wakeup = <1>;
  35. linux,code = <2>;
  36. label = "userpb";
  37. gpios = <&gpio1 0 0x4>;
  38. };
  39. button@2 {
  40. debounce_interval = <50>;
  41. wakeup = <1>;
  42. linux,code = <3>;
  43. label = "extkb1";
  44. gpios = <&gpio4 23 0x4>;
  45. };
  46. button@3 {
  47. debounce_interval = <50>;
  48. wakeup = <1>;
  49. linux,code = <4>;
  50. label = "extkb2";
  51. gpios = <&gpio4 24 0x4>;
  52. };
  53. button@4 {
  54. debounce_interval = <50>;
  55. wakeup = <1>;
  56. linux,code = <5>;
  57. label = "extkb3";
  58. gpios = <&gpio5 1 0x4>;
  59. };
  60. button@5 {
  61. debounce_interval = <50>;
  62. wakeup = <1>;
  63. linux,code = <6>;
  64. label = "extkb4";
  65. gpios = <&gpio5 2 0x4>;
  66. };
  67. };
  68. leds {
  69. compatible = "gpio-leds";
  70. used-led {
  71. label = "user_led";
  72. gpios = <&gpio4 14 0x4>;
  73. default-state = "on";
  74. linux,default-trigger = "heartbeat";
  75. };
  76. };
  77. soc {
  78. sound {
  79. compatible = "stericsson,snd-soc-mop500";
  80. stericsson,cpu-dai = <&msp1 &msp3>;
  81. stericsson,audio-codec = <&codec>;
  82. };
  83. msp1: msp@80124000 {
  84. status = "okay";
  85. };
  86. msp3: msp@80125000 {
  87. status = "okay";
  88. };
  89. external-bus@50000000 {
  90. status = "okay";
  91. ethernet@0 {
  92. compatible = "smsc,lan9115";
  93. reg = <0 0x10000>;
  94. interrupts = <12 0x1>;
  95. interrupt-parent = <&gpio4>;
  96. vdd33a-supply = <&en_3v3_reg>;
  97. vddvario-supply = <&db8500_vape_reg>;
  98. reg-shift = <1>;
  99. reg-io-width = <2>;
  100. smsc,force-internal-phy;
  101. smsc,irq-active-high;
  102. smsc,irq-push-pull;
  103. };
  104. };
  105. vmmci: regulator-gpio {
  106. gpios = <&gpio6 25 0x4>;
  107. enable-gpio = <&gpio7 4 0x4>;
  108. status = "okay";
  109. };
  110. // External Micro SD slot
  111. sdi0_per1@80126000 {
  112. arm,primecell-periphid = <0x10480180>;
  113. max-frequency = <50000000>;
  114. bus-width = <4>;
  115. mmc-cap-mmc-highspeed;
  116. vmmc-supply = <&ab8500_ldo_aux3_reg>;
  117. vqmmc-supply = <&vmmci>;
  118. cd-gpios = <&gpio6 26 0x4>; // 218
  119. cd-inverted;
  120. status = "okay";
  121. };
  122. // On-board eMMC
  123. sdi4_per2@80114000 {
  124. arm,primecell-periphid = <0x10480180>;
  125. max-frequency = <50000000>;
  126. bus-width = <8>;
  127. mmc-cap-mmc-highspeed;
  128. vmmc-supply = <&ab8500_ldo_aux2_reg>;
  129. status = "okay";
  130. };
  131. uart@80120000 {
  132. status = "okay";
  133. };
  134. uart@80121000 {
  135. status = "okay";
  136. };
  137. uart@80007000 {
  138. status = "okay";
  139. };
  140. i2c@80004000 {
  141. tc3589x@42 {
  142. //compatible = "tc3589x";
  143. reg = <0x42>;
  144. gpios = <&gpio6 25 0x4>;
  145. interrupt-parent = <&gpio6>;
  146. };
  147. tps61052@33 {
  148. //compatible = "tps61052";
  149. reg = <0x33>;
  150. };
  151. };
  152. i2c@80128000 {
  153. lp5521@0x33 {
  154. // compatible = "lp5521";
  155. reg = <0x33>;
  156. };
  157. lp5521@0x34 {
  158. // compatible = "lp5521";
  159. reg = <0x34>;
  160. };
  161. bh1780@0x29 {
  162. // compatible = "rohm,bh1780gli";
  163. reg = <0x33>;
  164. };
  165. };
  166. cpufreq-cooling {
  167. status = "okay";
  168. };
  169. prcmu@80157000 {
  170. db8500-prcmu-regulators {
  171. db8500_vape_reg: db8500_vape {
  172. regulator-name = "db8500-vape";
  173. };
  174. db8500_varm_reg: db8500_varm {
  175. regulator-name = "db8500-varm";
  176. };
  177. db8500_vmodem_reg: db8500_vmodem {
  178. regulator-name = "db8500-vmodem";
  179. };
  180. db8500_vpll_reg: db8500_vpll {
  181. regulator-name = "db8500-vpll";
  182. };
  183. db8500_vsmps1_reg: db8500_vsmps1 {
  184. regulator-name = "db8500-vsmps1";
  185. };
  186. db8500_vsmps2_reg: db8500_vsmps2 {
  187. regulator-name = "db8500-vsmps2";
  188. };
  189. db8500_vsmps3_reg: db8500_vsmps3 {
  190. regulator-name = "db8500-vsmps3";
  191. };
  192. db8500_vrf1_reg: db8500_vrf1 {
  193. regulator-name = "db8500-vrf1";
  194. };
  195. db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
  196. regulator-name = "db8500-sva-mmdsp";
  197. };
  198. db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
  199. regulator-name = "db8500-sva-mmdsp-ret";
  200. };
  201. db8500_sva_pipe_reg: db8500_sva_pipe {
  202. regulator-name = "db8500_sva_pipe";
  203. };
  204. db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
  205. regulator-name = "db8500_sia_mmdsp";
  206. };
  207. db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
  208. regulator-name = "db8500-sia-mmdsp-ret";
  209. };
  210. db8500_sia_pipe_reg: db8500_sia_pipe {
  211. regulator-name = "db8500-sia-pipe";
  212. };
  213. db8500_sga_reg: db8500_sga {
  214. regulator-name = "db8500-sga";
  215. };
  216. db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
  217. regulator-name = "db8500-b2r2-mcde";
  218. };
  219. db8500_esram12_reg: db8500_esram12 {
  220. regulator-name = "db8500-esram12";
  221. };
  222. db8500_esram12_ret_reg: db8500_esram12_ret {
  223. regulator-name = "db8500-esram12-ret";
  224. };
  225. db8500_esram34_reg: db8500_esram34 {
  226. regulator-name = "db8500-esram34";
  227. };
  228. db8500_esram34_ret_reg: db8500_esram34_ret {
  229. regulator-name = "db8500-esram34-ret";
  230. };
  231. };
  232. thermal@801573c0 {
  233. num-trips = <4>;
  234. trip0-temp = <70000>;
  235. trip0-type = "active";
  236. trip0-cdev-num = <1>;
  237. trip0-cdev-name0 = "thermal-cpufreq-0";
  238. trip1-temp = <75000>;
  239. trip1-type = "active";
  240. trip1-cdev-num = <1>;
  241. trip1-cdev-name0 = "thermal-cpufreq-0";
  242. trip2-temp = <80000>;
  243. trip2-type = "active";
  244. trip2-cdev-num = <1>;
  245. trip2-cdev-name0 = "thermal-cpufreq-0";
  246. trip3-temp = <85000>;
  247. trip3-type = "critical";
  248. trip3-cdev-num = <0>;
  249. status = "okay";
  250. };
  251. ab8500 {
  252. ab8500-gpio {
  253. compatible = "stericsson,ab8500-gpio";
  254. };
  255. ab8500-regulators {
  256. ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
  257. regulator-name = "V-DISPLAY";
  258. };
  259. ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
  260. regulator-name = "V-eMMC1";
  261. };
  262. ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
  263. regulator-name = "V-MMC-SD";
  264. };
  265. ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
  266. regulator-name = "V-INTCORE";
  267. };
  268. ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
  269. regulator-name = "V-TVOUT";
  270. };
  271. ab8500_ldo_usb_reg: ab8500_ldo_usb {
  272. regulator-name = "dummy";
  273. };
  274. ab8500_ldo_audio_reg: ab8500_ldo_audio {
  275. regulator-name = "V-AUD";
  276. };
  277. ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
  278. regulator-name = "V-AMIC1";
  279. };
  280. ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 {
  281. regulator-name = "V-AMIC2";
  282. };
  283. ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
  284. regulator-name = "V-DMIC";
  285. };
  286. ab8500_ldo_ana_reg: ab8500_ldo_ana {
  287. regulator-name = "V-CSI/DSI";
  288. };
  289. };
  290. };
  291. };
  292. cryp@a03cb000 {
  293. status = "okay";
  294. };
  295. hash@a03c2000 {
  296. status = "okay";
  297. };
  298. };
  299. };