Lines Matching +full:wait +full:- +full:pin
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/gpio-keys.h>
14 #include <dt-bindings/input/linux-event-codes.h>
16 #include "rk3399-opp.dtsi"
20 compatible = "pine64,pinephone-pro", "rockchip,rk3399";
21 chassis-type = "handset";
30 stdout-path = "serial2:115200n8";
33 adc-keys {
34 compatible = "adc-keys";
35 io-channels = <&saradc 1>;
36 io-channel-names = "buttons";
37 keyup-threshold-microvolt = <1600000>;
38 poll-interval = <100>;
40 button-up {
43 press-threshold-microvolt = <100000>;
46 button-down {
49 press-threshold-microvolt = <600000>;
54 compatible = "pwm-backlight";
58 gpio-keys {
59 compatible = "gpio-keys";
60 pinctrl-names = "default";
61 pinctrl-0 = <&pwrbtn_pin>;
63 key-power {
64 debounce-interval = <20>;
68 wakeup-source;
72 vcc_sys: vcc-sys-regulator {
73 compatible = "regulator-fixed";
74 regulator-name = "vcc_sys";
75 regulator-always-on;
76 regulator-boot-on;
79 vcc3v3_sys: vcc3v3-sys-regulator {
80 compatible = "regulator-fixed";
81 regulator-name = "vcc3v3_sys";
82 regulator-always-on;
83 regulator-boot-on;
84 regulator-min-microvolt = <3300000>;
85 regulator-max-microvolt = <3300000>;
86 vin-supply = <&vcc_sys>;
89 vcca1v8_s3: vcc1v8-s3-regulator {
90 compatible = "regulator-fixed";
91 regulator-name = "vcca1v8_s3";
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
94 vin-supply = <&vcc3v3_sys>;
95 regulator-always-on;
96 regulator-boot-on;
99 vcc1v8_codec: vcc1v8-codec-regulator {
100 compatible = "regulator-fixed";
101 enable-active-high;
103 pinctrl-names = "default";
104 pinctrl-0 = <&vcc1v8_codec_en>;
105 regulator-name = "vcc1v8_codec";
106 regulator-min-microvolt = <1800000>;
107 regulator-max-microvolt = <1800000>;
108 vin-supply = <&vcc3v3_sys>;
111 wifi_pwrseq: sdio-wifi-pwrseq {
112 compatible = "mmc-pwrseq-simple";
114 clock-names = "ext_clock";
115 pinctrl-names = "default";
116 pinctrl-0 = <&wifi_enable_h_pin>;
118 * Wait between power-on and SDIO access for CYP43455
121 post-power-on-delay-ms = <110>;
123 * Wait between consecutive toggles for CYP43455 CBUCK
126 power-off-delay-us = <10000>;
129 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
133 vcc1v8_lcd: vcc1v8-lcd {
134 compatible = "regulator-fixed";
135 enable-active-high;
136 regulator-name = "vcc1v8_lcd";
137 regulator-min-microvolt = <1800000>;
138 regulator-max-microvolt = <1800000>;
139 vin-supply = <&vcc3v3_sys>;
141 pinctrl-names = "default";
145 vcc2v8_lcd: vcc2v8-lcd {
146 compatible = "regulator-fixed";
147 enable-active-high;
148 regulator-name = "vcc2v8_lcd";
149 regulator-min-microvolt = <2800000>;
150 regulator-max-microvolt = <2800000>;
151 vin-supply = <&vcc3v3_sys>;
153 pinctrl-names = "default";
165 cpu-supply = <&vdd_cpu_l>;
169 cpu-supply = <&vdd_cpu_l>;
173 cpu-supply = <&vdd_cpu_l>;
177 cpu-supply = <&vdd_cpu_l>;
181 cpu-supply = <&vdd_cpu_b>;
185 cpu-supply = <&vdd_cpu_b>;
193 mali-supply = <&vdd_gpu>;
198 clock-frequency = <400000>;
199 i2c-scl-rising-time-ns = <168>;
200 i2c-scl-falling-time-ns = <4>;
206 interrupt-parent = <&gpio1>;
208 #clock-cells = <1>;
209 clock-output-names = "xin32k", "rk808-clkout2";
210 pinctrl-names = "default";
211 pinctrl-0 = <&pmic_int_l>;
212 rockchip,system-power-controller;
213 wakeup-source;
215 vcc1-supply = <&vcc_sys>;
216 vcc2-supply = <&vcc_sys>;
217 vcc3-supply = <&vcc_sys>;
218 vcc4-supply = <&vcc_sys>;
219 vcc6-supply = <&vcc_sys>;
220 vcc7-supply = <&vcc3v3_sys>;
221 vcc8-supply = <&vcc_sys>;
222 vcc9-supply = <&vcc3v3_sys>;
226 regulator-name = "vdd_cpu_l";
227 regulator-always-on;
228 regulator-boot-on;
229 regulator-min-microvolt = <875000>;
230 regulator-max-microvolt = <975000>;
231 regulator-ramp-delay = <6001>;
232 regulator-state-mem {
233 regulator-off-in-suspend;
238 regulator-name = "vdd_center";
239 regulator-always-on;
240 regulator-boot-on;
241 regulator-min-microvolt = <800000>;
242 regulator-max-microvolt = <1000000>;
243 regulator-ramp-delay = <6001>;
244 regulator-state-mem {
245 regulator-off-in-suspend;
250 regulator-name = "vcc_ddr";
251 regulator-always-on;
252 regulator-boot-on;
253 regulator-state-mem {
254 regulator-on-in-suspend;
259 regulator-name = "vcc_1v8";
260 regulator-always-on;
261 regulator-boot-on;
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
264 regulator-state-mem {
265 regulator-on-in-suspend;
270 regulator-name = "vcca3v0_codec";
271 regulator-min-microvolt = <3000000>;
272 regulator-max-microvolt = <3000000>;
276 regulator-name = "vcc3v0_touch";
277 regulator-min-microvolt = <3000000>;
278 regulator-max-microvolt = <3000000>;
282 regulator-name = "vcca1v8_codec";
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <1800000>;
288 regulator-name = "rk818_pwr_on";
289 regulator-always-on;
290 regulator-boot-on;
291 regulator-min-microvolt = <3300000>;
292 regulator-max-microvolt = <3300000>;
293 regulator-state-mem {
294 regulator-on-in-suspend;
299 regulator-name = "vcc_3v0";
300 regulator-always-on;
301 regulator-boot-on;
302 regulator-min-microvolt = <3000000>;
303 regulator-max-microvolt = <3000000>;
304 regulator-state-mem {
305 regulator-on-in-suspend;
310 regulator-name = "vcc_1v5";
311 regulator-always-on;
312 regulator-boot-on;
313 regulator-min-microvolt = <1500000>;
314 regulator-max-microvolt = <1500000>;
315 regulator-state-mem {
316 regulator-on-in-suspend;
321 regulator-name = "vcc1v8_dvp";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <1800000>;
327 regulator-name = "vcc3v3_s3";
328 regulator-always-on;
329 regulator-boot-on;
330 regulator-min-microvolt = <3300000>;
331 regulator-max-microvolt = <3300000>;
332 regulator-state-mem {
333 regulator-off-in-suspend;
338 regulator-name = "vccio_sd";
339 regulator-min-microvolt = <1800000>;
340 regulator-max-microvolt = <3300000>;
344 regulator-name = "vcc3v3_s0";
345 regulator-always-on;
346 regulator-boot-on;
347 regulator-state-mem {
348 regulator-on-in-suspend;
357 fcs,suspend-voltage-selector = <1>;
358 pinctrl-names = "default";
359 pinctrl-0 = <&vsel1_pin>;
360 regulator-name = "vdd_cpu_b";
361 regulator-min-microvolt = <875000>;
362 regulator-max-microvolt = <1150000>;
363 regulator-ramp-delay = <1000>;
364 regulator-always-on;
365 regulator-boot-on;
367 regulator-state-mem {
368 regulator-off-in-suspend;
375 fcs,suspend-voltage-selector = <1>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&vsel2_pin>;
378 regulator-name = "vdd_gpu";
379 regulator-min-microvolt = <875000>;
380 regulator-max-microvolt = <975000>;
381 regulator-ramp-delay = <1000>;
382 regulator-always-on;
383 regulator-boot-on;
385 regulator-state-mem {
386 regulator-off-in-suspend;
392 i2c-scl-rising-time-ns = <450>;
393 i2c-scl-falling-time-ns = <15>;
399 interrupt-parent = <&gpio3>;
401 irq-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>;
402 reset-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
403 AVDD28-supply = <&vcc3v0_touch>;
404 VDDIO-supply = <&vcc3v0_touch>;
405 touchscreen-size-x = <720>;
406 touchscreen-size-y = <1440>;
422 opp-hz = /bits/ 64 <1500000000>;
423 opp-microvolt = <1100000 1100000 1150000>;
432 bt656-supply = <&vcc1v8_dvp>;
433 audio-supply = <&vcca1v8_codec>;
434 sdmmc-supply = <&vccio_sd>;
435 gpio1830-supply = <&vcc_3v0>;
441 clock-master;
445 #address-cells = <0>;
446 #size-cells = <0>;
450 remote-endpoint = <&mipi_in_panel>;
459 reset-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_LOW>;
460 vcc-supply = <&vcc2v8_lcd>;
461 iovcc-supply = <&vcc1v8_lcd>;
462 pinctrl-names = "default";
466 remote-endpoint = <&mipi_out_panel>;
473 pmu1830-supply = <&vcc_1v8>;
479 pwrbtn_pin: pwrbtn-pin {
485 pmic_int_l: pmic-int-l {
489 vsel1_pin: vsel1-pin {
493 vsel2_pin: vsel2-pin {
498 sdio-pwrseq {
499 wifi_enable_h_pin: wifi-enable-h-pin {
505 vcc1v8_codec_en: vcc1v8-codec-en {
510 wireless-bluetooth {
511 bt_wake_pin: bt-wake-pin {
515 bt_host_wake_pin: bt-host-wake-pin {
519 bt_reset_pin: bt-reset-pin {
526 bus-width = <4>;
527 cap-sd-highspeed;
528 cap-sdio-irq;
529 disable-wp;
530 keep-power-in-suspend;
531 mmc-pwrseq = <&wifi_pwrseq>;
532 non-removable;
533 pinctrl-names = "default";
534 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
535 sd-uhs-sdr104;
544 vref-supply = <&vcca1v8_s3>;
549 bus-width = <4>;
550 cap-sd-highspeed;
551 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
552 disable-wp;
553 max-frequency = <150000000>;
554 pinctrl-names = "default";
555 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
556 vmmc-supply = <&vcc3v3_sys>;
557 vqmmc-supply = <&vccio_sd>;
562 bus-width = <8>;
563 mmc-hs200-1_8v;
564 non-removable;
569 rockchip,hw-tshut-mode = <1>;
570 rockchip,hw-tshut-polarity = <1>;
575 pinctrl-names = "default";
576 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
577 uart-has-rtscts;
583 clock-names = "lpo";
584 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
585 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
586 max-speed = <1500000>;
587 pinctrl-names = "default";
588 pinctrl-0 = <&bt_host_wake_pin &bt_wake_pin &bt_reset_pin>;
589 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
590 vbat-supply = <&vcc3v3_sys>;
591 vddio-supply = <&vcc_1v8>;
601 assigned-clocks = <&cru DCLK_VOP0_DIV>, <&cru DCLK_VOP0>,
603 assigned-clock-rates = <0>, <0>, <400000000>, <100000000>;
604 assigned-clock-parents = <&cru PLL_GPLL>, <&cru DCLK_VOP0_DIV>;
613 assigned-clocks = <&cru DCLK_VOP1_DIV>, <&cru DCLK_VOP1>,
615 assigned-clock-rates = <0>, <0>, <400000000>, <100000000>;
616 assigned-clock-parents = <&cru PLL_GPLL>, <&cru DCLK_VOP1_DIV>;