exynos4210-universal_c210.dts 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. /*
  2. * Samsung's Exynos4210 based Universal C210 board device tree source
  3. *
  4. * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * Device tree source file for Samsung's Universal C210 board which is based on
  8. * Samsung's Exynos4210 rev0 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 Universal C210 based on Exynos4210 rev0";
  18. compatible = "samsung,universal_c210", "samsung,exynos4210";
  19. memory {
  20. reg = <0x40000000 0x10000000
  21. 0x50000000 0x10000000>;
  22. };
  23. chosen {
  24. bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1";
  25. };
  26. mct@10050000 {
  27. compatible = "none";
  28. };
  29. fixed-rate-clocks {
  30. xxti {
  31. compatible = "samsung,clock-xxti";
  32. clock-frequency = <0>;
  33. };
  34. xusbxti {
  35. compatible = "samsung,clock-xusbxti";
  36. clock-frequency = <24000000>;
  37. };
  38. };
  39. vemmc_reg: voltage-regulator {
  40. compatible = "regulator-fixed";
  41. regulator-name = "VMEM_VDD_2_8V";
  42. regulator-min-microvolt = <2800000>;
  43. regulator-max-microvolt = <2800000>;
  44. gpio = <&gpe1 3 0>;
  45. enable-active-high;
  46. };
  47. sdhci_emmc: sdhci@12510000 {
  48. bus-width = <8>;
  49. non-removable;
  50. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
  51. pinctrl-names = "default";
  52. vmmc-supply = <&vemmc_reg>;
  53. status = "okay";
  54. };
  55. serial@13800000 {
  56. status = "okay";
  57. };
  58. serial@13810000 {
  59. status = "okay";
  60. };
  61. serial@13820000 {
  62. status = "okay";
  63. };
  64. serial@13830000 {
  65. status = "okay";
  66. };
  67. gpio-keys {
  68. compatible = "gpio-keys";
  69. vol-up-key {
  70. gpios = <&gpx2 0 1>;
  71. linux,code = <115>;
  72. label = "volume up";
  73. debounce-interval = <1>;
  74. };
  75. vol-down-key {
  76. gpios = <&gpx2 1 1>;
  77. linux,code = <114>;
  78. label = "volume down";
  79. debounce-interval = <1>;
  80. };
  81. config-key {
  82. gpios = <&gpx2 2 1>;
  83. linux,code = <171>;
  84. label = "config";
  85. debounce-interval = <1>;
  86. gpio-key,wakeup;
  87. };
  88. camera-key {
  89. gpios = <&gpx2 3 1>;
  90. linux,code = <212>;
  91. label = "camera";
  92. debounce-interval = <1>;
  93. };
  94. power-key {
  95. gpios = <&gpx2 7 1>;
  96. linux,code = <116>;
  97. label = "power";
  98. debounce-interval = <1>;
  99. gpio-key,wakeup;
  100. };
  101. ok-key {
  102. gpios = <&gpx3 5 1>;
  103. linux,code = <352>;
  104. label = "ok";
  105. debounce-interval = <1>;
  106. };
  107. };
  108. tsp_reg: voltage-regulator {
  109. compatible = "regulator-fixed";
  110. regulator-name = "TSP_2_8V";
  111. regulator-min-microvolt = <2800000>;
  112. regulator-max-microvolt = <2800000>;
  113. gpio = <&gpe2 3 0>;
  114. enable-active-high;
  115. };
  116. i2c@13890000 {
  117. samsung,i2c-sda-delay = <100>;
  118. samsung,i2c-slave-addr = <0x10>;
  119. samsung,i2c-max-bus-freq = <100000>;
  120. pinctrl-0 = <&i2c3_bus>;
  121. pinctrl-names = "default";
  122. status = "okay";
  123. tsp@4a {
  124. /* TBD: Atmel maXtouch touchscreen */
  125. reg = <0x4a>;
  126. };
  127. };
  128. i2c@138B0000 {
  129. samsung,i2c-sda-delay = <100>;
  130. samsung,i2c-slave-addr = <0x10>;
  131. samsung,i2c-max-bus-freq = <100000>;
  132. pinctrl-0 = <&i2c5_bus>;
  133. pinctrl-names = "default";
  134. status = "okay";
  135. vdd_arm_reg: pmic@60 {
  136. compatible = "maxim,max8952";
  137. reg = <0x60>;
  138. max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>;
  139. max8952,default-mode = <0>;
  140. max8952,dvs-mode-microvolt = <1250000>, <1200000>,
  141. <1050000>, <950000>;
  142. max8952,sync-freq = <0>;
  143. max8952,ramp-speed = <0>;
  144. regulator-name = "vdd_arm";
  145. regulator-min-microvolt = <770000>;
  146. regulator-max-microvolt = <1400000>;
  147. regulator-always-on;
  148. regulator-boot-on;
  149. };
  150. pmic@66 {
  151. compatible = "national,lp3974";
  152. reg = <0x66>;
  153. max8998,pmic-buck1-default-dvs-idx = <0>;
  154. max8998,pmic-buck1-dvs-gpios = <&gpx0 5 0>,
  155. <&gpx0 6 0>;
  156. max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
  157. <1100000>, <1000000>;
  158. max8998,pmic-buck2-default-dvs-idx = <0>;
  159. max8998,pmic-buck2-dvs-gpio = <&gpe2 0 0>;
  160. max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
  161. regulators {
  162. ldo2_reg: LDO2 {
  163. regulator-name = "VALIVE_1.2V";
  164. regulator-min-microvolt = <1200000>;
  165. regulator-max-microvolt = <1200000>;
  166. regulator-always-on;
  167. };
  168. ldo3_reg: LDO3 {
  169. regulator-name = "VUSB+MIPI_1.1V";
  170. regulator-min-microvolt = <1100000>;
  171. regulator-max-microvolt = <1100000>;
  172. };
  173. ldo4_reg: LDO4 {
  174. regulator-name = "VADC_3.3V";
  175. regulator-min-microvolt = <3300000>;
  176. regulator-max-microvolt = <3300000>;
  177. };
  178. ldo5_reg: LDO5 {
  179. regulator-name = "VTF_2.8V";
  180. regulator-min-microvolt = <2800000>;
  181. regulator-max-microvolt = <2800000>;
  182. };
  183. ldo6_reg: LDO6 {
  184. regulator-name = "LDO6";
  185. regulator-min-microvolt = <2000000>;
  186. regulator-max-microvolt = <2000000>;
  187. };
  188. ldo7_reg: LDO7 {
  189. regulator-name = "VLCD+VMIPI_1.8V";
  190. regulator-min-microvolt = <1800000>;
  191. regulator-max-microvolt = <1800000>;
  192. };
  193. ldo8_reg: LDO8 {
  194. regulator-name = "VUSB+VDAC_3.3V";
  195. regulator-min-microvolt = <3300000>;
  196. regulator-max-microvolt = <3300000>;
  197. };
  198. ldo9_reg: LDO9 {
  199. regulator-name = "VCC_2.8V";
  200. regulator-min-microvolt = <2800000>;
  201. regulator-max-microvolt = <2800000>;
  202. regulator-always-on;
  203. };
  204. ldo10_reg: LDO10 {
  205. regulator-name = "VPLL_1.1V";
  206. regulator-min-microvolt = <1100000>;
  207. regulator-max-microvolt = <1100000>;
  208. regulator-boot-on;
  209. regulator-always-on;
  210. };
  211. ldo11_reg: LDO11 {
  212. regulator-name = "CAM_AF_3.3V";
  213. regulator-min-microvolt = <3300000>;
  214. regulator-max-microvolt = <3300000>;
  215. };
  216. ldo12_reg: LDO12 {
  217. regulator-name = "PS_2.8V";
  218. regulator-min-microvolt = <2800000>;
  219. regulator-max-microvolt = <2800000>;
  220. };
  221. ldo13_reg: LDO13 {
  222. regulator-name = "VHIC_1.2V";
  223. regulator-min-microvolt = <1200000>;
  224. regulator-max-microvolt = <1200000>;
  225. };
  226. ldo14_reg: LDO14 {
  227. regulator-name = "CAM_I_HOST_1.8V";
  228. regulator-min-microvolt = <1800000>;
  229. regulator-max-microvolt = <1800000>;
  230. };
  231. ldo15_reg: LDO15 {
  232. regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
  233. regulator-min-microvolt = <1200000>;
  234. regulator-max-microvolt = <1200000>;
  235. };
  236. ldo16_reg: LDO16 {
  237. regulator-name = "CAM_S_ANA_2.8V";
  238. regulator-min-microvolt = <2800000>;
  239. regulator-max-microvolt = <2800000>;
  240. };
  241. ldo17_reg: LDO17 {
  242. regulator-name = "VCC_3.0V_LCD";
  243. regulator-min-microvolt = <3000000>;
  244. regulator-max-microvolt = <3000000>;
  245. };
  246. buck1_reg: BUCK1 {
  247. regulator-name = "VINT_1.1V";
  248. regulator-min-microvolt = <750000>;
  249. regulator-max-microvolt = <1500000>;
  250. regulator-boot-on;
  251. regulator-always-on;
  252. };
  253. buck2_reg: BUCK2 {
  254. regulator-name = "VG3D_1.1V";
  255. regulator-min-microvolt = <750000>;
  256. regulator-max-microvolt = <1500000>;
  257. regulator-boot-on;
  258. };
  259. buck3_reg: BUCK3 {
  260. regulator-name = "VCC_1.8V";
  261. regulator-min-microvolt = <1800000>;
  262. regulator-max-microvolt = <1800000>;
  263. regulator-always-on;
  264. };
  265. buck4_reg: BUCK4 {
  266. regulator-name = "VMEM_1.2V";
  267. regulator-min-microvolt = <1200000>;
  268. regulator-max-microvolt = <1200000>;
  269. regulator-always-on;
  270. };
  271. ap32khz_reg: EN32KHz-AP {
  272. regulator-name = "32KHz AP";
  273. regulator-always-on;
  274. };
  275. cp32khz_reg: EN32KHz-CP {
  276. regulator-name = "32KHz CP";
  277. };
  278. vichg_reg: ENVICHG {
  279. regulator-name = "VICHG";
  280. };
  281. safeout1_reg: ESAFEOUT1 {
  282. regulator-name = "SAFEOUT1";
  283. regulator-always-on;
  284. };
  285. safeout2_reg: ESAFEOUT2 {
  286. regulator-name = "SAFEOUT2";
  287. regulator-boot-on;
  288. };
  289. };
  290. };
  291. };
  292. pwm@139D0000 {
  293. compatible = "samsung,s5p6440-pwm";
  294. status = "okay";
  295. };
  296. };