exynos4210-origen.dts 6.6 KB

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