exynos4412-smdk4412.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. pinctrl@11000000 {
  29. keypad_rows: keypad-rows {
  30. samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
  31. samsung,pin-function = <3>;
  32. samsung,pin-pud = <3>;
  33. samsung,pin-drv = <0>;
  34. };
  35. keypad_cols: keypad-cols {
  36. samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
  37. "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
  38. samsung,pin-function = <3>;
  39. samsung,pin-pud = <0>;
  40. samsung,pin-drv = <0>;
  41. };
  42. };
  43. keypad@100A0000 {
  44. samsung,keypad-num-rows = <3>;
  45. samsung,keypad-num-columns = <8>;
  46. linux,keypad-no-autorepeat;
  47. linux,keypad-wakeup;
  48. pinctrl-0 = <&keypad_rows &keypad_cols>;
  49. pinctrl-names = "default";
  50. status = "okay";
  51. key_1 {
  52. keypad,row = <1>;
  53. keypad,column = <3>;
  54. linux,code = <2>;
  55. };
  56. key_2 {
  57. keypad,row = <1>;
  58. keypad,column = <4>;
  59. linux,code = <3>;
  60. };
  61. key_3 {
  62. keypad,row = <1>;
  63. keypad,column = <5>;
  64. linux,code = <4>;
  65. };
  66. key_4 {
  67. keypad,row = <1>;
  68. keypad,column = <6>;
  69. linux,code = <5>;
  70. };
  71. key_5 {
  72. keypad,row = <1>;
  73. keypad,column = <7>;
  74. linux,code = <6>;
  75. };
  76. key_A {
  77. keypad,row = <2>;
  78. keypad,column = <6>;
  79. linux,code = <30>;
  80. };
  81. key_B {
  82. keypad,row = <2>;
  83. keypad,column = <7>;
  84. linux,code = <48>;
  85. };
  86. key_C {
  87. keypad,row = <0>;
  88. keypad,column = <5>;
  89. linux,code = <46>;
  90. };
  91. key_D {
  92. keypad,row = <2>;
  93. keypad,column = <5>;
  94. linux,code = <32>;
  95. };
  96. key_E {
  97. keypad,row = <0>;
  98. keypad,column = <7>;
  99. linux,code = <18>;
  100. };
  101. };
  102. sdhci@12530000 {
  103. bus-width = <4>;
  104. pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
  105. pinctrl-names = "default";
  106. status = "okay";
  107. };
  108. codec@13400000 {
  109. samsung,mfc-r = <0x43000000 0x800000>;
  110. samsung,mfc-l = <0x51000000 0x800000>;
  111. status = "okay";
  112. };
  113. serial@13800000 {
  114. status = "okay";
  115. };
  116. serial@13810000 {
  117. status = "okay";
  118. };
  119. serial@13820000 {
  120. status = "okay";
  121. };
  122. serial@13830000 {
  123. status = "okay";
  124. };
  125. fixed-rate-clocks {
  126. xxti {
  127. compatible = "samsung,clock-xxti";
  128. clock-frequency = <0>;
  129. };
  130. xusbxti {
  131. compatible = "samsung,clock-xusbxti";
  132. clock-frequency = <24000000>;
  133. };
  134. };
  135. };