Lines Matching +full:regulator +full:- +full:active +full:- +full:discharge
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>;
124 * regulator discharge.
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>;
144 vcc2v8_lcd: vcc2v8-lcd {
145 compatible = "regulator-fixed";
146 enable-active-high;
147 regulator-name = "vcc2v8_lcd";
148 regulator-min-microvolt = <2800000>;
149 regulator-max-microvolt = <2800000>;
150 vin-supply = <&vcc3v3_sys>;
163 cpu-supply = <&vdd_cpu_l>;
167 cpu-supply = <&vdd_cpu_l>;
171 cpu-supply = <&vdd_cpu_l>;
175 cpu-supply = <&vdd_cpu_l>;
179 cpu-supply = <&vdd_cpu_b>;
183 cpu-supply = <&vdd_cpu_b>;
191 mali-supply = <&vdd_gpu>;
196 clock-frequency = <400000>;
197 i2c-scl-rising-time-ns = <168>;
198 i2c-scl-falling-time-ns = <4>;
204 interrupt-parent = <&gpio1>;
206 #clock-cells = <1>;
207 clock-output-names = "xin32k", "rk808-clkout2";
208 pinctrl-names = "default";
209 pinctrl-0 = <&pmic_int_l>;
210 rockchip,system-power-controller;
211 wakeup-source;
213 vcc1-supply = <&vcc_sys>;
214 vcc2-supply = <&vcc_sys>;
215 vcc3-supply = <&vcc_sys>;
216 vcc4-supply = <&vcc_sys>;
217 vcc6-supply = <&vcc_sys>;
218 vcc7-supply = <&vcc3v3_sys>;
219 vcc8-supply = <&vcc_sys>;
220 vcc9-supply = <&vcc3v3_sys>;
224 regulator-name = "vdd_cpu_l";
225 regulator-always-on;
226 regulator-boot-on;
227 regulator-min-microvolt = <875000>;
228 regulator-max-microvolt = <975000>;
229 regulator-ramp-delay = <6001>;
230 regulator-state-mem {
231 regulator-off-in-suspend;
236 regulator-name = "vdd_center";
237 regulator-always-on;
238 regulator-boot-on;
239 regulator-min-microvolt = <800000>;
240 regulator-max-microvolt = <1000000>;
241 regulator-ramp-delay = <6001>;
242 regulator-state-mem {
243 regulator-off-in-suspend;
248 regulator-name = "vcc_ddr";
249 regulator-always-on;
250 regulator-boot-on;
251 regulator-state-mem {
252 regulator-on-in-suspend;
257 regulator-name = "vcc_1v8";
258 regulator-always-on;
259 regulator-boot-on;
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <1800000>;
262 regulator-state-mem {
263 regulator-on-in-suspend;
268 regulator-name = "vcca3v0_codec";
269 regulator-min-microvolt = <3000000>;
270 regulator-max-microvolt = <3000000>;
274 regulator-name = "vcc3v0_touch";
275 regulator-min-microvolt = <3000000>;
276 regulator-max-microvolt = <3000000>;
280 regulator-name = "vcca1v8_codec";
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
286 regulator-name = "rk818_pwr_on";
287 regulator-always-on;
288 regulator-boot-on;
289 regulator-min-microvolt = <3300000>;
290 regulator-max-microvolt = <3300000>;
291 regulator-state-mem {
292 regulator-on-in-suspend;
297 regulator-name = "vcc_3v0";
298 regulator-always-on;
299 regulator-boot-on;
300 regulator-min-microvolt = <3000000>;
301 regulator-max-microvolt = <3000000>;
302 regulator-state-mem {
303 regulator-on-in-suspend;
308 regulator-name = "vcc_1v5";
309 regulator-always-on;
310 regulator-boot-on;
311 regulator-min-microvolt = <1500000>;
312 regulator-max-microvolt = <1500000>;
313 regulator-state-mem {
314 regulator-on-in-suspend;
319 regulator-name = "vcc1v8_dvp";
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <1800000>;
325 regulator-name = "vcc3v3_s3";
326 regulator-always-on;
327 regulator-boot-on;
328 regulator-min-microvolt = <3300000>;
329 regulator-max-microvolt = <3300000>;
330 regulator-state-mem {
331 regulator-off-in-suspend;
336 regulator-name = "vccio_sd";
337 regulator-min-microvolt = <1800000>;
338 regulator-max-microvolt = <3300000>;
342 regulator-name = "vcc3v3_s0";
343 regulator-always-on;
344 regulator-boot-on;
345 regulator-state-mem {
346 regulator-on-in-suspend;
352 vdd_cpu_b: regulator@40 {
355 fcs,suspend-voltage-selector = <1>;
356 pinctrl-names = "default";
357 pinctrl-0 = <&vsel1_pin>;
358 regulator-name = "vdd_cpu_b";
359 regulator-min-microvolt = <875000>;
360 regulator-max-microvolt = <1150000>;
361 regulator-ramp-delay = <1000>;
362 regulator-always-on;
363 regulator-boot-on;
365 regulator-state-mem {
366 regulator-off-in-suspend;
370 vdd_gpu: regulator@41 {
373 fcs,suspend-voltage-selector = <1>;
374 pinctrl-names = "default";
375 pinctrl-0 = <&vsel2_pin>;
376 regulator-name = "vdd_gpu";
377 regulator-min-microvolt = <875000>;
378 regulator-max-microvolt = <975000>;
379 regulator-ramp-delay = <1000>;
380 regulator-always-on;
381 regulator-boot-on;
383 regulator-state-mem {
384 regulator-off-in-suspend;
390 i2c-scl-rising-time-ns = <450>;
391 i2c-scl-falling-time-ns = <15>;
397 interrupt-parent = <&gpio3>;
399 irq-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>;
400 reset-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
401 AVDD28-supply = <&vcc3v0_touch>;
402 VDDIO-supply = <&vcc3v0_touch>;
403 touchscreen-size-x = <720>;
404 touchscreen-size-y = <1440>;
420 opp-hz = /bits/ 64 <1500000000>;
421 opp-microvolt = <1100000 1100000 1150000>;
430 bt656-supply = <&vcc1v8_dvp>;
431 audio-supply = <&vcca1v8_codec>;
432 sdmmc-supply = <&vccio_sd>;
433 gpio1830-supply = <&vcc_3v0>;
439 clock-master;
443 #address-cells = <0>;
444 #size-cells = <0>;
448 remote-endpoint = <&mipi_in_panel>;
457 reset-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_LOW>;
458 vcc-supply = <&vcc2v8_lcd>;
459 iovcc-supply = <&vcc1v8_lcd>;
460 pinctrl-names = "default";
464 remote-endpoint = <&mipi_out_panel>;
471 pmu1830-supply = <&vcc_1v8>;
477 pwrbtn_pin: pwrbtn-pin {
483 pmic_int_l: pmic-int-l {
487 vsel1_pin: vsel1-pin {
491 vsel2_pin: vsel2-pin {
496 sdio-pwrseq {
497 wifi_enable_h_pin: wifi-enable-h-pin {
503 vcc1v8_codec_en: vcc1v8-codec-en {
508 wireless-bluetooth {
509 bt_wake_pin: bt-wake-pin {
513 bt_host_wake_pin: bt-host-wake-pin {
517 bt_reset_pin: bt-reset-pin {
524 bus-width = <4>;
525 cap-sd-highspeed;
526 cap-sdio-irq;
527 disable-wp;
528 keep-power-in-suspend;
529 mmc-pwrseq = <&wifi_pwrseq>;
530 non-removable;
531 pinctrl-names = "default";
532 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
533 sd-uhs-sdr104;
542 vref-supply = <&vcca1v8_s3>;
547 bus-width = <4>;
548 cap-sd-highspeed;
549 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
550 disable-wp;
551 max-frequency = <150000000>;
552 pinctrl-names = "default";
553 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
554 vmmc-supply = <&vcc3v3_sys>;
555 vqmmc-supply = <&vccio_sd>;
560 bus-width = <8>;
561 mmc-hs200-1_8v;
562 non-removable;
567 rockchip,hw-tshut-mode = <1>;
568 rockchip,hw-tshut-polarity = <1>;
573 pinctrl-names = "default";
574 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
575 uart-has-rtscts;
581 clock-names = "lpo";
582 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
583 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
584 max-speed = <1500000>;
585 pinctrl-names = "default";
586 pinctrl-0 = <&bt_host_wake_pin &bt_wake_pin &bt_reset_pin>;
587 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
588 vbat-supply = <&vcc3v3_sys>;
589 vddio-supply = <&vcc_1v8>;
599 assigned-clocks = <&cru DCLK_VOP0_DIV>, <&cru DCLK_VOP0>,
601 assigned-clock-rates = <0>, <0>, <400000000>, <100000000>;
602 assigned-clock-parents = <&cru PLL_GPLL>, <&cru DCLK_VOP0_DIV>;
611 assigned-clocks = <&cru DCLK_VOP1_DIV>, <&cru DCLK_VOP1>,
613 assigned-clock-rates = <0>, <0>, <400000000>, <100000000>;
614 assigned-clock-parents = <&cru PLL_GPLL>, <&cru DCLK_VOP1_DIV>;