exynos4210-smdkv310.dts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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=ttySAC1,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. };
  39. keypad@100A0000 {
  40. samsung,keypad-num-rows = <2>;
  41. samsung,keypad-num-columns = <8>;
  42. linux,keypad-no-autorepeat;
  43. linux,keypad-wakeup;
  44. row-gpios = <&gpx2 0 3 3 0>,
  45. <&gpx2 1 3 3 0>;
  46. col-gpios = <&gpx1 0 3 0 0>,
  47. <&gpx1 1 3 0 0>,
  48. <&gpx1 2 3 0 0>,
  49. <&gpx1 3 3 0 0>,
  50. <&gpx1 4 3 0 0>,
  51. <&gpx1 5 3 0 0>,
  52. <&gpx1 6 3 0 0>,
  53. <&gpx1 7 3 0 0>;
  54. key_1 {
  55. keypad,row = <0>;
  56. keypad,column = <3>;
  57. linux,code = <2>;
  58. };
  59. key_2 {
  60. keypad,row = <0>;
  61. keypad,column = <4>;
  62. linux,code = <3>;
  63. };
  64. key_3 {
  65. keypad,row = <0>;
  66. keypad,column = <5>;
  67. linux,code = <4>;
  68. };
  69. key_4 {
  70. keypad,row = <0>;
  71. keypad,column = <6>;
  72. linux,code = <5>;
  73. };
  74. key_5 {
  75. keypad,row = <0>;
  76. keypad,column = <7>;
  77. linux,code = <6>;
  78. };
  79. key_a {
  80. keypad,row = <1>;
  81. keypad,column = <3>;
  82. linux,code = <30>;
  83. };
  84. key_b {
  85. keypad,row = <1>;
  86. keypad,column = <4>;
  87. linux,code = <48>;
  88. };
  89. key_c {
  90. keypad,row = <1>;
  91. keypad,column = <5>;
  92. linux,code = <46>;
  93. };
  94. key_d {
  95. keypad,row = <1>;
  96. keypad,column = <6>;
  97. linux,code = <32>;
  98. };
  99. key_e {
  100. keypad,row = <1>;
  101. keypad,column = <7>;
  102. linux,code = <18>;
  103. };
  104. };
  105. i2c@13860000 {
  106. #address-cells = <1>;
  107. #size-cells = <0>;
  108. samsung,i2c-sda-delay = <100>;
  109. samsung,i2c-max-bus-freq = <20000>;
  110. gpios = <&gpd1 0 2 3 0>,
  111. <&gpd1 1 2 3 0>;
  112. eeprom@50 {
  113. compatible = "samsung,24ad0xd1";
  114. reg = <0x50>;
  115. };
  116. eeprom@52 {
  117. compatible = "samsung,24ad0xd1";
  118. reg = <0x52>;
  119. };
  120. };
  121. sdhci@12510000 {
  122. status = "disabled";
  123. };
  124. sdhci@12520000 {
  125. status = "disabled";
  126. };
  127. sdhci@12540000 {
  128. status = "disabled";
  129. };
  130. i2c@13870000 {
  131. status = "disabled";
  132. };
  133. i2c@13880000 {
  134. status = "disabled";
  135. };
  136. i2c@13890000 {
  137. status = "disabled";
  138. };
  139. i2c@138A0000 {
  140. status = "disabled";
  141. };
  142. i2c@138B0000 {
  143. status = "disabled";
  144. };
  145. i2c@138C0000 {
  146. status = "disabled";
  147. };
  148. i2c@138D0000 {
  149. status = "disabled";
  150. };
  151. spi_0: spi@13920000 {
  152. status = "disabled";
  153. };
  154. spi_1: spi@13930000 {
  155. status = "disabled";
  156. };
  157. spi_2: spi@13940000 {
  158. gpios = <&gpc1 1 5 3 0>,
  159. <&gpc1 3 5 3 0>,
  160. <&gpc1 4 5 3 0>;
  161. w25x80@0 {
  162. #address-cells = <1>;
  163. #size-cells = <1>;
  164. compatible = "w25x80";
  165. reg = <0>;
  166. spi-max-frequency = <1000000>;
  167. controller-data {
  168. cs-gpio = <&gpc1 2 1 0 3>;
  169. samsung,spi-feedback-delay = <0>;
  170. };
  171. partition@0 {
  172. label = "U-Boot";
  173. reg = <0x0 0x40000>;
  174. read-only;
  175. };
  176. partition@40000 {
  177. label = "Kernel";
  178. reg = <0x40000 0xc0000>;
  179. };
  180. };
  181. };
  182. };