am335x-evm.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /*
  2. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. /include/ "am33xx.dtsi"
  10. / {
  11. model = "TI AM335x EVM";
  12. compatible = "ti,am335x-evm", "ti,am33xx";
  13. cpus {
  14. cpu@0 {
  15. cpu0-supply = <&vdd1_reg>;
  16. };
  17. };
  18. memory {
  19. device_type = "memory";
  20. reg = <0x80000000 0x10000000>; /* 256 MB */
  21. };
  22. am33xx_pinmux: pinmux@44e10800 {
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&matrix_keypad_s0>;
  25. matrix_keypad_s0: matrix_keypad_s0 {
  26. pinctrl-single,pins = <
  27. 0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
  28. 0x58 0x7 /* gpmc_a6.gpio1_22, OUTPUT | MODE7 */
  29. 0x64 0x27 /* gpmc_a9.gpio1_25, INPUT | MODE7 */
  30. 0x68 0x27 /* gpmc_a10.gpio1_26, INPUT | MODE7 */
  31. 0x6c 0x27 /* gpmc_a11.gpio1_27, INPUT | MODE7 */
  32. >;
  33. };
  34. };
  35. ocp {
  36. uart1: serial@44e09000 {
  37. status = "okay";
  38. };
  39. i2c1: i2c@44e0b000 {
  40. status = "okay";
  41. clock-frequency = <400000>;
  42. tps: tps@2d {
  43. reg = <0x2d>;
  44. };
  45. };
  46. i2c2: i2c@4802a000 {
  47. status = "okay";
  48. clock-frequency = <100000>;
  49. lis331dlh: lis331dlh@18 {
  50. compatible = "st,lis331dlh", "st,lis3lv02d";
  51. reg = <0x18>;
  52. Vdd-supply = <&lis3_reg>;
  53. Vdd_IO-supply = <&lis3_reg>;
  54. st,click-single-x;
  55. st,click-single-y;
  56. st,click-single-z;
  57. st,click-thresh-x = <10>;
  58. st,click-thresh-y = <10>;
  59. st,click-thresh-z = <10>;
  60. st,irq1-click;
  61. st,irq2-click;
  62. st,wakeup-x-lo;
  63. st,wakeup-x-hi;
  64. st,wakeup-y-lo;
  65. st,wakeup-y-hi;
  66. st,wakeup-z-lo;
  67. st,wakeup-z-hi;
  68. st,min-limit-x = <120>;
  69. st,min-limit-y = <120>;
  70. st,min-limit-z = <140>;
  71. st,max-limit-x = <550>;
  72. st,max-limit-y = <550>;
  73. st,max-limit-z = <750>;
  74. };
  75. tsl2550: tsl2550@39 {
  76. compatible = "taos,tsl2550";
  77. reg = <0x39>;
  78. };
  79. tmp275: tmp275@48 {
  80. compatible = "ti,tmp275";
  81. reg = <0x48>;
  82. };
  83. };
  84. };
  85. vbat: fixedregulator@0 {
  86. compatible = "regulator-fixed";
  87. regulator-name = "vbat";
  88. regulator-min-microvolt = <5000000>;
  89. regulator-max-microvolt = <5000000>;
  90. regulator-boot-on;
  91. };
  92. lis3_reg: fixedregulator@1 {
  93. compatible = "regulator-fixed";
  94. regulator-name = "lis3_reg";
  95. regulator-boot-on;
  96. };
  97. matrix_keypad: matrix_keypad@0 {
  98. compatible = "gpio-matrix-keypad";
  99. debounce-delay-ms = <5>;
  100. col-scan-delay-us = <2>;
  101. row-gpios = <&gpio2 25 0 /* Bank1, pin25 */
  102. &gpio2 26 0 /* Bank1, pin26 */
  103. &gpio2 27 0>; /* Bank1, pin27 */
  104. col-gpios = <&gpio2 21 0 /* Bank1, pin21 */
  105. &gpio2 22 0>; /* Bank1, pin22 */
  106. linux,keymap = <0x0000008b /* MENU */
  107. 0x0100009e /* BACK */
  108. 0x02000069 /* LEFT */
  109. 0x0001006a /* RIGHT */
  110. 0x0101001c /* ENTER */
  111. 0x0201006c>; /* DOWN */
  112. };
  113. };
  114. /include/ "tps65910.dtsi"
  115. &tps {
  116. vcc1-supply = <&vbat>;
  117. vcc2-supply = <&vbat>;
  118. vcc3-supply = <&vbat>;
  119. vcc4-supply = <&vbat>;
  120. vcc5-supply = <&vbat>;
  121. vcc6-supply = <&vbat>;
  122. vcc7-supply = <&vbat>;
  123. vccio-supply = <&vbat>;
  124. regulators {
  125. vrtc_reg: regulator@0 {
  126. regulator-always-on;
  127. };
  128. vio_reg: regulator@1 {
  129. regulator-always-on;
  130. };
  131. vdd1_reg: regulator@2 {
  132. /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
  133. regulator-name = "vdd_mpu";
  134. regulator-min-microvolt = <912500>;
  135. regulator-max-microvolt = <1312500>;
  136. regulator-boot-on;
  137. regulator-always-on;
  138. };
  139. vdd2_reg: regulator@3 {
  140. /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
  141. regulator-name = "vdd_core";
  142. regulator-min-microvolt = <912500>;
  143. regulator-max-microvolt = <1150000>;
  144. regulator-boot-on;
  145. regulator-always-on;
  146. };
  147. vdd3_reg: regulator@4 {
  148. regulator-always-on;
  149. };
  150. vdig1_reg: regulator@5 {
  151. regulator-always-on;
  152. };
  153. vdig2_reg: regulator@6 {
  154. regulator-always-on;
  155. };
  156. vpll_reg: regulator@7 {
  157. regulator-always-on;
  158. };
  159. vdac_reg: regulator@8 {
  160. regulator-always-on;
  161. };
  162. vaux1_reg: regulator@9 {
  163. regulator-always-on;
  164. };
  165. vaux2_reg: regulator@10 {
  166. regulator-always-on;
  167. };
  168. vaux33_reg: regulator@11 {
  169. regulator-always-on;
  170. };
  171. vmmc_reg: regulator@12 {
  172. regulator-always-on;
  173. };
  174. };
  175. };