exynos4210-universal_c210.dts 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  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", "samsung,exynos4";
  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. sysram@02020000 {
  27. smp-sysram@0 {
  28. status = "disabled";
  29. };
  30. smp-sysram@5000 {
  31. compatible = "samsung,exynos4210-sysram";
  32. reg = <0x5000 0x1000>;
  33. };
  34. smp-sysram@1f000 {
  35. status = "disabled";
  36. };
  37. };
  38. mct@10050000 {
  39. compatible = "none";
  40. };
  41. fixed-rate-clocks {
  42. xxti {
  43. compatible = "samsung,clock-xxti";
  44. clock-frequency = <0>;
  45. };
  46. xusbxti {
  47. compatible = "samsung,clock-xusbxti";
  48. clock-frequency = <24000000>;
  49. };
  50. };
  51. vemmc_reg: voltage-regulator {
  52. compatible = "regulator-fixed";
  53. regulator-name = "VMEM_VDD_2_8V";
  54. regulator-min-microvolt = <2800000>;
  55. regulator-max-microvolt = <2800000>;
  56. gpio = <&gpe1 3 0>;
  57. enable-active-high;
  58. };
  59. hsotg@12480000 {
  60. vusb_d-supply = <&ldo3_reg>;
  61. vusb_a-supply = <&ldo8_reg>;
  62. status = "okay";
  63. };
  64. sdhci_emmc: sdhci@12510000 {
  65. bus-width = <8>;
  66. non-removable;
  67. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
  68. pinctrl-names = "default";
  69. vmmc-supply = <&vemmc_reg>;
  70. status = "okay";
  71. };
  72. sdhci_sd: sdhci@12530000 {
  73. bus-width = <4>;
  74. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
  75. pinctrl-names = "default";
  76. vmmc-supply = <&ldo5_reg>;
  77. cd-gpios = <&gpx3 4 0>;
  78. cd-inverted;
  79. status = "okay";
  80. };
  81. ehci@12580000 {
  82. status = "okay";
  83. port@0 {
  84. status = "okay";
  85. };
  86. };
  87. ohci@12590000 {
  88. status = "okay";
  89. port@0 {
  90. status = "okay";
  91. };
  92. };
  93. exynos-usbphy@125B0000 {
  94. status = "okay";
  95. };
  96. serial@13800000 {
  97. status = "okay";
  98. };
  99. serial@13810000 {
  100. status = "okay";
  101. };
  102. serial@13820000 {
  103. status = "okay";
  104. };
  105. serial@13830000 {
  106. status = "okay";
  107. };
  108. gpio-keys {
  109. compatible = "gpio-keys";
  110. vol-up-key {
  111. gpios = <&gpx2 0 1>;
  112. linux,code = <115>;
  113. label = "volume up";
  114. debounce-interval = <1>;
  115. };
  116. vol-down-key {
  117. gpios = <&gpx2 1 1>;
  118. linux,code = <114>;
  119. label = "volume down";
  120. debounce-interval = <1>;
  121. };
  122. config-key {
  123. gpios = <&gpx2 2 1>;
  124. linux,code = <171>;
  125. label = "config";
  126. debounce-interval = <1>;
  127. gpio-key,wakeup;
  128. };
  129. camera-key {
  130. gpios = <&gpx2 3 1>;
  131. linux,code = <212>;
  132. label = "camera";
  133. debounce-interval = <1>;
  134. };
  135. power-key {
  136. gpios = <&gpx2 7 1>;
  137. linux,code = <116>;
  138. label = "power";
  139. debounce-interval = <1>;
  140. gpio-key,wakeup;
  141. };
  142. ok-key {
  143. gpios = <&gpx3 5 1>;
  144. linux,code = <352>;
  145. label = "ok";
  146. debounce-interval = <1>;
  147. };
  148. };
  149. tsp_reg: voltage-regulator {
  150. compatible = "regulator-fixed";
  151. regulator-name = "TSP_2_8V";
  152. regulator-min-microvolt = <2800000>;
  153. regulator-max-microvolt = <2800000>;
  154. gpio = <&gpe2 3 0>;
  155. enable-active-high;
  156. };
  157. i2c@13890000 {
  158. samsung,i2c-sda-delay = <100>;
  159. samsung,i2c-slave-addr = <0x10>;
  160. samsung,i2c-max-bus-freq = <100000>;
  161. pinctrl-0 = <&i2c3_bus>;
  162. pinctrl-names = "default";
  163. status = "okay";
  164. tsp@4a {
  165. /* TBD: Atmel maXtouch touchscreen */
  166. reg = <0x4a>;
  167. };
  168. };
  169. i2c@138B0000 {
  170. samsung,i2c-sda-delay = <100>;
  171. samsung,i2c-slave-addr = <0x10>;
  172. samsung,i2c-max-bus-freq = <100000>;
  173. pinctrl-0 = <&i2c5_bus>;
  174. pinctrl-names = "default";
  175. status = "okay";
  176. vdd_arm_reg: pmic@60 {
  177. compatible = "maxim,max8952";
  178. reg = <0x60>;
  179. max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>;
  180. max8952,default-mode = <0>;
  181. max8952,dvs-mode-microvolt = <1250000>, <1200000>,
  182. <1050000>, <950000>;
  183. max8952,sync-freq = <0>;
  184. max8952,ramp-speed = <0>;
  185. regulator-name = "vdd_arm";
  186. regulator-min-microvolt = <770000>;
  187. regulator-max-microvolt = <1400000>;
  188. regulator-always-on;
  189. regulator-boot-on;
  190. };
  191. pmic@66 {
  192. compatible = "national,lp3974";
  193. reg = <0x66>;
  194. max8998,pmic-buck1-default-dvs-idx = <0>;
  195. max8998,pmic-buck1-dvs-gpios = <&gpx0 5 0>,
  196. <&gpx0 6 0>;
  197. max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
  198. <1100000>, <1000000>;
  199. max8998,pmic-buck2-default-dvs-idx = <0>;
  200. max8998,pmic-buck2-dvs-gpio = <&gpe2 0 0>;
  201. max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
  202. regulators {
  203. ldo2_reg: LDO2 {
  204. regulator-name = "VALIVE_1.2V";
  205. regulator-min-microvolt = <1200000>;
  206. regulator-max-microvolt = <1200000>;
  207. regulator-always-on;
  208. };
  209. ldo3_reg: LDO3 {
  210. regulator-name = "VUSB+MIPI_1.1V";
  211. regulator-min-microvolt = <1100000>;
  212. regulator-max-microvolt = <1100000>;
  213. regulator-always-on;
  214. };
  215. ldo4_reg: LDO4 {
  216. regulator-name = "VADC_3.3V";
  217. regulator-min-microvolt = <3300000>;
  218. regulator-max-microvolt = <3300000>;
  219. };
  220. ldo5_reg: LDO5 {
  221. regulator-name = "VTF_2.8V";
  222. regulator-min-microvolt = <2800000>;
  223. regulator-max-microvolt = <2800000>;
  224. };
  225. ldo6_reg: LDO6 {
  226. regulator-name = "LDO6";
  227. regulator-min-microvolt = <2000000>;
  228. regulator-max-microvolt = <2000000>;
  229. };
  230. ldo7_reg: LDO7 {
  231. regulator-name = "VLCD+VMIPI_1.8V";
  232. regulator-min-microvolt = <1800000>;
  233. regulator-max-microvolt = <1800000>;
  234. };
  235. ldo8_reg: LDO8 {
  236. regulator-name = "VUSB+VDAC_3.3V";
  237. regulator-min-microvolt = <3300000>;
  238. regulator-max-microvolt = <3300000>;
  239. regulator-always-on;
  240. };
  241. ldo9_reg: LDO9 {
  242. regulator-name = "VCC_2.8V";
  243. regulator-min-microvolt = <2800000>;
  244. regulator-max-microvolt = <2800000>;
  245. regulator-always-on;
  246. };
  247. ldo10_reg: LDO10 {
  248. regulator-name = "VPLL_1.1V";
  249. regulator-min-microvolt = <1100000>;
  250. regulator-max-microvolt = <1100000>;
  251. regulator-boot-on;
  252. regulator-always-on;
  253. };
  254. ldo11_reg: LDO11 {
  255. regulator-name = "CAM_AF_3.3V";
  256. regulator-min-microvolt = <3300000>;
  257. regulator-max-microvolt = <3300000>;
  258. };
  259. ldo12_reg: LDO12 {
  260. regulator-name = "PS_2.8V";
  261. regulator-min-microvolt = <2800000>;
  262. regulator-max-microvolt = <2800000>;
  263. };
  264. ldo13_reg: LDO13 {
  265. regulator-name = "VHIC_1.2V";
  266. regulator-min-microvolt = <1200000>;
  267. regulator-max-microvolt = <1200000>;
  268. };
  269. ldo14_reg: LDO14 {
  270. regulator-name = "CAM_I_HOST_1.8V";
  271. regulator-min-microvolt = <1800000>;
  272. regulator-max-microvolt = <1800000>;
  273. };
  274. ldo15_reg: LDO15 {
  275. regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
  276. regulator-min-microvolt = <1200000>;
  277. regulator-max-microvolt = <1200000>;
  278. };
  279. ldo16_reg: LDO16 {
  280. regulator-name = "CAM_S_ANA_2.8V";
  281. regulator-min-microvolt = <2800000>;
  282. regulator-max-microvolt = <2800000>;
  283. };
  284. ldo17_reg: LDO17 {
  285. regulator-name = "VCC_3.0V_LCD";
  286. regulator-min-microvolt = <3000000>;
  287. regulator-max-microvolt = <3000000>;
  288. };
  289. buck1_reg: BUCK1 {
  290. regulator-name = "VINT_1.1V";
  291. regulator-min-microvolt = <750000>;
  292. regulator-max-microvolt = <1500000>;
  293. regulator-boot-on;
  294. regulator-always-on;
  295. };
  296. buck2_reg: BUCK2 {
  297. regulator-name = "VG3D_1.1V";
  298. regulator-min-microvolt = <750000>;
  299. regulator-max-microvolt = <1500000>;
  300. regulator-boot-on;
  301. };
  302. buck3_reg: BUCK3 {
  303. regulator-name = "VCC_1.8V";
  304. regulator-min-microvolt = <1800000>;
  305. regulator-max-microvolt = <1800000>;
  306. regulator-always-on;
  307. };
  308. buck4_reg: BUCK4 {
  309. regulator-name = "VMEM_1.2V";
  310. regulator-min-microvolt = <1200000>;
  311. regulator-max-microvolt = <1200000>;
  312. regulator-always-on;
  313. };
  314. ap32khz_reg: EN32KHz-AP {
  315. regulator-name = "32KHz AP";
  316. regulator-always-on;
  317. };
  318. cp32khz_reg: EN32KHz-CP {
  319. regulator-name = "32KHz CP";
  320. };
  321. vichg_reg: ENVICHG {
  322. regulator-name = "VICHG";
  323. };
  324. safeout1_reg: ESAFEOUT1 {
  325. regulator-name = "SAFEOUT1";
  326. regulator-always-on;
  327. };
  328. safeout2_reg: ESAFEOUT2 {
  329. regulator-name = "SAFEOUT2";
  330. regulator-boot-on;
  331. };
  332. };
  333. };
  334. };
  335. spi-lcd {
  336. compatible = "spi-gpio";
  337. #address-cells = <1>;
  338. #size-cells = <0>;
  339. gpio-sck = <&gpy3 1 0>;
  340. gpio-mosi = <&gpy3 3 0>;
  341. num-chipselects = <1>;
  342. cs-gpios = <&gpy4 3 0>;
  343. lcd@0 {
  344. compatible = "samsung,ld9040";
  345. reg = <0>;
  346. vdd3-supply = <&ldo7_reg>;
  347. vci-supply = <&ldo17_reg>;
  348. reset-gpios = <&gpy4 5 0>;
  349. spi-max-frequency = <1200000>;
  350. spi-cpol;
  351. spi-cpha;
  352. power-on-delay = <10>;
  353. reset-delay = <10>;
  354. panel-width-mm = <90>;
  355. panel-height-mm = <154>;
  356. display-timings {
  357. timing {
  358. clock-frequency = <23492370>;
  359. hactive = <480>;
  360. vactive = <800>;
  361. hback-porch = <16>;
  362. hfront-porch = <16>;
  363. vback-porch = <2>;
  364. vfront-porch = <28>;
  365. hsync-len = <2>;
  366. vsync-len = <1>;
  367. hsync-active = <0>;
  368. vsync-active = <0>;
  369. de-active = <0>;
  370. pixelclk-active = <0>;
  371. };
  372. };
  373. port {
  374. lcd_ep: endpoint {
  375. remote-endpoint = <&fimd_dpi_ep>;
  376. };
  377. };
  378. };
  379. };
  380. fimd: fimd@11c00000 {
  381. pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
  382. pinctrl-names = "default";
  383. status = "okay";
  384. samsung,invert-vden;
  385. samsung,invert-vclk;
  386. #address-cells = <1>;
  387. #size-cells = <0>;
  388. port@3 {
  389. reg = <3>;
  390. fimd_dpi_ep: endpoint {
  391. remote-endpoint = <&lcd_ep>;
  392. };
  393. };
  394. };
  395. pwm@139D0000 {
  396. compatible = "samsung,s5p6440-pwm";
  397. status = "okay";
  398. };
  399. camera {
  400. status = "okay";
  401. pinctrl-names = "default";
  402. pinctrl-0 = <>;
  403. fimc_0: fimc@11800000 {
  404. status = "okay";
  405. };
  406. fimc_1: fimc@11810000 {
  407. status = "okay";
  408. };
  409. fimc_2: fimc@11820000 {
  410. status = "okay";
  411. };
  412. fimc_3: fimc@11830000 {
  413. status = "okay";
  414. };
  415. };
  416. };
  417. &mdma1 {
  418. reg = <0x12840000 0x1000>;
  419. };