exynos4210-trats.dts 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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. i2c@13890000 {
  86. samsung,i2c-sda-delay = <100>;
  87. samsung,i2c-slave-addr = <0x10>;
  88. samsung,i2c-max-bus-freq = <400000>;
  89. pinctrl-0 = <&i2c3_bus>;
  90. pinctrl-names = "default";
  91. status = "okay";
  92. };
  93. i2c@138B0000 {
  94. samsung,i2c-sda-delay = <100>;
  95. samsung,i2c-slave-addr = <0x10>;
  96. samsung,i2c-max-bus-freq = <100000>;
  97. pinctrl-0 = <&i2c5_bus>;
  98. pinctrl-names = "default";
  99. status = "okay";
  100. max8997_pmic@66 {
  101. compatible = "maxim,max8997-pmic";
  102. reg = <0x66>;
  103. max8997,pmic-buck1-uses-gpio-dvs;
  104. max8997,pmic-buck2-uses-gpio-dvs;
  105. max8997,pmic-buck5-uses-gpio-dvs;
  106. max8997,pmic-ignore-gpiodvs-side-effect;
  107. max8997,pmic-buck125-default-dvs-idx = <0>;
  108. max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>,
  109. <&gpx0 6 0>,
  110. <&gpl0 0 0>;
  111. max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
  112. <1250000>, <1200000>,
  113. <1150000>, <1100000>,
  114. <1000000>, <950000>;
  115. max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
  116. <950000>, <900000>,
  117. <1100000>, <1000000>,
  118. <950000>, <900000>;
  119. max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
  120. <1200000>, <1200000>,
  121. <1200000>, <1200000>,
  122. <1200000>, <1200000>;
  123. regulators {
  124. valive_reg: LDO2 {
  125. regulator-name = "VALIVE_1.1V_C210";
  126. regulator-min-microvolt = <1100000>;
  127. regulator-max-microvolt = <1100000>;
  128. regulator-always-on;
  129. };
  130. vusb_reg: LDO3 {
  131. regulator-name = "VUSB_1.1V_C210";
  132. regulator-min-microvolt = <1100000>;
  133. regulator-max-microvolt = <1100000>;
  134. };
  135. vmipi_reg: LDO4 {
  136. regulator-name = "VMIPI_1.8V";
  137. regulator-min-microvolt = <1800000>;
  138. regulator-max-microvolt = <1800000>;
  139. };
  140. vpda_reg: LDO6 {
  141. regulator-name = "VCC_1.8V_PDA";
  142. regulator-min-microvolt = <1800000>;
  143. regulator-max-microvolt = <1800000>;
  144. regulator-always-on;
  145. };
  146. vcam_reg: LDO7 {
  147. regulator-name = "CAM_ISP_1.8V";
  148. regulator-min-microvolt = <1800000>;
  149. regulator-max-microvolt = <1800000>;
  150. };
  151. vusbdac_reg: LDO8 {
  152. regulator-name = "VUSB/VDAC_3.3V_C210";
  153. regulator-min-microvolt = <3300000>;
  154. regulator-max-microvolt = <3300000>;
  155. };
  156. vccpda_reg: LDO9 {
  157. regulator-name = "VCC_2.8V_PDA";
  158. regulator-min-microvolt = <2800000>;
  159. regulator-max-microvolt = <2800000>;
  160. regulator-always-on;
  161. };
  162. vpll_reg: LDO10 {
  163. regulator-name = "VPLL_1.1V_C210";
  164. regulator-min-microvolt = <1100000>;
  165. regulator-max-microvolt = <1100000>;
  166. regulator-always-on;
  167. };
  168. vcclcd_reg: LDO13 {
  169. regulator-name = "VCC_3.3V_LCD";
  170. regulator-min-microvolt = <3300000>;
  171. regulator-max-microvolt = <3300000>;
  172. };
  173. vlcd_reg: LDO15 {
  174. regulator-name = "VLCD_2.2V";
  175. regulator-min-microvolt = <2200000>;
  176. regulator-max-microvolt = <2200000>;
  177. };
  178. camsensor_reg: LDO16 {
  179. regulator-name = "CAM_SENSOR_IO_1.8V";
  180. regulator-min-microvolt = <1800000>;
  181. regulator-max-microvolt = <1800000>;
  182. };
  183. vddq_reg: LDO21 {
  184. regulator-name = "VDDQ_M1M2_1.2V";
  185. regulator-min-microvolt = <1200000>;
  186. regulator-max-microvolt = <1200000>;
  187. regulator-always-on;
  188. };
  189. varm_breg: BUCK1 {
  190. regulator-name = "VARM_1.2V_C210";
  191. regulator-min-microvolt = <900000>;
  192. regulator-max-microvolt = <1350000>;
  193. regulator-always-on;
  194. };
  195. vint_breg: BUCK2 {
  196. regulator-name = "VINT_1.1V_C210";
  197. regulator-min-microvolt = <900000>;
  198. regulator-max-microvolt = <1100000>;
  199. regulator-always-on;
  200. };
  201. camisp_breg: BUCK4 {
  202. regulator-name = "CAM_ISP_CORE_1.2V";
  203. regulator-min-microvolt = <1200000>;
  204. regulator-max-microvolt = <1200000>;
  205. };
  206. vmem_breg: BUCK5 {
  207. regulator-name = "VMEM_1.2V_C210";
  208. regulator-min-microvolt = <1200000>;
  209. regulator-max-microvolt = <1200000>;
  210. regulator-always-on;
  211. };
  212. vccsub_breg: BUCK7 {
  213. regulator-name = "VCC_SUB_2.0V";
  214. regulator-min-microvolt = <2000000>;
  215. regulator-max-microvolt = <2000000>;
  216. regulator-always-on;
  217. };
  218. safe1_sreg: ESAFEOUT1 {
  219. regulator-name = "SAFEOUT1";
  220. regulator-always-on;
  221. };
  222. safe2_sreg: ESAFEOUT2 {
  223. regulator-name = "SAFEOUT2";
  224. regulator-boot-on;
  225. };
  226. };
  227. };
  228. };
  229. };