Lines Matching +full:vsel1 +full:- +full:gpio

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 * https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf
12 /dts-v1/;
13 #include <dt-bindings/input/linux-event-codes.h>
15 #include "rk3399-opp.dtsi"
19 compatible = "pine64,pinephone-pro", "rockchip,rk3399";
20 chassis-type = "handset";
29 stdout-path = "serial2:115200n8";
32 gpio-keys {
33 compatible = "gpio-keys";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pwrbtn_pin>;
37 key-power {
38 debounce-interval = <20>;
42 wakeup-source;
46 vcc_sys: vcc-sys-regulator {
47 compatible = "regulator-fixed";
48 regulator-name = "vcc_sys";
49 regulator-always-on;
50 regulator-boot-on;
53 vcc3v3_sys: vcc3v3-sys-regulator {
54 compatible = "regulator-fixed";
55 regulator-name = "vcc3v3_sys";
56 regulator-always-on;
57 regulator-boot-on;
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
60 vin-supply = <&vcc_sys>;
63 vcca1v8_s3: vcc1v8-s3-regulator {
64 compatible = "regulator-fixed";
65 regulator-name = "vcca1v8_s3";
66 regulator-min-microvolt = <1800000>;
67 regulator-max-microvolt = <1800000>;
68 vin-supply = <&vcc3v3_sys>;
69 regulator-always-on;
70 regulator-boot-on;
73 vcc1v8_codec: vcc1v8-codec-regulator {
74 compatible = "regulator-fixed";
75 enable-active-high;
76 gpio = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&vcc1v8_codec_en>;
79 regulator-name = "vcc1v8_codec";
80 regulator-min-microvolt = <1800000>;
81 regulator-max-microvolt = <1800000>;
82 vin-supply = <&vcc3v3_sys>;
87 cpu-supply = <&vdd_cpu_l>;
91 cpu-supply = <&vdd_cpu_l>;
95 cpu-supply = <&vdd_cpu_l>;
99 cpu-supply = <&vdd_cpu_l>;
103 cpu-supply = <&vdd_cpu_b>;
107 cpu-supply = <&vdd_cpu_b>;
115 clock-frequency = <400000>;
116 i2c-scl-rising-time-ns = <168>;
117 i2c-scl-falling-time-ns = <4>;
123 interrupt-parent = <&gpio1>;
125 #clock-cells = <1>;
126 clock-output-names = "xin32k", "rk808-clkout2";
127 pinctrl-names = "default";
128 pinctrl-0 = <&pmic_int_l>;
129 rockchip,system-power-controller;
130 wakeup-source;
132 vcc1-supply = <&vcc_sys>;
133 vcc2-supply = <&vcc_sys>;
134 vcc3-supply = <&vcc_sys>;
135 vcc4-supply = <&vcc_sys>;
136 vcc6-supply = <&vcc_sys>;
137 vcc7-supply = <&vcc3v3_sys>;
138 vcc8-supply = <&vcc_sys>;
139 vcc9-supply = <&vcc3v3_sys>;
143 regulator-name = "vdd_cpu_l";
144 regulator-always-on;
145 regulator-boot-on;
146 regulator-min-microvolt = <875000>;
147 regulator-max-microvolt = <975000>;
148 regulator-ramp-delay = <6001>;
149 regulator-state-mem {
150 regulator-off-in-suspend;
155 regulator-name = "vdd_center";
156 regulator-always-on;
157 regulator-boot-on;
158 regulator-min-microvolt = <800000>;
159 regulator-max-microvolt = <1000000>;
160 regulator-ramp-delay = <6001>;
161 regulator-state-mem {
162 regulator-off-in-suspend;
167 regulator-name = "vcc_ddr";
168 regulator-always-on;
169 regulator-boot-on;
170 regulator-state-mem {
171 regulator-on-in-suspend;
176 regulator-name = "vcc_1v8";
177 regulator-always-on;
178 regulator-boot-on;
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <1800000>;
181 regulator-state-mem {
182 regulator-on-in-suspend;
187 regulator-name = "vcca3v0_codec";
188 regulator-min-microvolt = <3000000>;
189 regulator-max-microvolt = <3000000>;
193 regulator-name = "vcc3v0_touch";
194 regulator-min-microvolt = <3000000>;
195 regulator-max-microvolt = <3000000>;
199 regulator-name = "vcca1v8_codec";
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <1800000>;
205 regulator-name = "rk818_pwr_on";
206 regulator-always-on;
207 regulator-boot-on;
208 regulator-min-microvolt = <3300000>;
209 regulator-max-microvolt = <3300000>;
210 regulator-state-mem {
211 regulator-on-in-suspend;
216 regulator-name = "vcc_3v0";
217 regulator-always-on;
218 regulator-boot-on;
219 regulator-min-microvolt = <3000000>;
220 regulator-max-microvolt = <3000000>;
221 regulator-state-mem {
222 regulator-on-in-suspend;
227 regulator-name = "vcc_1v5";
228 regulator-always-on;
229 regulator-boot-on;
230 regulator-min-microvolt = <1500000>;
231 regulator-max-microvolt = <1500000>;
232 regulator-state-mem {
233 regulator-on-in-suspend;
238 regulator-name = "vcc1v8_dvp";
239 regulator-min-microvolt = <1800000>;
240 regulator-max-microvolt = <1800000>;
244 regulator-name = "vcc3v3_s3";
245 regulator-always-on;
246 regulator-boot-on;
247 regulator-min-microvolt = <3300000>;
248 regulator-max-microvolt = <3300000>;
249 regulator-state-mem {
250 regulator-off-in-suspend;
255 regulator-name = "vccio_sd";
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <3300000>;
261 regulator-name = "vcc3v3_s0";
262 regulator-always-on;
263 regulator-boot-on;
264 regulator-state-mem {
265 regulator-on-in-suspend;
274 fcs,suspend-voltage-selector = <1>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&vsel1_pin>;
277 regulator-name = "vdd_cpu_b";
278 regulator-min-microvolt = <875000>;
279 regulator-max-microvolt = <1150000>;
280 regulator-ramp-delay = <1000>;
281 regulator-always-on;
282 regulator-boot-on;
284 regulator-state-mem {
285 regulator-off-in-suspend;
292 fcs,suspend-voltage-selector = <1>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&vsel2_pin>;
295 regulator-name = "vdd_gpu";
296 regulator-min-microvolt = <875000>;
297 regulator-max-microvolt = <975000>;
298 regulator-ramp-delay = <1000>;
299 regulator-always-on;
300 regulator-boot-on;
302 regulator-state-mem {
303 regulator-off-in-suspend;
320 opp-hz = /bits/ 64 <1500000000>;
321 opp-microvolt = <1100000 1100000 1150000>;
330 bt656-supply = <&vcc1v8_dvp>;
331 audio-supply = <&vcca1v8_codec>;
332 sdmmc-supply = <&vccio_sd>;
333 gpio1830-supply = <&vcc_3v0>;
338 pmu1830-supply = <&vcc_1v8>;
344 pwrbtn_pin: pwrbtn-pin {
350 pmic_int_l: pmic-int-l {
354 vsel1_pin: vsel1-pin {
358 vsel2_pin: vsel2-pin {
364 vcc1v8_codec_en: vcc1v8-codec-en {
371 bus-width = <4>;
372 cap-sd-highspeed;
373 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
374 disable-wp;
375 max-frequency = <150000000>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
378 vmmc-supply = <&vcc3v3_sys>;
379 vqmmc-supply = <&vccio_sd>;
384 bus-width = <8>;
385 mmc-hs200-1_8v;
386 non-removable;
391 rockchip,hw-tshut-mode = <1>;
392 rockchip,hw-tshut-polarity = <1>;