exynos4210-smdkv310.dts 3.3 KB

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