cros5250-common.dtsi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /*
  2. * Common device tree include for all Exynos 5250 boards based off of Daisy.
  3. *
  4. * Copyright (c) 2012 Google, Inc
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. / {
  11. aliases {
  12. };
  13. memory {
  14. reg = <0x40000000 0x80000000>;
  15. };
  16. chosen {
  17. };
  18. i2c@12C60000 {
  19. samsung,i2c-sda-delay = <100>;
  20. samsung,i2c-max-bus-freq = <378000>;
  21. gpios = <&gpb3 0 2 3 0>,
  22. <&gpb3 1 2 3 0>;
  23. };
  24. i2c@12C70000 {
  25. samsung,i2c-sda-delay = <100>;
  26. samsung,i2c-max-bus-freq = <378000>;
  27. gpios = <&gpb3 2 2 3 0>,
  28. <&gpb3 3 2 3 0>;
  29. };
  30. i2c@12C80000 {
  31. samsung,i2c-sda-delay = <100>;
  32. samsung,i2c-max-bus-freq = <66000>;
  33. /*
  34. * Disabled pullups since external part has its own pullups and
  35. * double-pulling gets us out of spec in some cases.
  36. */
  37. gpios = <&gpa0 6 3 0 0>,
  38. <&gpa0 7 3 0 0>;
  39. hdmiddc@50 {
  40. compatible = "samsung,exynos5-hdmiddc";
  41. reg = <0x50>;
  42. };
  43. };
  44. i2c@12C90000 {
  45. samsung,i2c-sda-delay = <100>;
  46. samsung,i2c-max-bus-freq = <66000>;
  47. gpios = <&gpa1 2 3 3 0>,
  48. <&gpa1 3 3 3 0>;
  49. };
  50. i2c@12CA0000 {
  51. status = "disabled";
  52. };
  53. i2c@12CB0000 {
  54. samsung,i2c-sda-delay = <100>;
  55. samsung,i2c-max-bus-freq = <66000>;
  56. gpios = <&gpa2 2 3 3 0>,
  57. <&gpa2 3 3 3 0>;
  58. };
  59. i2c@12CC0000 {
  60. status = "disabled";
  61. };
  62. i2c@12CD0000 {
  63. samsung,i2c-sda-delay = <100>;
  64. samsung,i2c-max-bus-freq = <66000>;
  65. gpios = <&gpb2 2 3 3 0>,
  66. <&gpb2 3 3 3 0>;
  67. };
  68. i2c@12CE0000 {
  69. samsung,i2c-sda-delay = <100>;
  70. samsung,i2c-max-bus-freq = <378000>;
  71. hdmiphy@38 {
  72. compatible = "samsung,exynos5-hdmiphy";
  73. reg = <0x38>;
  74. };
  75. };
  76. dwmmc0@12200000 {
  77. num-slots = <1>;
  78. supports-highspeed;
  79. broken-cd;
  80. fifo-depth = <0x80>;
  81. card-detect-delay = <200>;
  82. samsung,dw-mshc-ciu-div = <3>;
  83. samsung,dw-mshc-sdr-timing = <2 3>;
  84. samsung,dw-mshc-ddr-timing = <1 2>;
  85. slot@0 {
  86. reg = <0>;
  87. bus-width = <8>;
  88. gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
  89. <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
  90. <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
  91. <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
  92. <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
  93. };
  94. };
  95. dwmmc1@12210000 {
  96. status = "disabled";
  97. };
  98. dwmmc2@12220000 {
  99. num-slots = <1>;
  100. supports-highspeed;
  101. fifo-depth = <0x80>;
  102. card-detect-delay = <200>;
  103. samsung,dw-mshc-ciu-div = <3>;
  104. samsung,dw-mshc-sdr-timing = <2 3>;
  105. samsung,dw-mshc-ddr-timing = <1 2>;
  106. slot@0 {
  107. reg = <0>;
  108. bus-width = <4>;
  109. samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>;
  110. wp-gpios = <&gpc2 1 0 0 3>;
  111. gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>,
  112. <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
  113. <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>;
  114. };
  115. };
  116. dwmmc3@12230000 {
  117. num-slots = <1>;
  118. supports-highspeed;
  119. broken-cd;
  120. fifo-depth = <0x80>;
  121. card-detect-delay = <200>;
  122. samsung,dw-mshc-ciu-div = <3>;
  123. samsung,dw-mshc-sdr-timing = <2 3>;
  124. samsung,dw-mshc-ddr-timing = <1 2>;
  125. slot@0 {
  126. reg = <0>;
  127. bus-width = <4>;
  128. /* See board-specific dts files for GPIOs */
  129. };
  130. };
  131. spi_0: spi@12d20000 {
  132. status = "disabled";
  133. };
  134. spi_1: spi@12d30000 {
  135. gpios = <&gpa2 4 2 3 0>,
  136. <&gpa2 6 2 3 0>,
  137. <&gpa2 7 2 3 0>;
  138. samsung,spi-src-clk = <0>;
  139. num-cs = <1>;
  140. };
  141. spi_2: spi@12d40000 {
  142. status = "disabled";
  143. };
  144. hdmi {
  145. hpd-gpio = <&gpx3 7 0xf 1 3>;
  146. };
  147. gpio-keys {
  148. compatible = "gpio-keys";
  149. power {
  150. label = "Power";
  151. gpios = <&gpx1 3 0 0x10000 0>;
  152. linux,code = <116>; /* KEY_POWER */
  153. gpio-key,wakeup;
  154. };
  155. };
  156. };