am335x-evmsk.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. /*
  9. * AM335x Starter Kit
  10. * http://www.ti.com/tool/tmdssk3358
  11. */
  12. /dts-v1/;
  13. /include/ "am33xx.dtsi"
  14. / {
  15. model = "TI AM335x EVM-SK";
  16. compatible = "ti,am335x-evmsk", "ti,am33xx";
  17. cpus {
  18. cpu@0 {
  19. cpu0-supply = <&vdd1_reg>;
  20. };
  21. };
  22. memory {
  23. device_type = "memory";
  24. reg = <0x80000000 0x10000000>; /* 256 MB */
  25. };
  26. ocp {
  27. uart1: serial@44e09000 {
  28. status = "okay";
  29. };
  30. i2c1: i2c@44e0b000 {
  31. status = "okay";
  32. clock-frequency = <400000>;
  33. tps: tps@2d {
  34. reg = <0x2d>;
  35. };
  36. lis331dlh: lis331dlh@18 {
  37. compatible = "st,lis331dlh", "st,lis3lv02d";
  38. reg = <0x18>;
  39. Vdd-supply = <&lis3_reg>;
  40. Vdd_IO-supply = <&lis3_reg>;
  41. st,click-single-x;
  42. st,click-single-y;
  43. st,click-single-z;
  44. st,click-thresh-x = <10>;
  45. st,click-thresh-y = <10>;
  46. st,click-thresh-z = <10>;
  47. st,irq1-click;
  48. st,irq2-click;
  49. st,wakeup-x-lo;
  50. st,wakeup-x-hi;
  51. st,wakeup-y-lo;
  52. st,wakeup-y-hi;
  53. st,wakeup-z-lo;
  54. st,wakeup-z-hi;
  55. st,min-limit-x = <120>;
  56. st,min-limit-y = <120>;
  57. st,min-limit-z = <140>;
  58. st,max-limit-x = <550>;
  59. st,max-limit-y = <550>;
  60. st,max-limit-z = <750>;
  61. };
  62. };
  63. };
  64. vbat: fixedregulator@0 {
  65. compatible = "regulator-fixed";
  66. regulator-name = "vbat";
  67. regulator-min-microvolt = <5000000>;
  68. regulator-max-microvolt = <5000000>;
  69. regulator-boot-on;
  70. };
  71. lis3_reg: fixedregulator@1 {
  72. compatible = "regulator-fixed";
  73. regulator-name = "lis3_reg";
  74. regulator-boot-on;
  75. };
  76. };
  77. /include/ "tps65910.dtsi"
  78. &tps {
  79. vcc1-supply = <&vbat>;
  80. vcc2-supply = <&vbat>;
  81. vcc3-supply = <&vbat>;
  82. vcc4-supply = <&vbat>;
  83. vcc5-supply = <&vbat>;
  84. vcc6-supply = <&vbat>;
  85. vcc7-supply = <&vbat>;
  86. vccio-supply = <&vbat>;
  87. regulators {
  88. vrtc_reg: regulator@0 {
  89. regulator-always-on;
  90. };
  91. vio_reg: regulator@1 {
  92. regulator-always-on;
  93. };
  94. vdd1_reg: regulator@2 {
  95. /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
  96. regulator-name = "vdd_mpu";
  97. regulator-min-microvolt = <912500>;
  98. regulator-max-microvolt = <1312500>;
  99. regulator-boot-on;
  100. regulator-always-on;
  101. };
  102. vdd2_reg: regulator@3 {
  103. /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
  104. regulator-name = "vdd_core";
  105. regulator-min-microvolt = <912500>;
  106. regulator-max-microvolt = <1150000>;
  107. regulator-boot-on;
  108. regulator-always-on;
  109. };
  110. vdd3_reg: regulator@4 {
  111. regulator-always-on;
  112. };
  113. vdig1_reg: regulator@5 {
  114. regulator-always-on;
  115. };
  116. vdig2_reg: regulator@6 {
  117. regulator-always-on;
  118. };
  119. vpll_reg: regulator@7 {
  120. regulator-always-on;
  121. };
  122. vdac_reg: regulator@8 {
  123. regulator-always-on;
  124. };
  125. vaux1_reg: regulator@9 {
  126. regulator-always-on;
  127. };
  128. vaux2_reg: regulator@10 {
  129. regulator-always-on;
  130. };
  131. vaux33_reg: regulator@11 {
  132. regulator-always-on;
  133. };
  134. vmmc_reg: regulator@12 {
  135. regulator-always-on;
  136. };
  137. };
  138. };