rk3288-evb-rk808.dts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /dts-v1/;
  3. #include "rk3288-evb.dtsi"
  4. / {
  5. model = "Rockchip RK3288 EVB RK808";
  6. compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
  7. };
  8. &i2c0 {
  9. clock-frequency = <400000>;
  10. rk808: pmic@1b {
  11. compatible = "rockchip,rk808";
  12. reg = <0x1b>;
  13. interrupt-parent = <&gpio0>;
  14. interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
  15. pinctrl-names = "default";
  16. pinctrl-0 = <&pmic_int &global_pwroff>;
  17. rockchip,system-power-controller;
  18. wakeup-source;
  19. #clock-cells = <1>;
  20. clock-output-names = "xin32k", "rk808-clkout2";
  21. vcc1-supply = <&vcc_sys>;
  22. vcc2-supply = <&vcc_sys>;
  23. vcc3-supply = <&vcc_sys>;
  24. vcc4-supply = <&vcc_sys>;
  25. vcc6-supply = <&vcc_sys>;
  26. vcc7-supply = <&vcc_sys>;
  27. vcc8-supply = <&vcc_18>;
  28. vcc9-supply = <&vcc_io>;
  29. vcc10-supply = <&vcc_io>;
  30. vcc11-supply = <&vcc_sys>;
  31. vcc12-supply = <&vcc_io>;
  32. vddio-supply = <&vccio_pmu>;
  33. regulators {
  34. vdd_cpu: DCDC_REG1 {
  35. regulator-always-on;
  36. regulator-boot-on;
  37. regulator-min-microvolt = <750000>;
  38. regulator-max-microvolt = <1350000>;
  39. regulator-name = "vdd_arm";
  40. regulator-state-mem {
  41. regulator-off-in-suspend;
  42. };
  43. };
  44. vdd_gpu: DCDC_REG2 {
  45. regulator-always-on;
  46. regulator-boot-on;
  47. regulator-min-microvolt = <850000>;
  48. regulator-max-microvolt = <1250000>;
  49. regulator-name = "vdd_gpu";
  50. regulator-state-mem {
  51. regulator-on-in-suspend;
  52. regulator-suspend-microvolt = <1000000>;
  53. };
  54. };
  55. vcc_ddr: DCDC_REG3 {
  56. regulator-always-on;
  57. regulator-boot-on;
  58. regulator-name = "vcc_ddr";
  59. regulator-state-mem {
  60. regulator-on-in-suspend;
  61. };
  62. };
  63. vcc_io: DCDC_REG4 {
  64. regulator-always-on;
  65. regulator-boot-on;
  66. regulator-min-microvolt = <3300000>;
  67. regulator-max-microvolt = <3300000>;
  68. regulator-name = "vcc_io";
  69. regulator-state-mem {
  70. regulator-on-in-suspend;
  71. regulator-suspend-microvolt = <3300000>;
  72. };
  73. };
  74. vccio_pmu: LDO_REG1 {
  75. regulator-always-on;
  76. regulator-boot-on;
  77. regulator-min-microvolt = <3300000>;
  78. regulator-max-microvolt = <3300000>;
  79. regulator-name = "vccio_pmu";
  80. regulator-state-mem {
  81. regulator-on-in-suspend;
  82. regulator-suspend-microvolt = <3300000>;
  83. };
  84. };
  85. vcc_tp: LDO_REG2 {
  86. regulator-always-on;
  87. regulator-boot-on;
  88. regulator-min-microvolt = <3300000>;
  89. regulator-max-microvolt = <3300000>;
  90. regulator-name = "vcc_tp";
  91. regulator-state-mem {
  92. regulator-off-in-suspend;
  93. };
  94. };
  95. vdd_10: LDO_REG3 {
  96. regulator-always-on;
  97. regulator-boot-on;
  98. regulator-min-microvolt = <1000000>;
  99. regulator-max-microvolt = <1000000>;
  100. regulator-name = "vdd_10";
  101. regulator-state-mem {
  102. regulator-on-in-suspend;
  103. regulator-suspend-microvolt = <1000000>;
  104. };
  105. };
  106. vcc18_lcd: LDO_REG4 {
  107. regulator-always-on;
  108. regulator-boot-on;
  109. regulator-min-microvolt = <1800000>;
  110. regulator-max-microvolt = <1800000>;
  111. regulator-name = "vcc18_lcd";
  112. regulator-state-mem {
  113. regulator-on-in-suspend;
  114. regulator-suspend-microvolt = <1800000>;
  115. };
  116. };
  117. vccio_sd: LDO_REG5 {
  118. regulator-always-on;
  119. regulator-boot-on;
  120. regulator-min-microvolt = <1800000>;
  121. regulator-max-microvolt = <3300000>;
  122. regulator-name = "vccio_sd";
  123. regulator-state-mem {
  124. regulator-on-in-suspend;
  125. regulator-suspend-microvolt = <3300000>;
  126. };
  127. };
  128. vdd10_lcd: LDO_REG6 {
  129. regulator-always-on;
  130. regulator-boot-on;
  131. regulator-min-microvolt = <1000000>;
  132. regulator-max-microvolt = <1000000>;
  133. regulator-name = "vdd10_lcd";
  134. regulator-state-mem {
  135. regulator-on-in-suspend;
  136. regulator-suspend-microvolt = <1000000>;
  137. };
  138. };
  139. vcc_18: LDO_REG7 {
  140. regulator-always-on;
  141. regulator-boot-on;
  142. regulator-min-microvolt = <1800000>;
  143. regulator-max-microvolt = <1800000>;
  144. regulator-name = "vcc_18";
  145. regulator-state-mem {
  146. regulator-on-in-suspend;
  147. regulator-suspend-microvolt = <1800000>;
  148. };
  149. };
  150. vcca_codec: LDO_REG8 {
  151. regulator-always-on;
  152. regulator-boot-on;
  153. regulator-min-microvolt = <3300000>;
  154. regulator-max-microvolt = <3300000>;
  155. regulator-name = "vcca_codec";
  156. regulator-state-mem {
  157. regulator-on-in-suspend;
  158. regulator-suspend-microvolt = <3300000>;
  159. };
  160. };
  161. vcc_wl: SWITCH_REG1 {
  162. regulator-always-on;
  163. regulator-boot-on;
  164. regulator-name = "vcc_wl";
  165. regulator-state-mem {
  166. regulator-on-in-suspend;
  167. };
  168. };
  169. vcc_lcd: SWITCH_REG2 {
  170. regulator-always-on;
  171. regulator-boot-on;
  172. regulator-name = "vcc_lcd";
  173. regulator-state-mem {
  174. regulator-on-in-suspend;
  175. };
  176. };
  177. };
  178. };
  179. };
  180. &panel {
  181. power-supply = <&vcc_lcd>;
  182. };