exynos4210-origen.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. sdhci@12530000 {
  39. bus-width = <4>;
  40. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
  41. pinctrl-names = "default";
  42. vmmc-supply = <&mmc_reg>;
  43. status = "okay";
  44. };
  45. sdhci@12510000 {
  46. bus-width = <4>;
  47. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
  48. pinctrl-names = "default";
  49. vmmc-supply = <&mmc_reg>;
  50. status = "okay";
  51. };
  52. g2d@12800000 {
  53. status = "okay";
  54. };
  55. codec@13400000 {
  56. samsung,mfc-r = <0x43000000 0x800000>;
  57. samsung,mfc-l = <0x51000000 0x800000>;
  58. status = "okay";
  59. };
  60. serial@13800000 {
  61. status = "okay";
  62. };
  63. serial@13810000 {
  64. status = "okay";
  65. };
  66. serial@13820000 {
  67. status = "okay";
  68. };
  69. serial@13830000 {
  70. status = "okay";
  71. };
  72. gpio_keys {
  73. compatible = "gpio-keys";
  74. #address-cells = <1>;
  75. #size-cells = <0>;
  76. up {
  77. label = "Up";
  78. gpios = <&gpx2 0 1>;
  79. linux,code = <103>;
  80. gpio-key,wakeup;
  81. };
  82. down {
  83. label = "Down";
  84. gpios = <&gpx2 1 1>;
  85. linux,code = <108>;
  86. gpio-key,wakeup;
  87. };
  88. back {
  89. label = "Back";
  90. gpios = <&gpx1 7 1>;
  91. linux,code = <158>;
  92. gpio-key,wakeup;
  93. };
  94. home {
  95. label = "Home";
  96. gpios = <&gpx1 6 1>;
  97. linux,code = <102>;
  98. gpio-key,wakeup;
  99. };
  100. menu {
  101. label = "Menu";
  102. gpios = <&gpx1 5 1>;
  103. linux,code = <139>;
  104. gpio-key,wakeup;
  105. };
  106. };
  107. leds {
  108. compatible = "gpio-leds";
  109. status {
  110. gpios = <&gpx1 3 1>;
  111. linux,default-trigger = "heartbeat";
  112. };
  113. };
  114. fixed-rate-clocks {
  115. xxti {
  116. compatible = "samsung,clock-xxti";
  117. clock-frequency = <0>;
  118. };
  119. xusbxti {
  120. compatible = "samsung,clock-xusbxti";
  121. clock-frequency = <24000000>;
  122. };
  123. };
  124. };