exynos5250-snow.dts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /*
  2. * SAMSUNG Snow board device tree source
  3. *
  4. * Copyright (c) 2012 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. /dts-v1/;
  12. /include/ "exynos5250.dtsi"
  13. / {
  14. model = "Google Snow";
  15. compatible = "google,snow", "samsung,exynos5250";
  16. aliases {
  17. i2c0 = "/i2c@12c60000";
  18. i2c1 = "/i2c@12c70000";
  19. i2c2 = "/i2c@12c80000";
  20. i2c3 = "/i2c@12c90000";
  21. i2c4 = "/i2c@12ca0000";
  22. i2c5 = "/i2c@12cb0000";
  23. i2c6 = "/i2c@12cc0000";
  24. i2c7 = "/i2c@12cd0000";
  25. spi0 = "/spi@12d20000";
  26. spi1 = "/spi@12d30000";
  27. spi2 = "/spi@12d40000";
  28. spi3 = "/spi@131a0000";
  29. spi4 = "/spi@131b0000";
  30. mmc0 = "/mmc@12200000";
  31. mmc1 = "/mmc@12210000";
  32. mmc2 = "/mmc@12220000";
  33. mmc3 = "/mmc@12230000";
  34. serial0 = "/serial@12C30000";
  35. console = "/serial@12C30000";
  36. i2s = "/sound@3830000";
  37. };
  38. i2c4: i2c@12ca0000 {
  39. cros-ec@1e {
  40. reg = <0x1e>;
  41. compatible = "google,cros-ec";
  42. i2c-max-frequency = <100000>;
  43. ec-interrupt = <&gpio 782 1>;
  44. };
  45. power-regulator@48 {
  46. compatible = "ti,tps65090";
  47. reg = <0x48>;
  48. };
  49. };
  50. spi@131b0000 {
  51. spi-max-frequency = <1000000>;
  52. spi-deactivate-delay = <100>;
  53. cros-ec@0 {
  54. reg = <0>;
  55. compatible = "google,cros-ec";
  56. spi-max-frequency = <5000000>;
  57. ec-interrupt = <&gpio 782 1>;
  58. optimise-flash-write;
  59. status = "disabled";
  60. };
  61. };
  62. sound@3830000 {
  63. samsung,codec-type = "max98095";
  64. codec-enable-gpio = <&gpio 0xb7 0>;
  65. };
  66. sound@12d60000 {
  67. status = "disabled";
  68. };
  69. i2c@12cd0000 {
  70. soundcodec@22 {
  71. reg = <0x22>;
  72. compatible = "maxim,max98095-codec";
  73. };
  74. };
  75. i2c@12c60000 {
  76. pmic@9 {
  77. reg = <0x9>;
  78. compatible = "maxim,max77686_pmic";
  79. };
  80. };
  81. mmc@12200000 {
  82. samsung,bus-width = <8>;
  83. samsung,timing = <1 3 3>;
  84. samsung,removable = <0>;
  85. };
  86. mmc@12210000 {
  87. status = "disabled";
  88. };
  89. mmc@12220000 {
  90. samsung,bus-width = <4>;
  91. samsung,timing = <1 2 3>;
  92. samsung,removable = <1>;
  93. };
  94. mmc@12230000 {
  95. status = "disabled";
  96. };
  97. tmu@10060000 {
  98. samsung,min-temp = <25>;
  99. samsung,max-temp = <125>;
  100. samsung,start-warning = <95>;
  101. samsung,start-tripping = <105>;
  102. samsung,hw-tripping = <110>;
  103. samsung,efuse-min-value = <40>;
  104. samsung,efuse-value = <55>;
  105. samsung,efuse-max-value = <100>;
  106. samsung,slope = <274761730>;
  107. samsung,dc-value = <25>;
  108. };
  109. cros-ec-keyb {
  110. compatible = "google,cros-ec-keyb";
  111. google,key-rows = <8>;
  112. google,key-columns = <13>;
  113. google,repeat-delay-ms = <240>;
  114. google,repeat-rate-ms = <30>;
  115. google,ghost-filter;
  116. /*
  117. * Keymap entries take the form of 0xRRCCKKKK where
  118. * RR=Row CC=Column KKKK=Key Code
  119. * The values below are for a US keyboard layout and
  120. * are taken from the Linux driver. Note that the
  121. * 102ND key is not used for US keyboards.
  122. */
  123. linux,keymap = <
  124. /* CAPSLCK F1 B F10 */
  125. 0x0001003a 0x0002003b 0x00030030 0x00040044
  126. /* N = R_ALT ESC */
  127. 0x00060031 0x0008000d 0x000a0064 0x01010001
  128. /* F4 G F7 H */
  129. 0x0102003e 0x01030022 0x01040041 0x01060023
  130. /* ' F9 BKSPACE L_CTRL */
  131. 0x01080028 0x01090043 0x010b000e 0x0200001d
  132. /* TAB F3 T F6 */
  133. 0x0201000f 0x0202003d 0x02030014 0x02040040
  134. /* ] Y 102ND [ */
  135. 0x0205001b 0x02060015 0x02070056 0x0208001a
  136. /* F8 GRAVE F2 5 */
  137. 0x02090042 0x03010029 0x0302003c 0x03030006
  138. /* F5 6 - \ */
  139. 0x0304003f 0x03060007 0x0308000c 0x030b002b
  140. /* R_CTRL A D F */
  141. 0x04000061 0x0401001e 0x04020020 0x04030021
  142. /* S K J ; */
  143. 0x0404001f 0x04050025 0x04060024 0x04080027
  144. /* L ENTER Z C */
  145. 0x04090026 0x040b001c 0x0501002c 0x0502002e
  146. /* V X , M */
  147. 0x0503002f 0x0504002d 0x05050033 0x05060032
  148. /* L_SHIFT / . SPACE */
  149. 0x0507002a 0x05080035 0x05090034 0x050B0039
  150. /* 1 3 4 2 */
  151. 0x06010002 0x06020004 0x06030005 0x06040003
  152. /* 8 7 0 9 */
  153. 0x06050009 0x06060008 0x0608000b 0x0609000a
  154. /* L_ALT DOWN RIGHT Q */
  155. 0x060a0038 0x060b006c 0x060c006a 0x07010010
  156. /* E R W I */
  157. 0x07020012 0x07030013 0x07040011 0x07050017
  158. /* U R_SHIFT P O */
  159. 0x07060016 0x07070036 0x07080019 0x07090018
  160. /* UP LEFT */
  161. 0x070b0067 0x070c0069>;
  162. };
  163. };