exynos4412-smdk4412.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /*
  2. * Samsung's Exynos4412 based SMDK board device tree source
  3. *
  4. * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * Device tree source file for Samsung's SMDK4412 board which is based on
  8. * Samsung's Exynos4412 SoC.
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. /dts-v1/;
  15. /include/ "exynos4412.dtsi"
  16. / {
  17. model = "Samsung SMDK evaluation board based on Exynos4412";
  18. compatible = "samsung,smdk4412", "samsung,exynos4412";
  19. memory {
  20. reg = <0x40000000 0x40000000>;
  21. };
  22. chosen {
  23. bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
  24. };
  25. g2d@10800000 {
  26. status = "okay";
  27. };
  28. g2d@10800000 {
  29. status = "okay";
  30. };
  31. pinctrl@11000000 {
  32. keypad_rows: keypad-rows {
  33. samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
  34. samsung,pin-function = <3>;
  35. samsung,pin-pud = <3>;
  36. samsung,pin-drv = <0>;
  37. };
  38. keypad_cols: keypad-cols {
  39. samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
  40. "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
  41. samsung,pin-function = <3>;
  42. samsung,pin-pud = <0>;
  43. samsung,pin-drv = <0>;
  44. };
  45. };
  46. keypad@100A0000 {
  47. samsung,keypad-num-rows = <3>;
  48. samsung,keypad-num-columns = <8>;
  49. linux,keypad-no-autorepeat;
  50. linux,keypad-wakeup;
  51. pinctrl-0 = <&keypad_rows &keypad_cols>;
  52. pinctrl-names = "default";
  53. status = "okay";
  54. key_1 {
  55. keypad,row = <1>;
  56. keypad,column = <3>;
  57. linux,code = <2>;
  58. };
  59. key_2 {
  60. keypad,row = <1>;
  61. keypad,column = <4>;
  62. linux,code = <3>;
  63. };
  64. key_3 {
  65. keypad,row = <1>;
  66. keypad,column = <5>;
  67. linux,code = <4>;
  68. };
  69. key_4 {
  70. keypad,row = <1>;
  71. keypad,column = <6>;
  72. linux,code = <5>;
  73. };
  74. key_5 {
  75. keypad,row = <1>;
  76. keypad,column = <7>;
  77. linux,code = <6>;
  78. };
  79. key_A {
  80. keypad,row = <2>;
  81. keypad,column = <6>;
  82. linux,code = <30>;
  83. };
  84. key_B {
  85. keypad,row = <2>;
  86. keypad,column = <7>;
  87. linux,code = <48>;
  88. };
  89. key_C {
  90. keypad,row = <0>;
  91. keypad,column = <5>;
  92. linux,code = <46>;
  93. };
  94. key_D {
  95. keypad,row = <2>;
  96. keypad,column = <5>;
  97. linux,code = <32>;
  98. };
  99. key_E {
  100. keypad,row = <0>;
  101. keypad,column = <7>;
  102. linux,code = <18>;
  103. };
  104. };
  105. sdhci@12530000 {
  106. bus-width = <4>;
  107. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
  108. pinctrl-names = "default";
  109. status = "okay";
  110. };
  111. codec@13400000 {
  112. samsung,mfc-r = <0x43000000 0x800000>;
  113. samsung,mfc-l = <0x51000000 0x800000>;
  114. status = "okay";
  115. };
  116. serial@13800000 {
  117. status = "okay";
  118. };
  119. serial@13810000 {
  120. status = "okay";
  121. };
  122. serial@13820000 {
  123. status = "okay";
  124. };
  125. serial@13830000 {
  126. status = "okay";
  127. };
  128. fixed-rate-clocks {
  129. xxti {
  130. compatible = "samsung,clock-xxti";
  131. clock-frequency = <0>;
  132. };
  133. xusbxti {
  134. compatible = "samsung,clock-xusbxti";
  135. clock-frequency = <24000000>;
  136. };
  137. };
  138. };