exynos4210-trats.dts 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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. regulators {
  29. compatible = "simple-bus";
  30. vemmc_reg: regulator-0 {
  31. compatible = "regulator-fixed";
  32. regulator-name = "VMEM_VDD_2.8V";
  33. regulator-min-microvolt = <2800000>;
  34. regulator-max-microvolt = <2800000>;
  35. gpio = <&gpk0 2 0>;
  36. enable-active-high;
  37. };
  38. tsp_reg: regulator-1 {
  39. compatible = "regulator-fixed";
  40. regulator-name = "TSP_FIXED_VOLTAGES";
  41. regulator-min-microvolt = <2800000>;
  42. regulator-max-microvolt = <2800000>;
  43. gpio = <&gpl0 3 0>;
  44. enable-active-high;
  45. };
  46. cam_af_28v_reg: regulator-2 {
  47. compatible = "regulator-fixed";
  48. regulator-name = "8M_AF_2.8V_EN";
  49. regulator-min-microvolt = <2800000>;
  50. regulator-max-microvolt = <2800000>;
  51. gpio = <&gpk1 1 0>;
  52. enable-active-high;
  53. };
  54. cam_io_en_reg: regulator-3 {
  55. compatible = "regulator-fixed";
  56. regulator-name = "CAM_IO_EN";
  57. regulator-min-microvolt = <2800000>;
  58. regulator-max-microvolt = <2800000>;
  59. gpio = <&gpe2 1 0>;
  60. enable-active-high;
  61. };
  62. cam_io_12v_reg: regulator-4 {
  63. compatible = "regulator-fixed";
  64. regulator-name = "8M_1.2V_EN";
  65. regulator-min-microvolt = <1200000>;
  66. regulator-max-microvolt = <1200000>;
  67. gpio = <&gpe2 5 0>;
  68. enable-active-high;
  69. };
  70. vt_core_15v_reg: regulator-5 {
  71. compatible = "regulator-fixed";
  72. regulator-name = "VT_CORE_1.5V";
  73. regulator-min-microvolt = <1500000>;
  74. regulator-max-microvolt = <1500000>;
  75. gpio = <&gpe2 2 0>;
  76. enable-active-high;
  77. };
  78. };
  79. sdhci_emmc: sdhci@12510000 {
  80. bus-width = <8>;
  81. non-removable;
  82. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
  83. pinctrl-names = "default";
  84. vmmc-supply = <&vemmc_reg>;
  85. status = "okay";
  86. };
  87. serial@13800000 {
  88. status = "okay";
  89. };
  90. serial@13810000 {
  91. status = "okay";
  92. };
  93. serial@13820000 {
  94. status = "okay";
  95. };
  96. serial@13830000 {
  97. status = "okay";
  98. };
  99. gpio-keys {
  100. compatible = "gpio-keys";
  101. vol-down-key {
  102. gpios = <&gpx2 1 1>;
  103. linux,code = <114>;
  104. label = "volume down";
  105. debounce-interval = <10>;
  106. };
  107. vol-up-key {
  108. gpios = <&gpx2 0 1>;
  109. linux,code = <115>;
  110. label = "volume up";
  111. debounce-interval = <10>;
  112. };
  113. power-key {
  114. gpios = <&gpx2 7 1>;
  115. linux,code = <116>;
  116. label = "power";
  117. debounce-interval = <10>;
  118. gpio-key,wakeup;
  119. };
  120. ok-key {
  121. gpios = <&gpx3 5 1>;
  122. linux,code = <352>;
  123. label = "ok";
  124. debounce-interval = <10>;
  125. };
  126. };
  127. i2c@13890000 {
  128. samsung,i2c-sda-delay = <100>;
  129. samsung,i2c-slave-addr = <0x10>;
  130. samsung,i2c-max-bus-freq = <400000>;
  131. pinctrl-0 = <&i2c3_bus>;
  132. pinctrl-names = "default";
  133. status = "okay";
  134. mms114-touchscreen@48 {
  135. compatible = "melfas,mms114";
  136. reg = <0x48>;
  137. interrupt-parent = <&gpx0>;
  138. interrupts = <4 2>;
  139. x-size = <720>;
  140. y-size = <1280>;
  141. avdd-supply = <&tsp_reg>;
  142. vdd-supply = <&tsp_reg>;
  143. };
  144. };
  145. i2c@138B0000 {
  146. samsung,i2c-sda-delay = <100>;
  147. samsung,i2c-slave-addr = <0x10>;
  148. samsung,i2c-max-bus-freq = <100000>;
  149. pinctrl-0 = <&i2c5_bus>;
  150. pinctrl-names = "default";
  151. status = "okay";
  152. max8997_pmic@66 {
  153. compatible = "maxim,max8997-pmic";
  154. reg = <0x66>;
  155. max8997,pmic-buck1-uses-gpio-dvs;
  156. max8997,pmic-buck2-uses-gpio-dvs;
  157. max8997,pmic-buck5-uses-gpio-dvs;
  158. max8997,pmic-ignore-gpiodvs-side-effect;
  159. max8997,pmic-buck125-default-dvs-idx = <0>;
  160. max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>,
  161. <&gpx0 6 0>,
  162. <&gpl0 0 0>;
  163. max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
  164. <1250000>, <1200000>,
  165. <1150000>, <1100000>,
  166. <1000000>, <950000>;
  167. max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
  168. <950000>, <900000>,
  169. <1100000>, <1000000>,
  170. <950000>, <900000>;
  171. max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
  172. <1200000>, <1200000>,
  173. <1200000>, <1200000>,
  174. <1200000>, <1200000>;
  175. regulators {
  176. valive_reg: LDO2 {
  177. regulator-name = "VALIVE_1.1V_C210";
  178. regulator-min-microvolt = <1100000>;
  179. regulator-max-microvolt = <1100000>;
  180. regulator-always-on;
  181. };
  182. vusb_reg: LDO3 {
  183. regulator-name = "VUSB_1.1V_C210";
  184. regulator-min-microvolt = <1100000>;
  185. regulator-max-microvolt = <1100000>;
  186. };
  187. vmipi_reg: LDO4 {
  188. regulator-name = "VMIPI_1.8V";
  189. regulator-min-microvolt = <1800000>;
  190. regulator-max-microvolt = <1800000>;
  191. };
  192. vpda_reg: LDO6 {
  193. regulator-name = "VCC_1.8V_PDA";
  194. regulator-min-microvolt = <1800000>;
  195. regulator-max-microvolt = <1800000>;
  196. regulator-always-on;
  197. };
  198. vcam_reg: LDO7 {
  199. regulator-name = "CAM_ISP_1.8V";
  200. regulator-min-microvolt = <1800000>;
  201. regulator-max-microvolt = <1800000>;
  202. };
  203. vusbdac_reg: LDO8 {
  204. regulator-name = "VUSB/VDAC_3.3V_C210";
  205. regulator-min-microvolt = <3300000>;
  206. regulator-max-microvolt = <3300000>;
  207. };
  208. vccpda_reg: LDO9 {
  209. regulator-name = "VCC_2.8V_PDA";
  210. regulator-min-microvolt = <2800000>;
  211. regulator-max-microvolt = <2800000>;
  212. regulator-always-on;
  213. };
  214. vpll_reg: LDO10 {
  215. regulator-name = "VPLL_1.1V_C210";
  216. regulator-min-microvolt = <1100000>;
  217. regulator-max-microvolt = <1100000>;
  218. regulator-always-on;
  219. };
  220. vtcam_reg: LDO12 {
  221. regulator-name = "VT_CAM_1.8V";
  222. regulator-min-microvolt = <1800000>;
  223. regulator-max-microvolt = <1800000>;
  224. };
  225. vcclcd_reg: LDO13 {
  226. regulator-name = "VCC_3.3V_LCD";
  227. regulator-min-microvolt = <3300000>;
  228. regulator-max-microvolt = <3300000>;
  229. };
  230. vlcd_reg: LDO15 {
  231. regulator-name = "VLCD_2.2V";
  232. regulator-min-microvolt = <2200000>;
  233. regulator-max-microvolt = <2200000>;
  234. };
  235. camsensor_reg: LDO16 {
  236. regulator-name = "CAM_SENSOR_IO_1.8V";
  237. regulator-min-microvolt = <1800000>;
  238. regulator-max-microvolt = <1800000>;
  239. };
  240. vddq_reg: LDO21 {
  241. regulator-name = "VDDQ_M1M2_1.2V";
  242. regulator-min-microvolt = <1200000>;
  243. regulator-max-microvolt = <1200000>;
  244. regulator-always-on;
  245. };
  246. varm_breg: BUCK1 {
  247. regulator-name = "VARM_1.2V_C210";
  248. regulator-min-microvolt = <900000>;
  249. regulator-max-microvolt = <1350000>;
  250. regulator-always-on;
  251. };
  252. vint_breg: BUCK2 {
  253. regulator-name = "VINT_1.1V_C210";
  254. regulator-min-microvolt = <900000>;
  255. regulator-max-microvolt = <1100000>;
  256. regulator-always-on;
  257. };
  258. camisp_breg: BUCK4 {
  259. regulator-name = "CAM_ISP_CORE_1.2V";
  260. regulator-min-microvolt = <1200000>;
  261. regulator-max-microvolt = <1200000>;
  262. };
  263. vmem_breg: BUCK5 {
  264. regulator-name = "VMEM_1.2V_C210";
  265. regulator-min-microvolt = <1200000>;
  266. regulator-max-microvolt = <1200000>;
  267. regulator-always-on;
  268. };
  269. vccsub_breg: BUCK7 {
  270. regulator-name = "VCC_SUB_2.0V";
  271. regulator-min-microvolt = <2000000>;
  272. regulator-max-microvolt = <2000000>;
  273. regulator-always-on;
  274. };
  275. safe1_sreg: ESAFEOUT1 {
  276. regulator-name = "SAFEOUT1";
  277. regulator-always-on;
  278. };
  279. safe2_sreg: ESAFEOUT2 {
  280. regulator-name = "SAFEOUT2";
  281. regulator-boot-on;
  282. };
  283. };
  284. };
  285. };
  286. fixed-rate-clocks {
  287. xxti {
  288. compatible = "samsung,clock-xxti";
  289. clock-frequency = <0>;
  290. };
  291. xusbxti {
  292. compatible = "samsung,clock-xusbxti";
  293. clock-frequency = <24000000>;
  294. };
  295. };
  296. camera {
  297. pinctrl-names = "default";
  298. pinctrl-0 = <>;
  299. status = "okay";
  300. fimc_0: fimc@11800000 {
  301. status = "okay";
  302. };
  303. fimc_1: fimc@11810000 {
  304. status = "okay";
  305. };
  306. fimc_2: fimc@11820000 {
  307. status = "okay";
  308. };
  309. fimc_3: fimc@11830000 {
  310. status = "okay";
  311. };
  312. };
  313. };