cros5250-common.dtsi 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. /*
  2. * Common device tree include for all Exynos 5250 boards based off of Daisy.
  3. *
  4. * Copyright (c) 2012 Google, Inc
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. / {
  11. aliases {
  12. };
  13. memory {
  14. reg = <0x40000000 0x80000000>;
  15. };
  16. chosen {
  17. };
  18. i2c@12C60000 {
  19. samsung,i2c-sda-delay = <100>;
  20. samsung,i2c-max-bus-freq = <378000>;
  21. gpios = <&gpb3 0 2 3 0>,
  22. <&gpb3 1 2 3 0>;
  23. max77686@09 {
  24. compatible = "maxim,max77686";
  25. reg = <0x09>;
  26. voltage-regulators {
  27. ldo1_reg: LDO1 {
  28. regulator-name = "P1.0V_LDO_OUT1";
  29. regulator-min-microvolt = <1000000>;
  30. regulator-max-microvolt = <1000000>;
  31. regulator-always-on;
  32. };
  33. ldo2_reg: LDO2 {
  34. regulator-name = "P1.8V_LDO_OUT2";
  35. regulator-min-microvolt = <1800000>;
  36. regulator-max-microvolt = <1800000>;
  37. regulator-always-on;
  38. };
  39. ldo3_reg: LDO3 {
  40. regulator-name = "P1.8V_LDO_OUT3";
  41. regulator-min-microvolt = <1800000>;
  42. regulator-max-microvolt = <1800000>;
  43. regulator-always-on;
  44. };
  45. ldo7_reg: LDO7 {
  46. regulator-name = "P1.1V_LDO_OUT7";
  47. regulator-min-microvolt = <1100000>;
  48. regulator-max-microvolt = <1100000>;
  49. regulator-always-on;
  50. };
  51. ldo8_reg: LDO8 {
  52. regulator-name = "P1.0V_LDO_OUT8";
  53. regulator-min-microvolt = <1000000>;
  54. regulator-max-microvolt = <1000000>;
  55. regulator-always-on;
  56. };
  57. ldo10_reg: LDO10 {
  58. regulator-name = "P1.8V_LDO_OUT10";
  59. regulator-min-microvolt = <1800000>;
  60. regulator-max-microvolt = <1800000>;
  61. regulator-always-on;
  62. };
  63. ldo12_reg: LDO12 {
  64. regulator-name = "P3.0V_LDO_OUT12";
  65. regulator-min-microvolt = <3000000>;
  66. regulator-max-microvolt = <3000000>;
  67. regulator-always-on;
  68. };
  69. ldo14_reg: LDO14 {
  70. regulator-name = "P1.8V_LDO_OUT14";
  71. regulator-min-microvolt = <1800000>;
  72. regulator-max-microvolt = <1800000>;
  73. regulator-always-on;
  74. };
  75. ldo15_reg: LDO15 {
  76. regulator-name = "P1.0V_LDO_OUT15";
  77. regulator-min-microvolt = <1000000>;
  78. regulator-max-microvolt = <1000000>;
  79. regulator-always-on;
  80. };
  81. ldo16_reg: LDO16 {
  82. regulator-name = "P1.8V_LDO_OUT16";
  83. regulator-min-microvolt = <1800000>;
  84. regulator-max-microvolt = <1800000>;
  85. regulator-always-on;
  86. };
  87. buck1_reg: BUCK1 {
  88. regulator-name = "vdd_mif";
  89. regulator-min-microvolt = <950000>;
  90. regulator-max-microvolt = <1300000>;
  91. regulator-always-on;
  92. regulator-boot-on;
  93. };
  94. buck2_reg: BUCK2 {
  95. regulator-name = "vdd_arm";
  96. regulator-min-microvolt = <850000>;
  97. regulator-max-microvolt = <1350000>;
  98. regulator-always-on;
  99. regulator-boot-on;
  100. };
  101. buck3_reg: BUCK3 {
  102. regulator-name = "vdd_int";
  103. regulator-min-microvolt = <900000>;
  104. regulator-max-microvolt = <1200000>;
  105. regulator-always-on;
  106. regulator-boot-on;
  107. };
  108. buck4_reg: BUCK4 {
  109. regulator-name = "vdd_g3d";
  110. regulator-min-microvolt = <850000>;
  111. regulator-max-microvolt = <1300000>;
  112. regulator-always-on;
  113. regulator-boot-on;
  114. };
  115. buck5_reg: BUCK5 {
  116. regulator-name = "P1.8V_BUCK_OUT5";
  117. regulator-min-microvolt = <1800000>;
  118. regulator-max-microvolt = <1800000>;
  119. regulator-always-on;
  120. regulator-boot-on;
  121. };
  122. buck6_reg: BUCK6 {
  123. regulator-name = "P1.35V_BUCK_OUT6";
  124. regulator-min-microvolt = <1350000>;
  125. regulator-max-microvolt = <1350000>;
  126. regulator-always-on;
  127. };
  128. buck7_reg: BUCK7 {
  129. regulator-name = "P2.0V_BUCK_OUT7";
  130. regulator-min-microvolt = <2000000>;
  131. regulator-max-microvolt = <2000000>;
  132. regulator-always-on;
  133. };
  134. buck8_reg: BUCK8 {
  135. regulator-name = "P2.85V_BUCK_OUT8";
  136. regulator-min-microvolt = <2850000>;
  137. regulator-max-microvolt = <2850000>;
  138. regulator-always-on;
  139. };
  140. };
  141. };
  142. };
  143. i2c@12C70000 {
  144. samsung,i2c-sda-delay = <100>;
  145. samsung,i2c-max-bus-freq = <378000>;
  146. gpios = <&gpb3 2 2 3 0>,
  147. <&gpb3 3 2 3 0>;
  148. };
  149. i2c@12C80000 {
  150. samsung,i2c-sda-delay = <100>;
  151. samsung,i2c-max-bus-freq = <66000>;
  152. /*
  153. * Disabled pullups since external part has its own pullups and
  154. * double-pulling gets us out of spec in some cases.
  155. */
  156. gpios = <&gpa0 6 3 0 0>,
  157. <&gpa0 7 3 0 0>;
  158. hdmiddc@50 {
  159. compatible = "samsung,exynos5-hdmiddc";
  160. reg = <0x50>;
  161. };
  162. };
  163. i2c@12C90000 {
  164. samsung,i2c-sda-delay = <100>;
  165. samsung,i2c-max-bus-freq = <66000>;
  166. gpios = <&gpa1 2 3 3 0>,
  167. <&gpa1 3 3 3 0>;
  168. };
  169. i2c@12CA0000 {
  170. status = "disabled";
  171. };
  172. i2c@12CB0000 {
  173. samsung,i2c-sda-delay = <100>;
  174. samsung,i2c-max-bus-freq = <66000>;
  175. gpios = <&gpa2 2 3 3 0>,
  176. <&gpa2 3 3 3 0>;
  177. };
  178. i2c@12CC0000 {
  179. status = "disabled";
  180. };
  181. i2c@12CD0000 {
  182. samsung,i2c-sda-delay = <100>;
  183. samsung,i2c-max-bus-freq = <66000>;
  184. gpios = <&gpb2 2 3 3 0>,
  185. <&gpb2 3 3 3 0>;
  186. };
  187. i2c@12CE0000 {
  188. samsung,i2c-sda-delay = <100>;
  189. samsung,i2c-max-bus-freq = <378000>;
  190. hdmiphy@38 {
  191. compatible = "samsung,exynos5-hdmiphy";
  192. reg = <0x38>;
  193. };
  194. };
  195. dwmmc0@12200000 {
  196. num-slots = <1>;
  197. supports-highspeed;
  198. broken-cd;
  199. fifo-depth = <0x80>;
  200. card-detect-delay = <200>;
  201. samsung,dw-mshc-ciu-div = <3>;
  202. samsung,dw-mshc-sdr-timing = <2 3>;
  203. samsung,dw-mshc-ddr-timing = <1 2>;
  204. slot@0 {
  205. reg = <0>;
  206. bus-width = <8>;
  207. gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
  208. <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
  209. <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
  210. <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
  211. <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
  212. };
  213. };
  214. dwmmc1@12210000 {
  215. status = "disabled";
  216. };
  217. dwmmc2@12220000 {
  218. num-slots = <1>;
  219. supports-highspeed;
  220. fifo-depth = <0x80>;
  221. card-detect-delay = <200>;
  222. samsung,dw-mshc-ciu-div = <3>;
  223. samsung,dw-mshc-sdr-timing = <2 3>;
  224. samsung,dw-mshc-ddr-timing = <1 2>;
  225. slot@0 {
  226. reg = <0>;
  227. bus-width = <4>;
  228. samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>;
  229. wp-gpios = <&gpc2 1 0 0 3>;
  230. gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>,
  231. <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
  232. <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>;
  233. };
  234. };
  235. dwmmc3@12230000 {
  236. num-slots = <1>;
  237. supports-highspeed;
  238. broken-cd;
  239. fifo-depth = <0x80>;
  240. card-detect-delay = <200>;
  241. samsung,dw-mshc-ciu-div = <3>;
  242. samsung,dw-mshc-sdr-timing = <2 3>;
  243. samsung,dw-mshc-ddr-timing = <1 2>;
  244. slot@0 {
  245. reg = <0>;
  246. bus-width = <4>;
  247. /* See board-specific dts files for GPIOs */
  248. };
  249. };
  250. spi_0: spi@12d20000 {
  251. status = "disabled";
  252. };
  253. spi_1: spi@12d30000 {
  254. gpios = <&gpa2 4 2 3 0>,
  255. <&gpa2 6 2 3 0>,
  256. <&gpa2 7 2 3 0>;
  257. samsung,spi-src-clk = <0>;
  258. num-cs = <1>;
  259. };
  260. spi_2: spi@12d40000 {
  261. status = "disabled";
  262. };
  263. hdmi {
  264. hpd-gpio = <&gpx3 7 0xf 1 3>;
  265. };
  266. gpio-keys {
  267. compatible = "gpio-keys";
  268. power {
  269. label = "Power";
  270. gpios = <&gpx1 3 0 0x10000 0>;
  271. linux,code = <116>; /* KEY_POWER */
  272. gpio-key,wakeup;
  273. };
  274. };
  275. };