exynos4210-smdkv310.dts 3.7 KB

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