exynos4210-trats.dts 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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 0x20000000
  21. 0x60000000 0x20000000>;
  22. };
  23. chosen {
  24. bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
  25. };
  26. vemmc_reg: voltage-regulator@0 {
  27. compatible = "regulator-fixed";
  28. regulator-name = "VMEM_VDD_2.8V";
  29. regulator-min-microvolt = <2800000>;
  30. regulator-max-microvolt = <2800000>;
  31. gpio = <&gpk0 2 1 0 0>;
  32. enable-active-high;
  33. };
  34. sdhci_emmc: sdhci@12510000 {
  35. bus-width = <8>;
  36. non-removable;
  37. broken-voltage;
  38. gpios = <&gpk0 0 2 0 3>,
  39. <&gpk0 1 2 0 3>,
  40. <&gpk0 3 2 2 3>,
  41. <&gpk0 4 2 2 3>,
  42. <&gpk0 5 2 2 3>,
  43. <&gpk0 6 2 2 3>,
  44. <&gpk1 3 3 3 3>,
  45. <&gpk1 4 3 3 3>,
  46. <&gpk1 5 3 3 3>,
  47. <&gpk1 6 3 3 3>;
  48. vmmc-supply = <&vemmc_reg>;
  49. status = "okay";
  50. };
  51. serial@13800000 {
  52. status = "okay";
  53. };
  54. serial@13810000 {
  55. status = "okay";
  56. };
  57. serial@13820000 {
  58. status = "okay";
  59. };
  60. serial@13830000 {
  61. status = "okay";
  62. };
  63. i2c@138B0000 {
  64. samsung,i2c-sda-delay = <100>;
  65. samsung,i2c-slave-addr = <0x10>;
  66. samsung,i2c-max-bus-freq = <100000>;
  67. gpios = <&gpb 6 3 3 0>,
  68. <&gpb 7 3 3 0>;
  69. status = "okay";
  70. max8997_pmic@66 {
  71. compatible = "maxim,max8997-pmic";
  72. reg = <0x66>;
  73. max8997,pmic-buck1-uses-gpio-dvs;
  74. max8997,pmic-buck2-uses-gpio-dvs;
  75. max8997,pmic-buck5-uses-gpio-dvs;
  76. max8997,pmic-ignore-gpiodvs-side-effect;
  77. max8997,pmic-buck125-default-dvs-idx = <0>;
  78. max8997,pmic-buck125-dvs-gpios = <&gpx0 5 1 0 0>,
  79. <&gpx0 6 1 0 0>,
  80. <&gpl0 0 1 0 0>;
  81. max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
  82. <1250000>, <1200000>,
  83. <1150000>, <1100000>,
  84. <1000000>, <950000>;
  85. max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
  86. <950000>, <900000>,
  87. <1100000>, <1000000>,
  88. <950000>, <900000>;
  89. max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
  90. <1200000>, <1200000>,
  91. <1200000>, <1200000>,
  92. <1200000>, <1200000>;
  93. regulators {
  94. valive_reg: LDO2 {
  95. regulator-name = "VALIVE_1.1V_C210";
  96. regulator-min-microvolt = <1100000>;
  97. regulator-max-microvolt = <1100000>;
  98. regulator-always-on;
  99. };
  100. vusb_reg: LDO3 {
  101. regulator-name = "VUSB_1.1V_C210";
  102. regulator-min-microvolt = <1100000>;
  103. regulator-max-microvolt = <1100000>;
  104. };
  105. vmipi_reg: LDO4 {
  106. regulator-name = "VMIPI_1.8V";
  107. regulator-min-microvolt = <1800000>;
  108. regulator-max-microvolt = <1800000>;
  109. };
  110. vpda_reg: LDO6 {
  111. regulator-name = "VCC_1.8V_PDA";
  112. regulator-min-microvolt = <1800000>;
  113. regulator-max-microvolt = <1800000>;
  114. regulator-always-on;
  115. };
  116. vcam_reg: LDO7 {
  117. regulator-name = "CAM_ISP_1.8V";
  118. regulator-min-microvolt = <1800000>;
  119. regulator-max-microvolt = <1800000>;
  120. };
  121. vusbdac_reg: LDO8 {
  122. regulator-name = "VUSB/VDAC_3.3V_C210";
  123. regulator-min-microvolt = <3300000>;
  124. regulator-max-microvolt = <3300000>;
  125. };
  126. vccpda_reg: LDO9 {
  127. regulator-name = "VCC_2.8V_PDA";
  128. regulator-min-microvolt = <2800000>;
  129. regulator-max-microvolt = <2800000>;
  130. regulator-always-on;
  131. };
  132. vpll_reg: LDO10 {
  133. regulator-name = "VPLL_1.1V_C210";
  134. regulator-min-microvolt = <1100000>;
  135. regulator-max-microvolt = <1100000>;
  136. regulator-always-on;
  137. };
  138. vcclcd_reg: LDO13 {
  139. regulator-name = "VCC_3.3V_LCD";
  140. regulator-min-microvolt = <3300000>;
  141. regulator-max-microvolt = <3300000>;
  142. };
  143. vlcd_reg: LDO15 {
  144. regulator-name = "VLCD_2.2V";
  145. regulator-min-microvolt = <2200000>;
  146. regulator-max-microvolt = <2200000>;
  147. };
  148. camsensor_reg: LDO16 {
  149. regulator-name = "CAM_SENSOR_IO_1.8V";
  150. regulator-min-microvolt = <1800000>;
  151. regulator-max-microvolt = <1800000>;
  152. };
  153. vddq_reg: LDO21 {
  154. regulator-name = "VDDQ_M1M2_1.2V";
  155. regulator-min-microvolt = <1200000>;
  156. regulator-max-microvolt = <1200000>;
  157. regulator-always-on;
  158. };
  159. varm_breg: BUCK1 {
  160. regulator-name = "VARM_1.2V_C210";
  161. regulator-min-microvolt = <900000>;
  162. regulator-max-microvolt = <1350000>;
  163. regulator-always-on;
  164. };
  165. vint_breg: BUCK2 {
  166. regulator-name = "VINT_1.1V_C210";
  167. regulator-min-microvolt = <900000>;
  168. regulator-max-microvolt = <1100000>;
  169. regulator-always-on;
  170. };
  171. camisp_breg: BUCK4 {
  172. regulator-name = "CAM_ISP_CORE_1.2V";
  173. regulator-min-microvolt = <1200000>;
  174. regulator-max-microvolt = <1200000>;
  175. };
  176. vmem_breg: BUCK5 {
  177. regulator-name = "VMEM_1.2V_C210";
  178. regulator-min-microvolt = <1200000>;
  179. regulator-max-microvolt = <1200000>;
  180. regulator-always-on;
  181. };
  182. vccsub_breg: BUCK7 {
  183. regulator-name = "VCC_SUB_2.0V";
  184. regulator-min-microvolt = <2000000>;
  185. regulator-max-microvolt = <2000000>;
  186. regulator-always-on;
  187. };
  188. safe1_sreg: ESAFEOUT1 {
  189. regulator-name = "SAFEOUT1";
  190. regulator-always-on;
  191. };
  192. safe2_sreg: ESAFEOUT2 {
  193. regulator-name = "SAFEOUT2";
  194. regulator-boot-on;
  195. };
  196. };
  197. };
  198. };
  199. };