exynos4210-trats.dts 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. /*
  2. * Samsung's Exynos4210 based Trats board device tree source
  3. *
  4. * Copyright (c) 2012 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * Device tree source file for Samsung's Trats board which is based on
  8. * Samsung's Exynos4210 SoC.
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. /dts-v1/;
  15. /include/ "exynos4210.dtsi"
  16. / {
  17. model = "Samsung Trats based on Exynos4210";
  18. compatible = "samsung,trats", "samsung,exynos4210";
  19. memory {
  20. reg = <0x40000000 0x10000000
  21. 0x50000000 0x10000000
  22. 0x60000000 0x10000000
  23. 0x70000000 0x10000000>;
  24. };
  25. chosen {
  26. bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
  27. };
  28. vemmc_reg: voltage-regulator@0 {
  29. compatible = "regulator-fixed";
  30. regulator-name = "VMEM_VDD_2.8V";
  31. regulator-min-microvolt = <2800000>;
  32. regulator-max-microvolt = <2800000>;
  33. gpio = <&gpk0 2 0>;
  34. enable-active-high;
  35. };
  36. sdhci_emmc: sdhci@12510000 {
  37. bus-width = <8>;
  38. non-removable;
  39. broken-voltage;
  40. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
  41. pinctrl-names = "default";
  42. vmmc-supply = <&vemmc_reg>;
  43. status = "okay";
  44. };
  45. serial@13800000 {
  46. status = "okay";
  47. };
  48. serial@13810000 {
  49. status = "okay";
  50. };
  51. serial@13820000 {
  52. status = "okay";
  53. };
  54. serial@13830000 {
  55. status = "okay";
  56. };
  57. gpio-keys {
  58. compatible = "gpio-keys";
  59. vol-down-key {
  60. gpios = <&gpx2 1 1>;
  61. linux,code = <114>;
  62. label = "volume down";
  63. debounce-interval = <10>;
  64. };
  65. vol-up-key {
  66. gpios = <&gpx2 0 1>;
  67. linux,code = <115>;
  68. label = "volume up";
  69. debounce-interval = <10>;
  70. };
  71. power-key {
  72. gpios = <&gpx2 7 1>;
  73. linux,code = <116>;
  74. label = "power";
  75. debounce-interval = <10>;
  76. gpio-key,wakeup;
  77. };
  78. ok-key {
  79. gpios = <&gpx3 5 1>;
  80. linux,code = <352>;
  81. label = "ok";
  82. debounce-interval = <10>;
  83. };
  84. };
  85. tsp_reg: voltage-regulator {
  86. compatible = "regulator-fixed";
  87. regulator-name = "TSP_FIXED_VOLTAGES";
  88. regulator-min-microvolt = <2800000>;
  89. regulator-max-microvolt = <2800000>;
  90. gpio = <&gpl0 3 0>;
  91. enable-active-high;
  92. };
  93. i2c@13890000 {
  94. samsung,i2c-sda-delay = <100>;
  95. samsung,i2c-slave-addr = <0x10>;
  96. samsung,i2c-max-bus-freq = <400000>;
  97. pinctrl-0 = <&i2c3_bus>;
  98. pinctrl-names = "default";
  99. status = "okay";
  100. mms114-touchscreen@48 {
  101. compatible = "melfas,mms114";
  102. reg = <0x48>;
  103. interrupt-parent = <&gpx0>;
  104. interrupts = <4 2>;
  105. x-size = <720>;
  106. y-size = <1280>;
  107. avdd-supply = <&tsp_reg>;
  108. vdd-supply = <&tsp_reg>;
  109. };
  110. };
  111. i2c@138B0000 {
  112. samsung,i2c-sda-delay = <100>;
  113. samsung,i2c-slave-addr = <0x10>;
  114. samsung,i2c-max-bus-freq = <100000>;
  115. pinctrl-0 = <&i2c5_bus>;
  116. pinctrl-names = "default";
  117. status = "okay";
  118. max8997_pmic@66 {
  119. compatible = "maxim,max8997-pmic";
  120. reg = <0x66>;
  121. max8997,pmic-buck1-uses-gpio-dvs;
  122. max8997,pmic-buck2-uses-gpio-dvs;
  123. max8997,pmic-buck5-uses-gpio-dvs;
  124. max8997,pmic-ignore-gpiodvs-side-effect;
  125. max8997,pmic-buck125-default-dvs-idx = <0>;
  126. max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>,
  127. <&gpx0 6 0>,
  128. <&gpl0 0 0>;
  129. max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
  130. <1250000>, <1200000>,
  131. <1150000>, <1100000>,
  132. <1000000>, <950000>;
  133. max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
  134. <950000>, <900000>,
  135. <1100000>, <1000000>,
  136. <950000>, <900000>;
  137. max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
  138. <1200000>, <1200000>,
  139. <1200000>, <1200000>,
  140. <1200000>, <1200000>;
  141. regulators {
  142. valive_reg: LDO2 {
  143. regulator-name = "VALIVE_1.1V_C210";
  144. regulator-min-microvolt = <1100000>;
  145. regulator-max-microvolt = <1100000>;
  146. regulator-always-on;
  147. };
  148. vusb_reg: LDO3 {
  149. regulator-name = "VUSB_1.1V_C210";
  150. regulator-min-microvolt = <1100000>;
  151. regulator-max-microvolt = <1100000>;
  152. };
  153. vmipi_reg: LDO4 {
  154. regulator-name = "VMIPI_1.8V";
  155. regulator-min-microvolt = <1800000>;
  156. regulator-max-microvolt = <1800000>;
  157. };
  158. vpda_reg: LDO6 {
  159. regulator-name = "VCC_1.8V_PDA";
  160. regulator-min-microvolt = <1800000>;
  161. regulator-max-microvolt = <1800000>;
  162. regulator-always-on;
  163. };
  164. vcam_reg: LDO7 {
  165. regulator-name = "CAM_ISP_1.8V";
  166. regulator-min-microvolt = <1800000>;
  167. regulator-max-microvolt = <1800000>;
  168. };
  169. vusbdac_reg: LDO8 {
  170. regulator-name = "VUSB/VDAC_3.3V_C210";
  171. regulator-min-microvolt = <3300000>;
  172. regulator-max-microvolt = <3300000>;
  173. };
  174. vccpda_reg: LDO9 {
  175. regulator-name = "VCC_2.8V_PDA";
  176. regulator-min-microvolt = <2800000>;
  177. regulator-max-microvolt = <2800000>;
  178. regulator-always-on;
  179. };
  180. vpll_reg: LDO10 {
  181. regulator-name = "VPLL_1.1V_C210";
  182. regulator-min-microvolt = <1100000>;
  183. regulator-max-microvolt = <1100000>;
  184. regulator-always-on;
  185. };
  186. vcclcd_reg: LDO13 {
  187. regulator-name = "VCC_3.3V_LCD";
  188. regulator-min-microvolt = <3300000>;
  189. regulator-max-microvolt = <3300000>;
  190. };
  191. vlcd_reg: LDO15 {
  192. regulator-name = "VLCD_2.2V";
  193. regulator-min-microvolt = <2200000>;
  194. regulator-max-microvolt = <2200000>;
  195. };
  196. camsensor_reg: LDO16 {
  197. regulator-name = "CAM_SENSOR_IO_1.8V";
  198. regulator-min-microvolt = <1800000>;
  199. regulator-max-microvolt = <1800000>;
  200. };
  201. vddq_reg: LDO21 {
  202. regulator-name = "VDDQ_M1M2_1.2V";
  203. regulator-min-microvolt = <1200000>;
  204. regulator-max-microvolt = <1200000>;
  205. regulator-always-on;
  206. };
  207. varm_breg: BUCK1 {
  208. regulator-name = "VARM_1.2V_C210";
  209. regulator-min-microvolt = <900000>;
  210. regulator-max-microvolt = <1350000>;
  211. regulator-always-on;
  212. };
  213. vint_breg: BUCK2 {
  214. regulator-name = "VINT_1.1V_C210";
  215. regulator-min-microvolt = <900000>;
  216. regulator-max-microvolt = <1100000>;
  217. regulator-always-on;
  218. };
  219. camisp_breg: BUCK4 {
  220. regulator-name = "CAM_ISP_CORE_1.2V";
  221. regulator-min-microvolt = <1200000>;
  222. regulator-max-microvolt = <1200000>;
  223. };
  224. vmem_breg: BUCK5 {
  225. regulator-name = "VMEM_1.2V_C210";
  226. regulator-min-microvolt = <1200000>;
  227. regulator-max-microvolt = <1200000>;
  228. regulator-always-on;
  229. };
  230. vccsub_breg: BUCK7 {
  231. regulator-name = "VCC_SUB_2.0V";
  232. regulator-min-microvolt = <2000000>;
  233. regulator-max-microvolt = <2000000>;
  234. regulator-always-on;
  235. };
  236. safe1_sreg: ESAFEOUT1 {
  237. regulator-name = "SAFEOUT1";
  238. regulator-always-on;
  239. };
  240. safe2_sreg: ESAFEOUT2 {
  241. regulator-name = "SAFEOUT2";
  242. regulator-boot-on;
  243. };
  244. };
  245. };
  246. };
  247. };