rk3288-evb-act8846.dts 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /dts-v1/;
  3. #include "rk3288-evb.dtsi"
  4. / {
  5. model = "Rockchip RK3288 EVB ACT8846";
  6. compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
  7. vcc_lcd: vcc-lcd {
  8. compatible = "regulator-fixed";
  9. enable-active-high;
  10. gpio = <&gpio7 RK_PA3 GPIO_ACTIVE_HIGH>;
  11. pinctrl-names = "default";
  12. pinctrl-0 = <&lcd_en>;
  13. regulator-name = "vcc_lcd";
  14. vin-supply = <&vcc_io>;
  15. };
  16. vcc_wl: vcc-wl {
  17. compatible = "regulator-fixed";
  18. enable-active-high;
  19. gpio = <&gpio7 RK_PB1 GPIO_ACTIVE_HIGH>;
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&wifi_pwr>;
  22. regulator-name = "vcc_wl";
  23. vin-supply = <&vcc_18>;
  24. };
  25. };
  26. &i2c0 {
  27. clock-frequency = <400000>;
  28. vdd_cpu: syr827@40 {
  29. compatible = "silergy,syr827";
  30. fcs,suspend-voltage-selector = <1>;
  31. reg = <0x40>;
  32. regulator-name = "vdd_cpu";
  33. regulator-min-microvolt = <850000>;
  34. regulator-max-microvolt = <1350000>;
  35. regulator-always-on;
  36. regulator-boot-on;
  37. vin-supply = <&vcc_sys>;
  38. };
  39. vdd_gpu: syr828@41 {
  40. compatible = "silergy,syr828";
  41. fcs,suspend-voltage-selector = <1>;
  42. reg = <0x41>;
  43. regulator-name = "vdd_gpu";
  44. regulator-min-microvolt = <850000>;
  45. regulator-max-microvolt = <1350000>;
  46. regulator-always-on;
  47. vin-supply = <&vcc_sys>;
  48. };
  49. rtc@51 {
  50. compatible = "haoyu,hym8563";
  51. reg = <0x51>;
  52. interrupt-parent = <&gpio0>;
  53. interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&pmic_int>;
  56. #clock-cells = <0>;
  57. clock-output-names = "xin32k";
  58. };
  59. act8846: act8846@5a {
  60. compatible = "active-semi,act8846";
  61. reg = <0x5a>;
  62. status = "okay";
  63. vp1-supply = <&vcc_sys>;
  64. vp2-supply = <&vcc_sys>;
  65. vp3-supply = <&vcc_sys>;
  66. vp4-supply = <&vcc_sys>;
  67. inl1-supply = <&vcc_io>;
  68. inl2-supply = <&vcc_sys>;
  69. inl3-supply = <&vcc_20>;
  70. regulators {
  71. vcc_ddr: REG1 {
  72. regulator-name = "VCC_DDR";
  73. regulator-min-microvolt = <1200000>;
  74. regulator-max-microvolt = <1200000>;
  75. regulator-always-on;
  76. };
  77. vcc_io: REG2 {
  78. regulator-name = "VCC_IO";
  79. regulator-min-microvolt = <3300000>;
  80. regulator-max-microvolt = <3300000>;
  81. regulator-always-on;
  82. };
  83. vdd_log: REG3 {
  84. regulator-name = "VDD_LOG";
  85. regulator-min-microvolt = <700000>;
  86. regulator-max-microvolt = <1500000>;
  87. regulator-always-on;
  88. };
  89. vcc_20: REG4 {
  90. regulator-name = "VCC_20";
  91. regulator-min-microvolt = <2000000>;
  92. regulator-max-microvolt = <2000000>;
  93. regulator-always-on;
  94. };
  95. vccio_sd: REG5 {
  96. regulator-name = "VCCIO_SD";
  97. regulator-min-microvolt = <1800000>;
  98. regulator-max-microvolt = <3300000>;
  99. regulator-always-on;
  100. };
  101. vdd10_lcd: REG6 {
  102. regulator-name = "VDD10_LCD";
  103. regulator-min-microvolt = <1000000>;
  104. regulator-max-microvolt = <1000000>;
  105. regulator-always-on;
  106. };
  107. vcca_codec: REG7 {
  108. regulator-name = "VCCA_CODEC";
  109. regulator-min-microvolt = <3300000>;
  110. regulator-max-microvolt = <3300000>;
  111. regulator-always-on;
  112. };
  113. vcc_tp: REG8 {
  114. regulator-name = "VCCA_TP";
  115. regulator-min-microvolt = <3300000>;
  116. regulator-max-microvolt = <3300000>;
  117. regulator-always-on;
  118. };
  119. vccio_pmu: REG9 {
  120. regulator-name = "VCCIO_PMU";
  121. regulator-min-microvolt = <3300000>;
  122. regulator-max-microvolt = <3300000>;
  123. regulator-always-on;
  124. };
  125. vdd_10: REG10 {
  126. regulator-name = "VDD_10";
  127. regulator-min-microvolt = <1000000>;
  128. regulator-max-microvolt = <1000000>;
  129. regulator-always-on;
  130. };
  131. vcc_18: REG11 {
  132. regulator-name = "VCC_18";
  133. regulator-min-microvolt = <1800000>;
  134. regulator-max-microvolt = <1800000>;
  135. regulator-always-on;
  136. };
  137. vcc18_lcd: REG12 {
  138. regulator-name = "VCC18_LCD";
  139. regulator-min-microvolt = <1800000>;
  140. regulator-max-microvolt = <1800000>;
  141. regulator-always-on;
  142. };
  143. };
  144. };
  145. };
  146. &panel {
  147. power-supply = <&vcc_lcd>;
  148. };
  149. &pinctrl {
  150. lcd {
  151. lcd_en: lcd-en {
  152. rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
  153. };
  154. };
  155. wifi {
  156. wifi_pwr: wifi-pwr {
  157. rockchip,pins = <7 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
  158. };
  159. };
  160. };