exynos4210-trats.dts 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
  40. pinctrl-names = "default";
  41. vmmc-supply = <&vemmc_reg>;
  42. status = "okay";
  43. };
  44. serial@13800000 {
  45. status = "okay";
  46. };
  47. serial@13810000 {
  48. status = "okay";
  49. };
  50. serial@13820000 {
  51. status = "okay";
  52. };
  53. serial@13830000 {
  54. status = "okay";
  55. };
  56. gpio-keys {
  57. compatible = "gpio-keys";
  58. vol-down-key {
  59. gpios = <&gpx2 1 1>;
  60. linux,code = <114>;
  61. label = "volume down";
  62. debounce-interval = <10>;
  63. };
  64. vol-up-key {
  65. gpios = <&gpx2 0 1>;
  66. linux,code = <115>;
  67. label = "volume up";
  68. debounce-interval = <10>;
  69. };
  70. power-key {
  71. gpios = <&gpx2 7 1>;
  72. linux,code = <116>;
  73. label = "power";
  74. debounce-interval = <10>;
  75. gpio-key,wakeup;
  76. };
  77. ok-key {
  78. gpios = <&gpx3 5 1>;
  79. linux,code = <352>;
  80. label = "ok";
  81. debounce-interval = <10>;
  82. };
  83. };
  84. tsp_reg: voltage-regulator {
  85. compatible = "regulator-fixed";
  86. regulator-name = "TSP_FIXED_VOLTAGES";
  87. regulator-min-microvolt = <2800000>;
  88. regulator-max-microvolt = <2800000>;
  89. gpio = <&gpl0 3 0>;
  90. enable-active-high;
  91. };
  92. i2c@13890000 {
  93. samsung,i2c-sda-delay = <100>;
  94. samsung,i2c-slave-addr = <0x10>;
  95. samsung,i2c-max-bus-freq = <400000>;
  96. pinctrl-0 = <&i2c3_bus>;
  97. pinctrl-names = "default";
  98. status = "okay";
  99. mms114-touchscreen@48 {
  100. compatible = "melfas,mms114";
  101. reg = <0x48>;
  102. interrupt-parent = <&gpx0>;
  103. interrupts = <4 2>;
  104. x-size = <720>;
  105. y-size = <1280>;
  106. avdd-supply = <&tsp_reg>;
  107. vdd-supply = <&tsp_reg>;
  108. };
  109. };
  110. i2c@138B0000 {
  111. samsung,i2c-sda-delay = <100>;
  112. samsung,i2c-slave-addr = <0x10>;
  113. samsung,i2c-max-bus-freq = <100000>;
  114. pinctrl-0 = <&i2c5_bus>;
  115. pinctrl-names = "default";
  116. status = "okay";
  117. max8997_pmic@66 {
  118. compatible = "maxim,max8997-pmic";
  119. reg = <0x66>;
  120. max8997,pmic-buck1-uses-gpio-dvs;
  121. max8997,pmic-buck2-uses-gpio-dvs;
  122. max8997,pmic-buck5-uses-gpio-dvs;
  123. max8997,pmic-ignore-gpiodvs-side-effect;
  124. max8997,pmic-buck125-default-dvs-idx = <0>;
  125. max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>,
  126. <&gpx0 6 0>,
  127. <&gpl0 0 0>;
  128. max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
  129. <1250000>, <1200000>,
  130. <1150000>, <1100000>,
  131. <1000000>, <950000>;
  132. max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
  133. <950000>, <900000>,
  134. <1100000>, <1000000>,
  135. <950000>, <900000>;
  136. max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
  137. <1200000>, <1200000>,
  138. <1200000>, <1200000>,
  139. <1200000>, <1200000>;
  140. regulators {
  141. valive_reg: LDO2 {
  142. regulator-name = "VALIVE_1.1V_C210";
  143. regulator-min-microvolt = <1100000>;
  144. regulator-max-microvolt = <1100000>;
  145. regulator-always-on;
  146. };
  147. vusb_reg: LDO3 {
  148. regulator-name = "VUSB_1.1V_C210";
  149. regulator-min-microvolt = <1100000>;
  150. regulator-max-microvolt = <1100000>;
  151. };
  152. vmipi_reg: LDO4 {
  153. regulator-name = "VMIPI_1.8V";
  154. regulator-min-microvolt = <1800000>;
  155. regulator-max-microvolt = <1800000>;
  156. };
  157. vpda_reg: LDO6 {
  158. regulator-name = "VCC_1.8V_PDA";
  159. regulator-min-microvolt = <1800000>;
  160. regulator-max-microvolt = <1800000>;
  161. regulator-always-on;
  162. };
  163. vcam_reg: LDO7 {
  164. regulator-name = "CAM_ISP_1.8V";
  165. regulator-min-microvolt = <1800000>;
  166. regulator-max-microvolt = <1800000>;
  167. };
  168. vusbdac_reg: LDO8 {
  169. regulator-name = "VUSB/VDAC_3.3V_C210";
  170. regulator-min-microvolt = <3300000>;
  171. regulator-max-microvolt = <3300000>;
  172. };
  173. vccpda_reg: LDO9 {
  174. regulator-name = "VCC_2.8V_PDA";
  175. regulator-min-microvolt = <2800000>;
  176. regulator-max-microvolt = <2800000>;
  177. regulator-always-on;
  178. };
  179. vpll_reg: LDO10 {
  180. regulator-name = "VPLL_1.1V_C210";
  181. regulator-min-microvolt = <1100000>;
  182. regulator-max-microvolt = <1100000>;
  183. regulator-always-on;
  184. };
  185. vcclcd_reg: LDO13 {
  186. regulator-name = "VCC_3.3V_LCD";
  187. regulator-min-microvolt = <3300000>;
  188. regulator-max-microvolt = <3300000>;
  189. };
  190. vlcd_reg: LDO15 {
  191. regulator-name = "VLCD_2.2V";
  192. regulator-min-microvolt = <2200000>;
  193. regulator-max-microvolt = <2200000>;
  194. };
  195. camsensor_reg: LDO16 {
  196. regulator-name = "CAM_SENSOR_IO_1.8V";
  197. regulator-min-microvolt = <1800000>;
  198. regulator-max-microvolt = <1800000>;
  199. };
  200. vddq_reg: LDO21 {
  201. regulator-name = "VDDQ_M1M2_1.2V";
  202. regulator-min-microvolt = <1200000>;
  203. regulator-max-microvolt = <1200000>;
  204. regulator-always-on;
  205. };
  206. varm_breg: BUCK1 {
  207. regulator-name = "VARM_1.2V_C210";
  208. regulator-min-microvolt = <900000>;
  209. regulator-max-microvolt = <1350000>;
  210. regulator-always-on;
  211. };
  212. vint_breg: BUCK2 {
  213. regulator-name = "VINT_1.1V_C210";
  214. regulator-min-microvolt = <900000>;
  215. regulator-max-microvolt = <1100000>;
  216. regulator-always-on;
  217. };
  218. camisp_breg: BUCK4 {
  219. regulator-name = "CAM_ISP_CORE_1.2V";
  220. regulator-min-microvolt = <1200000>;
  221. regulator-max-microvolt = <1200000>;
  222. };
  223. vmem_breg: BUCK5 {
  224. regulator-name = "VMEM_1.2V_C210";
  225. regulator-min-microvolt = <1200000>;
  226. regulator-max-microvolt = <1200000>;
  227. regulator-always-on;
  228. };
  229. vccsub_breg: BUCK7 {
  230. regulator-name = "VCC_SUB_2.0V";
  231. regulator-min-microvolt = <2000000>;
  232. regulator-max-microvolt = <2000000>;
  233. regulator-always-on;
  234. };
  235. safe1_sreg: ESAFEOUT1 {
  236. regulator-name = "SAFEOUT1";
  237. regulator-always-on;
  238. };
  239. safe2_sreg: ESAFEOUT2 {
  240. regulator-name = "SAFEOUT2";
  241. regulator-boot-on;
  242. };
  243. };
  244. };
  245. };
  246. };