rk3288-evb-act8846.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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-act8846", "rockchip,rk3288";
  16. };
  17. &i2c0 {
  18. hym8563@51 {
  19. compatible = "haoyu,hym8563";
  20. reg = <0x51>;
  21. interrupt-parent = <&gpio0>;
  22. interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&pmic_int>;
  25. #clock-cells = <0>;
  26. clock-output-names = "xin32k";
  27. };
  28. act8846: act8846@5a {
  29. compatible = "active-semi,act8846";
  30. reg = <0x5a>;
  31. status = "okay";
  32. regulators {
  33. vcc_ddr: REG1 {
  34. regulator-name = "VCC_DDR";
  35. regulator-min-microvolt = <1200000>;
  36. regulator-max-microvolt = <1200000>;
  37. regulator-always-on;
  38. };
  39. vcc_io: REG2 {
  40. regulator-name = "VCC_IO";
  41. regulator-min-microvolt = <3300000>;
  42. regulator-max-microvolt = <3300000>;
  43. regulator-always-on;
  44. };
  45. vdd_log: REG3 {
  46. regulator-name = "VDD_LOG";
  47. regulator-min-microvolt = <1000000>;
  48. regulator-max-microvolt = <1000000>;
  49. regulator-always-on;
  50. };
  51. vcc_20: REG4 {
  52. regulator-name = "VCC_20";
  53. regulator-min-microvolt = <2000000>;
  54. regulator-max-microvolt = <2000000>;
  55. regulator-always-on;
  56. };
  57. vccio_sd: REG5 {
  58. regulator-name = "VCCIO_SD";
  59. regulator-min-microvolt = <3300000>;
  60. regulator-max-microvolt = <3300000>;
  61. regulator-always-on;
  62. };
  63. vdd10_lcd: REG6 {
  64. regulator-name = "VDD10_LCD";
  65. regulator-min-microvolt = <1000000>;
  66. regulator-max-microvolt = <1000000>;
  67. regulator-always-on;
  68. };
  69. vcca_codec: REG7 {
  70. regulator-name = "VCCA_CODEC";
  71. regulator-min-microvolt = <3300000>;
  72. regulator-max-microvolt = <3300000>;
  73. regulator-always-on;
  74. };
  75. vcca_tp: REG8 {
  76. regulator-name = "VCCA_TP";
  77. regulator-min-microvolt = <3300000>;
  78. regulator-max-microvolt = <3300000>;
  79. regulator-always-on;
  80. };
  81. vccio_pmu: REG9 {
  82. regulator-name = "VCCIO_PMU";
  83. regulator-min-microvolt = <3300000>;
  84. regulator-max-microvolt = <3300000>;
  85. regulator-always-on;
  86. };
  87. vdd_10: REG10 {
  88. regulator-name = "VDD_10";
  89. regulator-min-microvolt = <1000000>;
  90. regulator-max-microvolt = <1000000>;
  91. regulator-always-on;
  92. };
  93. vcc_18: REG11 {
  94. regulator-name = "VCC_18";
  95. regulator-min-microvolt = <1800000>;
  96. regulator-max-microvolt = <1800000>;
  97. regulator-always-on;
  98. };
  99. vcc18_lcd: REG12 {
  100. regulator-name = "VCC18_LCD";
  101. regulator-min-microvolt = <1800000>;
  102. regulator-max-microvolt = <1800000>;
  103. regulator-always-on;
  104. };
  105. };
  106. };
  107. };