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 0x40000000>;
  23. };
  24. chosen {
  25. bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
  26. };
  27. sdhci@12530000 {
  28. samsung,sdhci-bus-width = <4>;
  29. linux,mmc_cap_4_bit_data;
  30. samsung,sdhci-cd-internal;
  31. gpio-cd = <&gpk2 2 2 3 3>;
  32. gpios = <&gpk2 0 2 0 3>,
  33. <&gpk2 1 2 0 3>,
  34. <&gpk2 3 2 3 3>,
  35. <&gpk2 4 2 3 3>,
  36. <&gpk2 5 2 3 3>,
  37. <&gpk2 6 2 3 3>;
  38. status = "okay";
  39. };
  40. sdhci@12510000 {
  41. samsung,sdhci-bus-width = <4>;
  42. linux,mmc_cap_4_bit_data;
  43. samsung,sdhci-cd-internal;
  44. gpio-cd = <&gpk0 2 2 3 3>;
  45. gpios = <&gpk0 0 2 0 3>,
  46. <&gpk0 1 2 0 3>,
  47. <&gpk0 3 2 3 3>,
  48. <&gpk0 4 2 3 3>,
  49. <&gpk0 5 2 3 3>,
  50. <&gpk0 6 2 3 3>;
  51. status = "okay";
  52. };
  53. serial@13800000 {
  54. status = "okay";
  55. };
  56. serial@13810000 {
  57. status = "okay";
  58. };
  59. serial@13820000 {
  60. status = "okay";
  61. };
  62. serial@13830000 {
  63. status = "okay";
  64. };
  65. gpio_keys {
  66. compatible = "gpio-keys";
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. up {
  70. label = "Up";
  71. gpios = <&gpx2 0 0 0x10000 2>;
  72. linux,code = <103>;
  73. gpio-key,wakeup;
  74. };
  75. down {
  76. label = "Down";
  77. gpios = <&gpx2 1 0 0x10000 2>;
  78. linux,code = <108>;
  79. gpio-key,wakeup;
  80. };
  81. back {
  82. label = "Back";
  83. gpios = <&gpx1 7 0 0x10000 2>;
  84. linux,code = <158>;
  85. gpio-key,wakeup;
  86. };
  87. home {
  88. label = "Home";
  89. gpios = <&gpx1 6 0 0x10000 2>;
  90. linux,code = <102>;
  91. gpio-key,wakeup;
  92. };
  93. menu {
  94. label = "Menu";
  95. gpios = <&gpx1 5 0 0x10000 2>;
  96. linux,code = <139>;
  97. gpio-key,wakeup;
  98. };
  99. };
  100. leds {
  101. compatible = "gpio-leds";
  102. status {
  103. gpios = <&gpx1 3 0 0x10000 2>;
  104. linux,default-trigger = "heartbeat";
  105. };
  106. };
  107. };