exynos4210-smdkv310.dts 3.7 KB

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