exynos5250-snow.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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/ ARCH_CPU_DTS
  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. };
  31. i2c4: i2c@12ca0000 {
  32. cros-ec@1e {
  33. reg = <0x1e>;
  34. compatible = "google,cros-ec";
  35. i2c-max-frequency = <100000>;
  36. ec-interrupt = <&gpio 782 1>;
  37. };
  38. power-regulator@48 {
  39. compatible = "ti,tps65090";
  40. reg = <0x48>;
  41. };
  42. };
  43. spi@131b0000 {
  44. spi-max-frequency = <1000000>;
  45. spi-deactivate-delay = <100>;
  46. cros-ec@0 {
  47. reg = <0>;
  48. compatible = "google,cros-ec";
  49. spi-max-frequency = <5000000>;
  50. ec-interrupt = <&gpio 782 1>;
  51. optimise-flash-write;
  52. status = "disabled";
  53. };
  54. };
  55. sound@12d60000 {
  56. samsung,i2s-epll-clock-frequency = <192000000>;
  57. samsung,i2s-sampling-rate = <48000>;
  58. samsung,i2s-bits-per-sample = <16>;
  59. samsung,i2s-channels = <2>;
  60. samsung,i2s-lr-clk-framesize = <256>;
  61. samsung,i2s-bit-clk-framesize = <32>;
  62. samsung,codec-type = "max98095";
  63. };
  64. i2c@12cd0000 {
  65. soundcodec@22 {
  66. reg = <0x22>;
  67. compatible = "maxim,max98095-codec";
  68. };
  69. };
  70. i2c@12c60000 {
  71. pmic@9 {
  72. reg = <0x9>;
  73. compatible = "maxim,max77686_pmic";
  74. };
  75. };
  76. tmu@10060000 {
  77. samsung,min-temp = <25>;
  78. samsung,max-temp = <125>;
  79. samsung,start-warning = <95>;
  80. samsung,start-tripping = <105>;
  81. samsung,hw-tripping = <110>;
  82. samsung,efuse-min-value = <40>;
  83. samsung,efuse-value = <55>;
  84. samsung,efuse-max-value = <100>;
  85. samsung,slope = <274761730>;
  86. samsung,dc-value = <25>;
  87. };
  88. cros-ec-keyb {
  89. compatible = "google,cros-ec-keyb";
  90. google,key-rows = <8>;
  91. google,key-columns = <13>;
  92. google,repeat-delay-ms = <240>;
  93. google,repeat-rate-ms = <30>;
  94. google,ghost-filter;
  95. /*
  96. * Keymap entries take the form of 0xRRCCKKKK where
  97. * RR=Row CC=Column KKKK=Key Code
  98. * The values below are for a US keyboard layout and
  99. * are taken from the Linux driver. Note that the
  100. * 102ND key is not used for US keyboards.
  101. */
  102. linux,keymap = <
  103. /* CAPSLCK F1 B F10 */
  104. 0x0001003a 0x0002003b 0x00030030 0x00040044
  105. /* N = R_ALT ESC */
  106. 0x00060031 0x0008000d 0x000a0064 0x01010001
  107. /* F4 G F7 H */
  108. 0x0102003e 0x01030022 0x01040041 0x01060023
  109. /* ' F9 BKSPACE L_CTRL */
  110. 0x01080028 0x01090043 0x010b000e 0x0200001d
  111. /* TAB F3 T F6 */
  112. 0x0201000f 0x0202003d 0x02030014 0x02040040
  113. /* ] Y 102ND [ */
  114. 0x0205001b 0x02060015 0x02070056 0x0208001a
  115. /* F8 GRAVE F2 5 */
  116. 0x02090042 0x03010029 0x0302003c 0x03030006
  117. /* F5 6 - \ */
  118. 0x0304003f 0x03060007 0x0308000c 0x030b002b
  119. /* R_CTRL A D F */
  120. 0x04000061 0x0401001e 0x04020020 0x04030021
  121. /* S K J ; */
  122. 0x0404001f 0x04050025 0x04060024 0x04080027
  123. /* L ENTER Z C */
  124. 0x04090026 0x040b001c 0x0501002c 0x0502002e
  125. /* V X , M */
  126. 0x0503002f 0x0504002d 0x05050033 0x05060032
  127. /* L_SHIFT / . SPACE */
  128. 0x0507002a 0x05080035 0x05090034 0x050B0039
  129. /* 1 3 4 2 */
  130. 0x06010002 0x06020004 0x06030005 0x06040003
  131. /* 8 7 0 9 */
  132. 0x06050009 0x06060008 0x0608000b 0x0609000a
  133. /* L_ALT DOWN RIGHT Q */
  134. 0x060a0038 0x060b006c 0x060c006a 0x07010010
  135. /* E R W I */
  136. 0x07020012 0x07030013 0x07040011 0x07050017
  137. /* U R_SHIFT P O */
  138. 0x07060016 0x07070036 0x07080019 0x07090018
  139. /* UP LEFT */
  140. 0x070b0067 0x070c0069>;
  141. };
  142. };