rk3288-evb-rk808.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License as published by
  4. * the Free Software Foundation; either version 2 of the License, or
  5. * (at your option) any later version.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. /dts-v1/;
  13. #include "rk3288-evb.dtsi"
  14. / {
  15. compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
  16. };
  17. &i2c0 {
  18. clock-frequency = <400000>;
  19. status = "okay";
  20. rk808: pmic@1b {
  21. compatible = "rockchip,rk808";
  22. reg = <0x1b>;
  23. interrupt-parent = <&gpio0>;
  24. interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
  25. pinctrl-names = "default";
  26. pinctrl-0 = <&pmic_int>;
  27. rockchip,system-power-controller;
  28. wakeup-source;
  29. #clock-cells = <1>;
  30. clock-output-names = "xin32k", "rk808-clkout2";
  31. vcc8-supply = <&vcc_18>;
  32. vcc9-supply = <&vcc_io>;
  33. vcc10-supply = <&vcc_io>;
  34. vcc12-supply = <&vcc_io>;
  35. vddio-supply = <&vccio_pmu>;
  36. regulators {
  37. vdd_cpu: DCDC_REG1 {
  38. regulator-always-on;
  39. regulator-boot-on;
  40. regulator-min-microvolt = <750000>;
  41. regulator-max-microvolt = <1300000>;
  42. regulator-name = "vdd_arm";
  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. };
  51. vcc_ddr: DCDC_REG3 {
  52. regulator-always-on;
  53. regulator-boot-on;
  54. regulator-name = "vcc_ddr";
  55. };
  56. vcc_io: DCDC_REG4 {
  57. regulator-always-on;
  58. regulator-boot-on;
  59. regulator-min-microvolt = <3300000>;
  60. regulator-max-microvolt = <3300000>;
  61. regulator-name = "vcc_io";
  62. };
  63. vccio_pmu: LDO_REG1 {
  64. regulator-always-on;
  65. regulator-boot-on;
  66. regulator-min-microvolt = <3300000>;
  67. regulator-max-microvolt = <3300000>;
  68. regulator-name = "vccio_pmu";
  69. };
  70. vcc_tp: LDO_REG2 {
  71. regulator-always-on;
  72. regulator-boot-on;
  73. regulator-min-microvolt = <3300000>;
  74. regulator-max-microvolt = <3300000>;
  75. regulator-name = "vcc_tp";
  76. };
  77. vdd_10: LDO_REG3 {
  78. regulator-always-on;
  79. regulator-boot-on;
  80. regulator-min-microvolt = <1000000>;
  81. regulator-max-microvolt = <1000000>;
  82. regulator-name = "vdd_10";
  83. };
  84. vcc18_lcd: LDO_REG4 {
  85. regulator-always-on;
  86. regulator-boot-on;
  87. regulator-min-microvolt = <1800000>;
  88. regulator-max-microvolt = <1800000>;
  89. regulator-name = "vcc18_lcd";
  90. };
  91. vccio_sd: LDO_REG5 {
  92. regulator-always-on;
  93. regulator-boot-on;
  94. regulator-min-microvolt = <1800000>;
  95. regulator-max-microvolt = <3300000>;
  96. regulator-name = "vccio_sd";
  97. };
  98. vdd10_lcd: LDO_REG6 {
  99. regulator-always-on;
  100. regulator-boot-on;
  101. regulator-min-microvolt = <1000000>;
  102. regulator-max-microvolt = <1000000>;
  103. regulator-name = "vdd10_lcd";
  104. };
  105. vcc_18: LDO_REG7 {
  106. regulator-always-on;
  107. regulator-boot-on;
  108. regulator-min-microvolt = <1800000>;
  109. regulator-max-microvolt = <1800000>;
  110. regulator-name = "vcc_18";
  111. };
  112. vcca_codec: LDO_REG8 {
  113. regulator-always-on;
  114. regulator-boot-on;
  115. regulator-min-microvolt = <3300000>;
  116. regulator-max-microvolt = <3300000>;
  117. regulator-name = "vcca_codec";
  118. };
  119. vcc_wl: SWITCH_REG1 {
  120. regulator-always-on;
  121. regulator-boot-on;
  122. regulator-name = "vcc_wl";
  123. };
  124. vcc_lcd: SWITCH_REG2 {
  125. regulator-always-on;
  126. regulator-boot-on;
  127. regulator-name = "vcc_lcd";
  128. };
  129. };
  130. };
  131. };