exynos4210-origen.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. serial@13800000 {
  53. status = "okay";
  54. };
  55. serial@13810000 {
  56. status = "okay";
  57. };
  58. serial@13820000 {
  59. status = "okay";
  60. };
  61. serial@13830000 {
  62. status = "okay";
  63. };
  64. gpio_keys {
  65. compatible = "gpio-keys";
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. up {
  69. label = "Up";
  70. gpios = <&gpx2 0 1>;
  71. linux,code = <103>;
  72. gpio-key,wakeup;
  73. };
  74. down {
  75. label = "Down";
  76. gpios = <&gpx2 1 1>;
  77. linux,code = <108>;
  78. gpio-key,wakeup;
  79. };
  80. back {
  81. label = "Back";
  82. gpios = <&gpx1 7 1>;
  83. linux,code = <158>;
  84. gpio-key,wakeup;
  85. };
  86. home {
  87. label = "Home";
  88. gpios = <&gpx1 6 1>;
  89. linux,code = <102>;
  90. gpio-key,wakeup;
  91. };
  92. menu {
  93. label = "Menu";
  94. gpios = <&gpx1 5 1>;
  95. linux,code = <139>;
  96. gpio-key,wakeup;
  97. };
  98. };
  99. leds {
  100. compatible = "gpio-leds";
  101. status {
  102. gpios = <&gpx1 3 1>;
  103. linux,default-trigger = "heartbeat";
  104. };
  105. };
  106. };