s5pv210-smdkv210.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. /*
  2. * Samsung's S5PV210 SoC device tree source
  3. *
  4. * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
  5. *
  6. * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
  7. * Tomasz Figa <t.figa@samsung.com>
  8. *
  9. * Board device tree source for YIC System SMDV210 board.
  10. *
  11. * NOTE: This file is completely based on original board file for mach-smdkv210
  12. * available in Linux 3.15 and intends to provide equivalent level of hardware
  13. * support. Due to lack of hardware, _no_ testing has been performed.
  14. *
  15. * This program is free software; you can redistribute it and/or modify
  16. * it under the terms of the GNU General Public License version 2 as
  17. * published by the Free Software Foundation.
  18. */
  19. /dts-v1/;
  20. #include <dt-bindings/input/input.h>
  21. #include "s5pv210.dtsi"
  22. / {
  23. model = "YIC System SMDKV210 based on S5PV210";
  24. compatible = "yic,smdkv210", "samsung,s5pv210";
  25. chosen {
  26. bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
  27. };
  28. memory {
  29. device_type = "memory";
  30. reg = <0x20000000 0x40000000>;
  31. };
  32. ethernet@18000000 {
  33. compatible = "davicom,dm9000";
  34. reg = <0xA8000000 0x2 0xA8000002 0x2>;
  35. interrupt-parent = <&gph1>;
  36. interrupts = <1 4>;
  37. local-mac-address = [00 00 de ad be ef];
  38. davicom,no-eeprom;
  39. };
  40. backlight {
  41. compatible = "pwm-backlight";
  42. pwms = <&pwm 3 5000000 0>;
  43. brightness-levels = <0 4 8 16 32 64 128 255>;
  44. default-brightness-level = <6>;
  45. pinctrl-names = "default";
  46. pinctrl-0 = <&pwm3_out>;
  47. };
  48. };
  49. &xusbxti {
  50. clock-frequency = <24000000>;
  51. };
  52. &keypad {
  53. linux,input-no-autorepeat;
  54. linux,input-wakeup;
  55. samsung,keypad-num-rows = <8>;
  56. samsung,keypad-num-columns = <8>;
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&keypad_row0>, <&keypad_row1>, <&keypad_row2>,
  59. <&keypad_row3>, <&keypad_row4>, <&keypad_row5>,
  60. <&keypad_row6>, <&keypad_row7>,
  61. <&keypad_col0>, <&keypad_col1>, <&keypad_col2>,
  62. <&keypad_col3>, <&keypad_col4>, <&keypad_col5>,
  63. <&keypad_col6>, <&keypad_col7>;
  64. status = "okay";
  65. key_1 {
  66. keypad,row = <0>;
  67. keypad,column = <3>;
  68. linux,code = <KEY_1>;
  69. };
  70. key_2 {
  71. keypad,row = <0>;
  72. keypad,column = <4>;
  73. linux,code = <KEY_2>;
  74. };
  75. key_3 {
  76. keypad,row = <0>;
  77. keypad,column = <5>;
  78. linux,code = <KEY_3>;
  79. };
  80. key_4 {
  81. keypad,row = <0>;
  82. keypad,column = <6>;
  83. linux,code = <KEY_4>;
  84. };
  85. key_5 {
  86. keypad,row = <0
  87. >;
  88. keypad,column = <7>;
  89. linux,code = <KEY_5>;
  90. };
  91. key_6 {
  92. keypad,row = <1>;
  93. keypad,column = <3>;
  94. linux,code = <KEY_A>;
  95. };
  96. key_7 {
  97. keypad,row = <1>;
  98. keypad,column = <4>;
  99. linux,code = <KEY_B>;
  100. };
  101. key_8 {
  102. keypad,row = <1>;
  103. keypad,column = <5>;
  104. linux,code = <KEY_C>;
  105. };
  106. key_9 {
  107. keypad,row = <1>;
  108. keypad,column = <6>;
  109. linux,code = <KEY_D>;
  110. };
  111. key_10 {
  112. keypad,row = <1>;
  113. keypad,column = <7>;
  114. linux,code = <KEY_E>;
  115. };
  116. };
  117. &uart0 {
  118. status = "okay";
  119. };
  120. &uart1 {
  121. status = "okay";
  122. };
  123. &uart2 {
  124. status = "okay";
  125. };
  126. &uart3 {
  127. status = "okay";
  128. };
  129. &rtc {
  130. status = "okay";
  131. };
  132. &sdhci0 {
  133. bus-width = <4>;
  134. pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus1 &sd0_bus4>;
  135. pinctrl-names = "default";
  136. status = "okay";
  137. };
  138. &sdhci1 {
  139. bus-width = <4>;
  140. pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus1 &sd1_bus4>;
  141. pinctrl-names = "default";
  142. status = "okay";
  143. };
  144. &sdhci2 {
  145. bus-width = <4>;
  146. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
  147. pinctrl-names = "default";
  148. status = "okay";
  149. };
  150. &sdhci3 {
  151. bus-width = <4>;
  152. pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_cd &sd3_bus1 &sd3_bus4>;
  153. pinctrl-names = "default";
  154. status = "okay";
  155. };
  156. &hsotg {
  157. status = "okay";
  158. };
  159. &usbphy {
  160. status = "okay";
  161. };
  162. &fimd {
  163. pinctrl-0 = <&lcd_clk &lcd_data24>;
  164. pinctrl-names = "default";
  165. status = "okay";
  166. display-timings {
  167. native-mode = <&timing0>;
  168. timing0: timing@0 {
  169. /* 800x480@60Hz */
  170. clock-frequency = <24373920>;
  171. hactive = <800>;
  172. vactive = <480>;
  173. hfront-porch = <8>;
  174. hback-porch = <13>;
  175. hsync-len = <3>;
  176. vback-porch = <7>;
  177. vfront-porch = <5>;
  178. vsync-len = <1>;
  179. hsync-active = <0>;
  180. vsync-active = <0>;
  181. de-active = <1>;
  182. pixelclk-active = <1>;
  183. };
  184. };
  185. };
  186. &pwm {
  187. samsung,pwm-outputs = <3>;
  188. };
  189. &i2c0 {
  190. status = "okay";
  191. audio-codec@1b {
  192. compatible = "wlf,wm8580";
  193. reg = <0x1b>;
  194. };
  195. eeprom@50 {
  196. compatible = "atmel,24c08";
  197. reg = <0x50>;
  198. };
  199. };
  200. &i2s0 {
  201. status = "okay";
  202. };