exynos4210-origen.dts 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. /*
  2. * Samsung's Exynos4210 based Origen board device tree source
  3. *
  4. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. * Copyright (c) 2010-2011 Linaro Ltd.
  7. * www.linaro.org
  8. *
  9. * Device tree source file for Insignal's Origen board which is based on
  10. * Samsung's Exynos4210 SoC.
  11. *
  12. * This program is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License version 2 as
  14. * published by the Free Software Foundation.
  15. */
  16. /dts-v1/;
  17. #include "exynos4210.dtsi"
  18. #include <dt-bindings/input/input.h>
  19. / {
  20. model = "Insignal Origen evaluation board based on Exynos4210";
  21. compatible = "insignal,origen", "samsung,exynos4210", "samsung,exynos4";
  22. memory {
  23. reg = <0x40000000 0x10000000
  24. 0x50000000 0x10000000
  25. 0x60000000 0x10000000
  26. 0x70000000 0x10000000>;
  27. };
  28. chosen {
  29. bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
  30. };
  31. regulators {
  32. compatible = "simple-bus";
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. mmc_reg: regulator@0 {
  36. compatible = "regulator-fixed";
  37. reg = <0>;
  38. regulator-name = "VMEM_VDD_2.8V";
  39. regulator-min-microvolt = <2800000>;
  40. regulator-max-microvolt = <2800000>;
  41. gpio = <&gpx1 1 0>;
  42. enable-active-high;
  43. };
  44. };
  45. watchdog@10060000 {
  46. status = "okay";
  47. };
  48. rtc@10070000 {
  49. status = "okay";
  50. };
  51. tmu@100C0000 {
  52. status = "okay";
  53. };
  54. sdhci@12530000 {
  55. bus-width = <4>;
  56. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
  57. pinctrl-names = "default";
  58. vmmc-supply = <&mmc_reg>;
  59. status = "okay";
  60. };
  61. sdhci@12510000 {
  62. bus-width = <4>;
  63. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
  64. pinctrl-names = "default";
  65. vmmc-supply = <&mmc_reg>;
  66. status = "okay";
  67. };
  68. g2d@12800000 {
  69. status = "okay";
  70. };
  71. codec@13400000 {
  72. samsung,mfc-r = <0x43000000 0x800000>;
  73. samsung,mfc-l = <0x51000000 0x800000>;
  74. status = "okay";
  75. };
  76. serial@13800000 {
  77. status = "okay";
  78. };
  79. serial@13810000 {
  80. status = "okay";
  81. };
  82. serial@13820000 {
  83. status = "okay";
  84. };
  85. serial@13830000 {
  86. status = "okay";
  87. };
  88. i2c@13860000 {
  89. status = "okay";
  90. samsung,i2c-sda-delay = <100>;
  91. samsung,i2c-max-bus-freq = <20000>;
  92. pinctrl-0 = <&i2c0_bus>;
  93. pinctrl-names = "default";
  94. max8997_pmic@66 {
  95. compatible = "maxim,max8997-pmic";
  96. reg = <0x66>;
  97. interrupt-parent = <&gpx0>;
  98. interrupts = <4 0>, <3 0>;
  99. max8997,pmic-buck1-dvs-voltage = <1350000>;
  100. max8997,pmic-buck2-dvs-voltage = <1100000>;
  101. max8997,pmic-buck5-dvs-voltage = <1200000>;
  102. regulators {
  103. ldo1_reg: LDO1 {
  104. regulator-name = "VDD_ABB_3.3V";
  105. regulator-min-microvolt = <3300000>;
  106. regulator-max-microvolt = <3300000>;
  107. };
  108. ldo2_reg: LDO2 {
  109. regulator-name = "VDD_ALIVE_1.1V";
  110. regulator-min-microvolt = <1100000>;
  111. regulator-max-microvolt = <1100000>;
  112. regulator-always-on;
  113. };
  114. ldo3_reg: LDO3 {
  115. regulator-name = "VMIPI_1.1V";
  116. regulator-min-microvolt = <1100000>;
  117. regulator-max-microvolt = <1100000>;
  118. };
  119. ldo4_reg: LDO4 {
  120. regulator-name = "VDD_RTC_1.8V";
  121. regulator-min-microvolt = <1800000>;
  122. regulator-max-microvolt = <1800000>;
  123. regulator-always-on;
  124. };
  125. ldo6_reg: LDO6 {
  126. regulator-name = "VMIPI_1.8V";
  127. regulator-min-microvolt = <1800000>;
  128. regulator-max-microvolt = <1800000>;
  129. regulator-always-on;
  130. };
  131. ldo7_reg: LDO7 {
  132. regulator-name = "VDD_AUD_1.8V";
  133. regulator-min-microvolt = <1800000>;
  134. regulator-max-microvolt = <1800000>;
  135. };
  136. ldo8_reg: LDO8 {
  137. regulator-name = "VADC_3.3V";
  138. regulator-min-microvolt = <3300000>;
  139. regulator-max-microvolt = <3300000>;
  140. };
  141. ldo9_reg: LDO9 {
  142. regulator-name = "DVDD_SWB_2.8V";
  143. regulator-min-microvolt = <2800000>;
  144. regulator-max-microvolt = <2800000>;
  145. regulator-always-on;
  146. };
  147. ldo10_reg: LDO10 {
  148. regulator-name = "VDD_PLL_1.1V";
  149. regulator-min-microvolt = <1100000>;
  150. regulator-max-microvolt = <1100000>;
  151. regulator-always-on;
  152. };
  153. ldo11_reg: LDO11 {
  154. regulator-name = "VDD_AUD_3V";
  155. regulator-min-microvolt = <3000000>;
  156. regulator-max-microvolt = <3000000>;
  157. };
  158. ldo14_reg: LDO14 {
  159. regulator-name = "AVDD18_SWB_1.8V";
  160. regulator-min-microvolt = <1800000>;
  161. regulator-max-microvolt = <1800000>;
  162. regulator-always-on;
  163. };
  164. ldo17_reg: LDO17 {
  165. regulator-name = "VDD_SWB_3.3V";
  166. regulator-min-microvolt = <3300000>;
  167. regulator-max-microvolt = <3300000>;
  168. regulator-always-on;
  169. };
  170. ldo21_reg: LDO21 {
  171. regulator-name = "VDD_MIF_1.2V";
  172. regulator-min-microvolt = <1200000>;
  173. regulator-max-microvolt = <1200000>;
  174. regulator-always-on;
  175. };
  176. buck1_reg: BUCK1 {
  177. /*
  178. * HACK: The real name is VDD_ARM_1.2V,
  179. * but exynos-cpufreq does not support
  180. * DT-based regulator lookup yet.
  181. */
  182. regulator-name = "vdd_arm";
  183. regulator-min-microvolt = <950000>;
  184. regulator-max-microvolt = <1350000>;
  185. regulator-always-on;
  186. regulator-boot-on;
  187. };
  188. buck2_reg: BUCK2 {
  189. regulator-name = "VDD_INT_1.1V";
  190. regulator-min-microvolt = <900000>;
  191. regulator-max-microvolt = <1100000>;
  192. regulator-always-on;
  193. regulator-boot-on;
  194. };
  195. buck3_reg: BUCK3 {
  196. regulator-name = "VDD_G3D_1.1V";
  197. regulator-min-microvolt = <900000>;
  198. regulator-max-microvolt = <1100000>;
  199. };
  200. buck5_reg: BUCK5 {
  201. regulator-name = "VDDQ_M1M2_1.2V";
  202. regulator-min-microvolt = <1200000>;
  203. regulator-max-microvolt = <1200000>;
  204. regulator-always-on;
  205. };
  206. buck7_reg: BUCK7 {
  207. regulator-name = "VDD_LCD_3.3V";
  208. regulator-min-microvolt = <3300000>;
  209. regulator-max-microvolt = <3300000>;
  210. regulator-boot-on;
  211. regulator-always-on;
  212. };
  213. };
  214. };
  215. };
  216. gpio_keys {
  217. compatible = "gpio-keys";
  218. #address-cells = <1>;
  219. #size-cells = <0>;
  220. up {
  221. label = "Up";
  222. gpios = <&gpx2 0 1>;
  223. linux,code = <KEY_UP>;
  224. gpio-key,wakeup;
  225. };
  226. down {
  227. label = "Down";
  228. gpios = <&gpx2 1 1>;
  229. linux,code = <KEY_DOWN>;
  230. gpio-key,wakeup;
  231. };
  232. back {
  233. label = "Back";
  234. gpios = <&gpx1 7 1>;
  235. linux,code = <KEY_BACK>;
  236. gpio-key,wakeup;
  237. };
  238. home {
  239. label = "Home";
  240. gpios = <&gpx1 6 1>;
  241. linux,code = <KEY_HOME>;
  242. gpio-key,wakeup;
  243. };
  244. menu {
  245. label = "Menu";
  246. gpios = <&gpx1 5 1>;
  247. linux,code = <KEY_MENU>;
  248. gpio-key,wakeup;
  249. };
  250. };
  251. leds {
  252. compatible = "gpio-leds";
  253. status {
  254. gpios = <&gpx1 3 1>;
  255. linux,default-trigger = "heartbeat";
  256. };
  257. };
  258. fixed-rate-clocks {
  259. xxti {
  260. compatible = "samsung,clock-xxti";
  261. clock-frequency = <0>;
  262. };
  263. xusbxti {
  264. compatible = "samsung,clock-xusbxti";
  265. clock-frequency = <24000000>;
  266. };
  267. };
  268. fimd@11c00000 {
  269. pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>;
  270. pinctrl-names = "default";
  271. status = "okay";
  272. };
  273. display-timings {
  274. native-mode = <&timing0>;
  275. timing0: timing {
  276. clock-frequency = <47500000>;
  277. hactive = <1024>;
  278. vactive = <600>;
  279. hfront-porch = <64>;
  280. hback-porch = <16>;
  281. hsync-len = <48>;
  282. vback-porch = <64>;
  283. vfront-porch = <16>;
  284. vsync-len = <3>;
  285. };
  286. };
  287. };