0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002
0003 /dts-v1/;
0004 #include "rk3288-evb.dtsi"
0005
0006 / {
0007 model = "Rockchip RK3288 EVB ACT8846";
0008 compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
0009
0010 vcc_lcd: vcc-lcd {
0011 compatible = "regulator-fixed";
0012 enable-active-high;
0013 gpio = <&gpio7 RK_PA3 GPIO_ACTIVE_HIGH>;
0014 pinctrl-names = "default";
0015 pinctrl-0 = <&lcd_en>;
0016 regulator-name = "vcc_lcd";
0017 vin-supply = <&vcc_io>;
0018 };
0019
0020 vcc_wl: vcc-wl {
0021 compatible = "regulator-fixed";
0022 enable-active-high;
0023 gpio = <&gpio7 RK_PB1 GPIO_ACTIVE_HIGH>;
0024 pinctrl-names = "default";
0025 pinctrl-0 = <&wifi_pwr>;
0026 regulator-name = "vcc_wl";
0027 vin-supply = <&vcc_18>;
0028 };
0029 };
0030
0031 &i2c0 {
0032 clock-frequency = <400000>;
0033
0034 vdd_cpu: syr827@40 {
0035 compatible = "silergy,syr827";
0036 fcs,suspend-voltage-selector = <1>;
0037 reg = <0x40>;
0038 regulator-name = "vdd_cpu";
0039 regulator-min-microvolt = <850000>;
0040 regulator-max-microvolt = <1350000>;
0041 regulator-always-on;
0042 regulator-boot-on;
0043 vin-supply = <&vcc_sys>;
0044 };
0045
0046 vdd_gpu: syr828@41 {
0047 compatible = "silergy,syr828";
0048 fcs,suspend-voltage-selector = <1>;
0049 reg = <0x41>;
0050 regulator-name = "vdd_gpu";
0051 regulator-min-microvolt = <850000>;
0052 regulator-max-microvolt = <1350000>;
0053 regulator-always-on;
0054 vin-supply = <&vcc_sys>;
0055 };
0056
0057 hym8563@51 {
0058 compatible = "haoyu,hym8563";
0059 reg = <0x51>;
0060
0061 interrupt-parent = <&gpio0>;
0062 interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
0063
0064 pinctrl-names = "default";
0065 pinctrl-0 = <&pmic_int>;
0066
0067 #clock-cells = <0>;
0068 clock-output-names = "xin32k";
0069 };
0070
0071 act8846: act8846@5a {
0072 compatible = "active-semi,act8846";
0073 reg = <0x5a>;
0074 status = "okay";
0075
0076 vp1-supply = <&vcc_sys>;
0077 vp2-supply = <&vcc_sys>;
0078 vp3-supply = <&vcc_sys>;
0079 vp4-supply = <&vcc_sys>;
0080 inl1-supply = <&vcc_io>;
0081 inl2-supply = <&vcc_sys>;
0082 inl3-supply = <&vcc_20>;
0083
0084 regulators {
0085 vcc_ddr: REG1 {
0086 regulator-name = "VCC_DDR";
0087 regulator-min-microvolt = <1200000>;
0088 regulator-max-microvolt = <1200000>;
0089 regulator-always-on;
0090 };
0091
0092 vcc_io: REG2 {
0093 regulator-name = "VCC_IO";
0094 regulator-min-microvolt = <3300000>;
0095 regulator-max-microvolt = <3300000>;
0096 regulator-always-on;
0097 };
0098
0099 vdd_log: REG3 {
0100 regulator-name = "VDD_LOG";
0101 regulator-min-microvolt = <700000>;
0102 regulator-max-microvolt = <1500000>;
0103 regulator-always-on;
0104 };
0105
0106 vcc_20: REG4 {
0107 regulator-name = "VCC_20";
0108 regulator-min-microvolt = <2000000>;
0109 regulator-max-microvolt = <2000000>;
0110 regulator-always-on;
0111 };
0112
0113 vccio_sd: REG5 {
0114 regulator-name = "VCCIO_SD";
0115 regulator-min-microvolt = <1800000>;
0116 regulator-max-microvolt = <3300000>;
0117 regulator-always-on;
0118 };
0119
0120 vdd10_lcd: REG6 {
0121 regulator-name = "VDD10_LCD";
0122 regulator-min-microvolt = <1000000>;
0123 regulator-max-microvolt = <1000000>;
0124 regulator-always-on;
0125 };
0126
0127 vcca_codec: REG7 {
0128 regulator-name = "VCCA_CODEC";
0129 regulator-min-microvolt = <3300000>;
0130 regulator-max-microvolt = <3300000>;
0131 regulator-always-on;
0132 };
0133
0134 vcc_tp: REG8 {
0135 regulator-name = "VCCA_TP";
0136 regulator-min-microvolt = <3300000>;
0137 regulator-max-microvolt = <3300000>;
0138 regulator-always-on;
0139 };
0140
0141 vccio_pmu: REG9 {
0142 regulator-name = "VCCIO_PMU";
0143 regulator-min-microvolt = <3300000>;
0144 regulator-max-microvolt = <3300000>;
0145 regulator-always-on;
0146 };
0147
0148 vdd_10: REG10 {
0149 regulator-name = "VDD_10";
0150 regulator-min-microvolt = <1000000>;
0151 regulator-max-microvolt = <1000000>;
0152 regulator-always-on;
0153 };
0154
0155 vcc_18: REG11 {
0156 regulator-name = "VCC_18";
0157 regulator-min-microvolt = <1800000>;
0158 regulator-max-microvolt = <1800000>;
0159 regulator-always-on;
0160 };
0161
0162 vcc18_lcd: REG12 {
0163 regulator-name = "VCC18_LCD";
0164 regulator-min-microvolt = <1800000>;
0165 regulator-max-microvolt = <1800000>;
0166 regulator-always-on;
0167 };
0168 };
0169 };
0170 };
0171
0172 &panel {
0173 power-supply = <&vcc_lcd>;
0174 };
0175
0176 &pinctrl {
0177 lcd {
0178 lcd_en: lcd-en {
0179 rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
0180 };
0181 };
0182
0183 wifi {
0184 wifi_pwr: wifi-pwr {
0185 rockchip,pins = <7 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
0186 };
0187 };
0188 };