exynos4210-smdkv310.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. bus-width = <4>;
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
  31. status = "okay";
  32. };
  33. g2d@12800000 {
  34. status = "okay";
  35. };
  36. codec@13400000 {
  37. samsung,mfc-r = <0x43000000 0x800000>;
  38. samsung,mfc-l = <0x51000000 0x800000>;
  39. status = "okay";
  40. };
  41. serial@13800000 {
  42. status = "okay";
  43. };
  44. serial@13810000 {
  45. status = "okay";
  46. };
  47. serial@13820000 {
  48. status = "okay";
  49. };
  50. serial@13830000 {
  51. status = "okay";
  52. };
  53. pinctrl@11000000 {
  54. keypad_rows: keypad-rows {
  55. samsung,pins = "gpx2-0", "gpx2-1";
  56. samsung,pin-function = <3>;
  57. samsung,pin-pud = <3>;
  58. samsung,pin-drv = <0>;
  59. };
  60. keypad_cols: keypad-cols {
  61. samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
  62. "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
  63. samsung,pin-function = <3>;
  64. samsung,pin-pud = <0>;
  65. samsung,pin-drv = <0>;
  66. };
  67. };
  68. keypad@100A0000 {
  69. samsung,keypad-num-rows = <2>;
  70. samsung,keypad-num-columns = <8>;
  71. linux,keypad-no-autorepeat;
  72. linux,keypad-wakeup;
  73. pinctrl-names = "default";
  74. pinctrl-0 = <&keypad_rows &keypad_cols>;
  75. status = "okay";
  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 = <100000>;
  132. status = "okay";
  133. eeprom@50 {
  134. compatible = "samsung,24ad0xd1";
  135. reg = <0x50>;
  136. };
  137. eeprom@52 {
  138. compatible = "samsung,24ad0xd1";
  139. reg = <0x52>;
  140. };
  141. };
  142. spi_2: spi@13940000 {
  143. status = "okay";
  144. w25x80@0 {
  145. #address-cells = <1>;
  146. #size-cells = <1>;
  147. compatible = "w25x80";
  148. reg = <0>;
  149. spi-max-frequency = <1000000>;
  150. controller-data {
  151. cs-gpio = <&gpc1 2 0>;
  152. samsung,spi-feedback-delay = <0>;
  153. };
  154. partition@0 {
  155. label = "U-Boot";
  156. reg = <0x0 0x40000>;
  157. read-only;
  158. };
  159. partition@40000 {
  160. label = "Kernel";
  161. reg = <0x40000 0xc0000>;
  162. };
  163. };
  164. };
  165. fixed-rate-clocks {
  166. xxti {
  167. compatible = "samsung,clock-xxti";
  168. clock-frequency = <12000000>;
  169. };
  170. xusbxti {
  171. compatible = "samsung,clock-xusbxti";
  172. clock-frequency = <24000000>;
  173. };
  174. };
  175. };