exynos4210-trats.dts 5.8 KB

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