2 * This file is dual-licensed: you can use it either under the terms
3 * of the GPL or the X11 license, at your option. Note that this dual
4 * licensing only applies to this file, and not this project as a
7 * a) This file is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
12 * This file is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
19 * b) Permission is hereby granted, free of charge, to any person
20 * obtaining a copy of this software and associated documentation
21 * files (the "Software"), to deal in the Software without
22 * restriction, including without limitation the rights to use,
23 * copy, modify, merge, publish, distribute, sublicense, and/or
24 * sell copies of the Software, and to permit persons to whom the
25 * Software is furnished to do so, subject to the following
28 * The above copyright notice and this permission notice shall be
29 * included in all copies or substantial portions of the Software.
31 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
35 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
36 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
37 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
38 * OTHER DEALINGS IN THE SOFTWARE.
42 #include "rk3288-evb.dtsi"
45 compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
48 compatible = "regulator-fixed";
50 gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&lcd_en>;
53 regulator-name = "vcc_lcd";
54 vin-supply = <&vcc_io>;
58 compatible = "regulator-fixed";
60 gpio = <&gpio7 9 GPIO_ACTIVE_HIGH>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&wifi_pwr>;
63 regulator-name = "vcc_wl";
64 vin-supply = <&vcc_18>;
69 cpu0-supply = <&vdd_cpu>;
74 mali-supply = <&vdd_gpu>;
78 clock-frequency = <400000>;
81 compatible = "silergy,syr827";
82 fcs,suspend-voltage-selector = <1>;
84 regulator-name = "vdd_cpu";
85 regulator-min-microvolt = <850000>;
86 regulator-max-microvolt = <1350000>;
89 vin-supply = <&vcc_sys>;
93 compatible = "silergy,syr828";
94 fcs,suspend-voltage-selector = <1>;
96 regulator-name = "vdd_gpu";
97 regulator-min-microvolt = <850000>;
98 regulator-max-microvolt = <1350000>;
100 vin-supply = <&vcc_sys>;
104 compatible = "haoyu,hym8563";
107 interrupt-parent = <&gpio0>;
108 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&pmic_int>;
114 clock-output-names = "xin32k";
117 act8846: act8846@5a {
118 compatible = "active-semi,act8846";
122 vp1-supply = <&vcc_sys>;
123 vp2-supply = <&vcc_sys>;
124 vp3-supply = <&vcc_sys>;
125 vp4-supply = <&vcc_sys>;
126 inl1-supply = <&vcc_io>;
127 inl2-supply = <&vcc_sys>;
128 inl3-supply = <&vcc_20>;
132 regulator-name = "VCC_DDR";
133 regulator-min-microvolt = <1200000>;
134 regulator-max-microvolt = <1200000>;
139 regulator-name = "VCC_IO";
140 regulator-min-microvolt = <3300000>;
141 regulator-max-microvolt = <3300000>;
146 regulator-name = "VDD_LOG";
147 regulator-min-microvolt = <1000000>;
148 regulator-max-microvolt = <1000000>;
153 regulator-name = "VCC_20";
154 regulator-min-microvolt = <2000000>;
155 regulator-max-microvolt = <2000000>;
160 regulator-name = "VCCIO_SD";
161 regulator-min-microvolt = <3300000>;
162 regulator-max-microvolt = <3300000>;
167 regulator-name = "VDD10_LCD";
168 regulator-min-microvolt = <1000000>;
169 regulator-max-microvolt = <1000000>;
174 regulator-name = "VCCA_CODEC";
175 regulator-min-microvolt = <3300000>;
176 regulator-max-microvolt = <3300000>;
181 regulator-name = "VCCA_TP";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
188 regulator-name = "VCCIO_PMU";
189 regulator-min-microvolt = <3300000>;
190 regulator-max-microvolt = <3300000>;
195 regulator-name = "VDD_10";
196 regulator-min-microvolt = <1000000>;
197 regulator-max-microvolt = <1000000>;
202 regulator-name = "VCC_18";
203 regulator-min-microvolt = <1800000>;
204 regulator-max-microvolt = <1800000>;
209 regulator-name = "VCC18_LCD";
210 regulator-min-microvolt = <1800000>;
211 regulator-max-microvolt = <1800000>;
219 power-supply = <&vcc_lcd>;
225 rockchip,pins = <7 3 RK_FUNC_GPIO &pcfg_pull_none>;
231 rockchip,pins = <7 9 RK_FUNC_GPIO &pcfg_pull_none>;