tps65910.txt 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. TPS65910 Power Management Integrated Circuit
  2. Required properties:
  3. - compatible: "ti,tps65910" or "ti,tps65911"
  4. - reg: I2C slave address
  5. - interrupts: the interrupt outputs of the controller
  6. - #gpio-cells: number of cells to describe a GPIO, this should be 2.
  7. The first cell is the GPIO number.
  8. The second cell is used to specify additional options <unused>.
  9. - gpio-controller: mark the device as a GPIO controller
  10. - #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
  11. The first cell is the IRQ number.
  12. The second cell is the flags, encoded as the trigger masks from
  13. Documentation/devicetree/bindings/interrupts.txt
  14. - regulators: This is the list of child nodes that specify the regulator
  15. initialization data for defined regulators. Not all regulators for the given
  16. device need to be present. The definition for each of these nodes is defined
  17. using the standard binding for regulators found at
  18. Documentation/devicetree/bindings/regulator/regulator.txt.
  19. The regulator is matched with the regulator-compatible.
  20. The valid regulator-compatible values are:
  21. tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1,
  22. vaux2, vaux33, vmmc
  23. tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5,
  24. ldo6, ldo7, ldo8
  25. Optional properties:
  26. - ti,vmbch-threshold: (tps65911) main battery charged threshold
  27. comparator. (see VMBCH_VSEL in TPS65910 datasheet)
  28. - ti,vmbch2-threshold: (tps65911) main battery discharged threshold
  29. comparator. (see VMBCH_VSEL in TPS65910 datasheet)
  30. - ti,en-gpio-sleep: enable sleep control for gpios
  31. There should be 9 entries here, one for each gpio.
  32. - xxx-supply: Input voltage supply regulator.
  33. Missing of these properties will be assume as there is no supply regulator
  34. for that input pins and always powered on.
  35. The valid input supply properties are:
  36. tps65910:
  37. vcc1-supply: VDD1 input.
  38. vcc2-supply: VDD2 input.
  39. vcc3-supply: VAUX33 and VMMC input.
  40. vcc4-supply: VAUX1 and VAUX2 input.
  41. vcc5-supply: VPLL and VDAC input.
  42. vcc6-supply: VDIG1 and VDIG2 input.
  43. vcc7-supply: VRTC input.
  44. vccio-supply: VIO input.
  45. tps65911:
  46. vcc1-supply: VDD1 input.
  47. vcc2-supply: VDD2 input.
  48. vcc3-supply: LDO6, LDO7 and LDO8 input.
  49. vcc4-supply: LDO5 input.
  50. vcc5-supply: LDO3 and LDO4 input.
  51. vcc6-supply: LDO1 and LDO2 input.
  52. vcc7-supply: VRTC input.
  53. vccio-supply: VIO input.
  54. Regulator Optional properties:
  55. - ti,regulator-ext-sleep-control: enable external sleep
  56. control through external inputs [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]
  57. If this property is not defined, it defaults to 0 (not enabled).
  58. Example:
  59. pmu: tps65910@d2 {
  60. compatible = "ti,tps65910";
  61. reg = <0xd2>;
  62. interrupt-parent = <&intc>;
  63. interrupts = < 0 118 0x04 >;
  64. #gpio-cells = <2>;
  65. gpio-controller;
  66. #interrupt-cells = <2>;
  67. interrupt-controller;
  68. ti,vmbch-threshold = 0;
  69. ti,vmbch2-threshold = 0;
  70. ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
  71. vcc7-supply = <&reg_parent>;
  72. vcc1-supply = <&reg_parent>;
  73. regulators {
  74. #address-cells = <1>;
  75. #size-cells = <0>;
  76. vdd1_reg: regulator@0 {
  77. regulator-compatible = "vdd1";
  78. reg = <0>;
  79. regulator-min-microvolt = < 600000>;
  80. regulator-max-microvolt = <1500000>;
  81. regulator-always-on;
  82. regulator-boot-on;
  83. ti,regulator-ext-sleep-control = <0>;
  84. };
  85. vdd2_reg: regulator@1 {
  86. regulator-compatible = "vdd2";
  87. reg = <1>;
  88. regulator-min-microvolt = < 600000>;
  89. regulator-max-microvolt = <1500000>;
  90. regulator-always-on;
  91. regulator-boot-on;
  92. ti,regulator-ext-sleep-control = <4>;
  93. };
  94. vddctrl_reg: regulator@2 {
  95. regulator-compatible = "vddctrl";
  96. reg = <2>;
  97. regulator-min-microvolt = < 600000>;
  98. regulator-max-microvolt = <1400000>;
  99. regulator-always-on;
  100. regulator-boot-on;
  101. ti,regulator-ext-sleep-control = <0>;
  102. };
  103. vio_reg: regulator@3 {
  104. regulator-compatible = "vio";
  105. reg = <3>;
  106. regulator-min-microvolt = <1500000>;
  107. regulator-max-microvolt = <1800000>;
  108. regulator-always-on;
  109. regulator-boot-on;
  110. ti,regulator-ext-sleep-control = <1>;
  111. };
  112. ldo1_reg: regulator@4 {
  113. regulator-compatible = "ldo1";
  114. reg = <4>;
  115. regulator-min-microvolt = <1000000>;
  116. regulator-max-microvolt = <3300000>;
  117. ti,regulator-ext-sleep-control = <0>;
  118. };
  119. ldo2_reg: regulator@5 {
  120. regulator-compatible = "ldo2";
  121. reg = <5>;
  122. regulator-min-microvolt = <1050000>;
  123. regulator-max-microvolt = <1050000>;
  124. ti,regulator-ext-sleep-control = <0>;
  125. };
  126. ldo3_reg: regulator@6 {
  127. regulator-compatible = "ldo3";
  128. reg = <6>;
  129. regulator-min-microvolt = <1000000>;
  130. regulator-max-microvolt = <3300000>;
  131. ti,regulator-ext-sleep-control = <0>;
  132. };
  133. ldo4_reg: regulator@7 {
  134. regulator-compatible = "ldo4";
  135. reg = <7>;
  136. regulator-min-microvolt = <1000000>;
  137. regulator-max-microvolt = <3300000>;
  138. regulator-always-on;
  139. ti,regulator-ext-sleep-control = <0>;
  140. };
  141. ldo5_reg: regulator@8 {
  142. regulator-compatible = "ldo5";
  143. reg = <8>;
  144. regulator-min-microvolt = <1000000>;
  145. regulator-max-microvolt = <3300000>;
  146. ti,regulator-ext-sleep-control = <0>;
  147. };
  148. ldo6_reg: regulator@9 {
  149. regulator-compatible = "ldo6";
  150. reg = <9>;
  151. regulator-min-microvolt = <1200000>;
  152. regulator-max-microvolt = <1200000>;
  153. ti,regulator-ext-sleep-control = <0>;
  154. };
  155. ldo7_reg: regulator@10 {
  156. regulator-compatible = "ldo7";
  157. reg = <10>;
  158. regulator-min-microvolt = <1200000>;
  159. regulator-max-microvolt = <1200000>;
  160. regulator-always-on;
  161. regulator-boot-on;
  162. ti,regulator-ext-sleep-control = <1>;
  163. };
  164. ldo8_reg: regulator@11 {
  165. regulator-compatible = "ldo8";
  166. reg = <11>;
  167. regulator-min-microvolt = <1000000>;
  168. regulator-max-microvolt = <3300000>;
  169. regulator-always-on;
  170. ti,regulator-ext-sleep-control = <1>;
  171. };
  172. };
  173. };