exynos4210-smdkv310.dts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /*
  2. * Samsung's Exynos4210 based SMDKV310 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 Samsung's SMDKV310 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 = "Samsung smdkv310 evaluation board based on Exynos4210";
  20. compatible = "samsung,smdkv310", "samsung,exynos4210";
  21. memory {
  22. reg = <0x40000000 0x80000000>;
  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. keypad@100A0000 {
  41. samsung,keypad-num-rows = <2>;
  42. samsung,keypad-num-columns = <8>;
  43. linux,keypad-no-autorepeat;
  44. linux,keypad-wakeup;
  45. status = "okay";
  46. row-gpios = <&gpx2 0 3 3 0>,
  47. <&gpx2 1 3 3 0>;
  48. col-gpios = <&gpx1 0 3 0 0>,
  49. <&gpx1 1 3 0 0>,
  50. <&gpx1 2 3 0 0>,
  51. <&gpx1 3 3 0 0>,
  52. <&gpx1 4 3 0 0>,
  53. <&gpx1 5 3 0 0>,
  54. <&gpx1 6 3 0 0>,
  55. <&gpx1 7 3 0 0>;
  56. key_1 {
  57. keypad,row = <0>;
  58. keypad,column = <3>;
  59. linux,code = <2>;
  60. };
  61. key_2 {
  62. keypad,row = <0>;
  63. keypad,column = <4>;
  64. linux,code = <3>;
  65. };
  66. key_3 {
  67. keypad,row = <0>;
  68. keypad,column = <5>;
  69. linux,code = <4>;
  70. };
  71. key_4 {
  72. keypad,row = <0>;
  73. keypad,column = <6>;
  74. linux,code = <5>;
  75. };
  76. key_5 {
  77. keypad,row = <0>;
  78. keypad,column = <7>;
  79. linux,code = <6>;
  80. };
  81. key_a {
  82. keypad,row = <1>;
  83. keypad,column = <3>;
  84. linux,code = <30>;
  85. };
  86. key_b {
  87. keypad,row = <1>;
  88. keypad,column = <4>;
  89. linux,code = <48>;
  90. };
  91. key_c {
  92. keypad,row = <1>;
  93. keypad,column = <5>;
  94. linux,code = <46>;
  95. };
  96. key_d {
  97. keypad,row = <1>;
  98. keypad,column = <6>;
  99. linux,code = <32>;
  100. };
  101. key_e {
  102. keypad,row = <1>;
  103. keypad,column = <7>;
  104. linux,code = <18>;
  105. };
  106. };
  107. i2c@13860000 {
  108. #address-cells = <1>;
  109. #size-cells = <0>;
  110. samsung,i2c-sda-delay = <100>;
  111. samsung,i2c-max-bus-freq = <20000>;
  112. gpios = <&gpd1 0 2 3 0>,
  113. <&gpd1 1 2 3 0>;
  114. status = "okay";
  115. eeprom@50 {
  116. compatible = "samsung,24ad0xd1";
  117. reg = <0x50>;
  118. };
  119. eeprom@52 {
  120. compatible = "samsung,24ad0xd1";
  121. reg = <0x52>;
  122. };
  123. };
  124. spi_2: spi@13940000 {
  125. gpios = <&gpc1 1 5 3 0>,
  126. <&gpc1 3 5 3 0>,
  127. <&gpc1 4 5 3 0>;
  128. status = "okay";
  129. w25x80@0 {
  130. #address-cells = <1>;
  131. #size-cells = <1>;
  132. compatible = "w25x80";
  133. reg = <0>;
  134. spi-max-frequency = <1000000>;
  135. controller-data {
  136. cs-gpio = <&gpc1 2 1 0 3>;
  137. samsung,spi-feedback-delay = <0>;
  138. };
  139. partition@0 {
  140. label = "U-Boot";
  141. reg = <0x0 0x40000>;
  142. read-only;
  143. };
  144. partition@40000 {
  145. label = "Kernel";
  146. reg = <0x40000 0xc0000>;
  147. };
  148. };
  149. };
  150. };