dra72-evm-tps65917.dtsi 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*
  2. * Copyright (C) 2016 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. * Integrated Power Management Chip
  10. * http://www.ti.com/lit/ds/symlink/tps65917-q1.pdf
  11. */
  12. &tps65917 {
  13. compatible = "ti,tps65917";
  14. interrupt-controller;
  15. #interrupt-cells = <2>;
  16. ti,system-power-controller;
  17. tps65917_pmic {
  18. compatible = "ti,tps65917-pmic";
  19. smps1-in-supply = <&vsys_3v3>;
  20. smps2-in-supply = <&vsys_3v3>;
  21. smps3-in-supply = <&vsys_3v3>;
  22. smps4-in-supply = <&vsys_3v3>;
  23. smps5-in-supply = <&vsys_3v3>;
  24. ldo1-in-supply = <&vsys_3v3>;
  25. ldo2-in-supply = <&vsys_3v3>;
  26. ldo3-in-supply = <&vsys_3v3>;
  27. ldo4-in-supply = <&evm_5v0>;
  28. ldo5-in-supply = <&vsys_3v3>;
  29. tps65917_regulators: regulators {
  30. smps1_reg: smps1 {
  31. /* VDD_MPU */
  32. regulator-name = "smps1";
  33. regulator-min-microvolt = <850000>;
  34. regulator-max-microvolt = <1250000>;
  35. regulator-always-on;
  36. regulator-boot-on;
  37. };
  38. smps2_reg: smps2 {
  39. /* VDD_CORE */
  40. regulator-name = "smps2";
  41. regulator-min-microvolt = <850000>;
  42. regulator-max-microvolt = <1150000>;
  43. regulator-boot-on;
  44. regulator-always-on;
  45. };
  46. smps3_reg: smps3 {
  47. /* VDD_GPU IVA DSPEVE */
  48. regulator-name = "smps3";
  49. regulator-min-microvolt = <850000>;
  50. regulator-max-microvolt = <1250000>;
  51. regulator-boot-on;
  52. regulator-always-on;
  53. };
  54. smps4_reg: smps4 {
  55. /* VDDS1V8 */
  56. regulator-name = "smps4";
  57. regulator-min-microvolt = <1800000>;
  58. regulator-max-microvolt = <1800000>;
  59. regulator-always-on;
  60. regulator-boot-on;
  61. };
  62. smps5_reg: smps5 {
  63. /* VDD_DDR */
  64. regulator-name = "smps5";
  65. regulator-min-microvolt = <1350000>;
  66. regulator-max-microvolt = <1350000>;
  67. regulator-boot-on;
  68. regulator-always-on;
  69. };
  70. ldo1_reg: ldo1 {
  71. /* LDO1_OUT --> SDIO */
  72. regulator-name = "ldo1";
  73. regulator-min-microvolt = <1800000>;
  74. regulator-max-microvolt = <3300000>;
  75. regulator-always-on;
  76. regulator-boot-on;
  77. regulator-allow-bypass;
  78. };
  79. ldo2_reg: ldo2 {
  80. regulator-name = "ldo2";
  81. regulator-min-microvolt = <1800000>;
  82. regulator-max-microvolt = <1800000>;
  83. regulator-allow-bypass;
  84. };
  85. ldo3_reg: ldo3 {
  86. /* VDDA_1V8_PHY */
  87. regulator-name = "ldo3";
  88. regulator-min-microvolt = <1800000>;
  89. regulator-max-microvolt = <1800000>;
  90. regulator-boot-on;
  91. regulator-always-on;
  92. };
  93. ldo5_reg: ldo5 {
  94. /* VDDA_1V8_PLL */
  95. regulator-name = "ldo5";
  96. regulator-min-microvolt = <1800000>;
  97. regulator-max-microvolt = <1800000>;
  98. regulator-always-on;
  99. regulator-boot-on;
  100. };
  101. ldo4_reg: ldo4 {
  102. /* VDDA_3V_USB: VDDA_USBHS33 */
  103. regulator-name = "ldo4";
  104. regulator-min-microvolt = <3300000>;
  105. regulator-max-microvolt = <3300000>;
  106. regulator-boot-on;
  107. };
  108. };
  109. };
  110. tps65917_power_button {
  111. compatible = "ti,palmas-pwrbutton";
  112. interrupt-parent = <&tps65917>;
  113. interrupts = <1 IRQ_TYPE_NONE>;
  114. wakeup-source;
  115. ti,palmas-long-press-seconds = <6>;
  116. };
  117. };