exynos4210-smdkv310.dts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. #include <dt-bindings/gpio/gpio.h>
  19. #include "exynos-mfc-reserved-memory.dtsi"
  20. / {
  21. model = "Samsung smdkv310 evaluation board based on Exynos4210";
  22. compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4";
  23. memory@40000000 {
  24. device_type = "memory";
  25. reg = <0x40000000 0x80000000>;
  26. };
  27. chosen {
  28. bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
  29. stdout-path = &serial_1;
  30. };
  31. fixed-rate-clocks {
  32. xxti {
  33. compatible = "samsung,clock-xxti";
  34. clock-frequency = <12000000>;
  35. };
  36. xusbxti {
  37. compatible = "samsung,clock-xusbxti";
  38. clock-frequency = <24000000>;
  39. };
  40. };
  41. };
  42. &i2c_0 {
  43. #address-cells = <1>;
  44. #size-cells = <0>;
  45. samsung,i2c-sda-delay = <100>;
  46. samsung,i2c-max-bus-freq = <100000>;
  47. status = "okay";
  48. eeprom@50 {
  49. compatible = "samsung,24ad0xd1";
  50. reg = <0x50>;
  51. };
  52. eeprom@52 {
  53. compatible = "samsung,24ad0xd1";
  54. reg = <0x52>;
  55. };
  56. };
  57. &keypad {
  58. samsung,keypad-num-rows = <2>;
  59. samsung,keypad-num-columns = <8>;
  60. linux,keypad-no-autorepeat;
  61. wakeup-source;
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&keypad_rows &keypad_cols>;
  64. status = "okay";
  65. key_1 {
  66. keypad,row = <0>;
  67. keypad,column = <3>;
  68. linux,code = <2>;
  69. };
  70. key_2 {
  71. keypad,row = <0>;
  72. keypad,column = <4>;
  73. linux,code = <3>;
  74. };
  75. key_3 {
  76. keypad,row = <0>;
  77. keypad,column = <5>;
  78. linux,code = <4>;
  79. };
  80. key_4 {
  81. keypad,row = <0>;
  82. keypad,column = <6>;
  83. linux,code = <5>;
  84. };
  85. key_5 {
  86. keypad,row = <0>;
  87. keypad,column = <7>;
  88. linux,code = <6>;
  89. };
  90. key_a {
  91. keypad,row = <1>;
  92. keypad,column = <3>;
  93. linux,code = <30>;
  94. };
  95. key_b {
  96. keypad,row = <1>;
  97. keypad,column = <4>;
  98. linux,code = <48>;
  99. };
  100. key_c {
  101. keypad,row = <1>;
  102. keypad,column = <5>;
  103. linux,code = <46>;
  104. };
  105. key_d {
  106. keypad,row = <1>;
  107. keypad,column = <6>;
  108. linux,code = <32>;
  109. };
  110. key_e {
  111. keypad,row = <1>;
  112. keypad,column = <7>;
  113. linux,code = <18>;
  114. };
  115. };
  116. &pinctrl_1 {
  117. keypad_rows: keypad-rows {
  118. samsung,pins = "gpx2-0", "gpx2-1";
  119. samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
  120. samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
  121. samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
  122. };
  123. keypad_cols: keypad-cols {
  124. samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
  125. "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
  126. samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
  127. samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  128. samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
  129. };
  130. };
  131. &sdhci_2 {
  132. bus-width = <4>;
  133. pinctrl-names = "default";
  134. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
  135. status = "okay";
  136. };
  137. &serial_0 {
  138. status = "okay";
  139. };
  140. &serial_1 {
  141. status = "okay";
  142. };
  143. &serial_2 {
  144. status = "okay";
  145. };
  146. &serial_3 {
  147. status = "okay";
  148. };
  149. &spi_2 {
  150. cs-gpios = <&gpc1 2 GPIO_ACTIVE_HIGH>;
  151. status = "okay";
  152. w25x80@0 {
  153. #address-cells = <1>;
  154. #size-cells = <1>;
  155. compatible = "w25x80";
  156. reg = <0>;
  157. spi-max-frequency = <1000000>;
  158. controller-data {
  159. samsung,spi-feedback-delay = <0>;
  160. };
  161. partition@0 {
  162. label = "U-Boot";
  163. reg = <0x0 0x40000>;
  164. read-only;
  165. };
  166. partition@40000 {
  167. label = "Kernel";
  168. reg = <0x40000 0xc0000>;
  169. };
  170. };
  171. };