twl4030.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  4. */
  5. /*
  6. * Integrated Power Management Chip
  7. */
  8. &twl {
  9. compatible = "ti,twl4030";
  10. interrupt-controller;
  11. #interrupt-cells = <1>;
  12. rtc {
  13. compatible = "ti,twl4030-rtc";
  14. interrupts = <11>;
  15. };
  16. charger: bci {
  17. compatible = "ti,twl4030-bci";
  18. interrupts = <9>, <2>;
  19. bci3v1-supply = <&vusb3v1>;
  20. io-channels = <&twl_madc 11>;
  21. io-channel-names = "vac";
  22. };
  23. watchdog {
  24. compatible = "ti,twl4030-wdt";
  25. };
  26. vaux1: regulator-vaux1 {
  27. compatible = "ti,twl4030-vaux1";
  28. };
  29. vaux2: regulator-vaux2 {
  30. compatible = "ti,twl4030-vaux2";
  31. };
  32. vaux3: regulator-vaux3 {
  33. compatible = "ti,twl4030-vaux3";
  34. };
  35. vaux4: regulator-vaux4 {
  36. compatible = "ti,twl4030-vaux4";
  37. };
  38. vcc: regulator-vdd1 {
  39. compatible = "ti,twl4030-vdd1";
  40. regulator-min-microvolt = <600000>;
  41. regulator-max-microvolt = <1450000>;
  42. };
  43. vdac: regulator-vdac {
  44. compatible = "ti,twl4030-vdac";
  45. regulator-min-microvolt = <1800000>;
  46. regulator-max-microvolt = <1800000>;
  47. };
  48. vio: regulator-vio {
  49. compatible = "ti,twl4030-vio";
  50. };
  51. vintana1: regulator-vintana1 {
  52. compatible = "ti,twl4030-vintana1";
  53. };
  54. vintana2: regulator-vintana2 {
  55. compatible = "ti,twl4030-vintana2";
  56. };
  57. vintdig: regulator-vintdig {
  58. compatible = "ti,twl4030-vintdig";
  59. };
  60. vmmc1: regulator-vmmc1 {
  61. compatible = "ti,twl4030-vmmc1";
  62. regulator-min-microvolt = <1850000>;
  63. regulator-max-microvolt = <3150000>;
  64. };
  65. vmmc2: regulator-vmmc2 {
  66. compatible = "ti,twl4030-vmmc2";
  67. regulator-min-microvolt = <1850000>;
  68. regulator-max-microvolt = <3150000>;
  69. };
  70. vusb1v5: regulator-vusb1v5 {
  71. compatible = "ti,twl4030-vusb1v5";
  72. };
  73. vusb1v8: regulator-vusb1v8 {
  74. compatible = "ti,twl4030-vusb1v8";
  75. };
  76. vusb3v1: regulator-vusb3v1 {
  77. compatible = "ti,twl4030-vusb3v1";
  78. };
  79. vpll1: regulator-vpll1 {
  80. compatible = "ti,twl4030-vpll1";
  81. };
  82. vpll2: regulator-vpll2 {
  83. compatible = "ti,twl4030-vpll2";
  84. regulator-min-microvolt = <1800000>;
  85. regulator-max-microvolt = <1800000>;
  86. };
  87. vsim: regulator-vsim {
  88. compatible = "ti,twl4030-vsim";
  89. regulator-min-microvolt = <1800000>;
  90. regulator-max-microvolt = <3000000>;
  91. };
  92. twl_gpio: gpio {
  93. compatible = "ti,twl4030-gpio";
  94. gpio-controller;
  95. #gpio-cells = <2>;
  96. interrupt-controller;
  97. #interrupt-cells = <1>;
  98. };
  99. usb2_phy: twl4030-usb {
  100. compatible = "ti,twl4030-usb";
  101. interrupts = <10>, <4>;
  102. usb1v5-supply = <&vusb1v5>;
  103. usb1v8-supply = <&vusb1v8>;
  104. usb3v1-supply = <&vusb3v1>;
  105. usb_mode = <1>;
  106. #phy-cells = <0>;
  107. };
  108. twl_pwm: pwm {
  109. compatible = "ti,twl4030-pwm";
  110. #pwm-cells = <2>;
  111. };
  112. twl_pwmled: pwmled {
  113. compatible = "ti,twl4030-pwmled";
  114. #pwm-cells = <2>;
  115. };
  116. twl_pwrbutton: pwrbutton {
  117. compatible = "ti,twl4030-pwrbutton";
  118. interrupts = <8>;
  119. };
  120. twl_keypad: keypad {
  121. compatible = "ti,twl4030-keypad";
  122. interrupts = <1>;
  123. keypad,num-rows = <8>;
  124. keypad,num-columns = <8>;
  125. };
  126. twl_madc: madc {
  127. compatible = "ti,twl4030-madc";
  128. interrupts = <3>;
  129. #io-channel-cells = <1>;
  130. };
  131. };