Lines Matching +full:suspend +full:- +full:gpios

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>
15 #include <dt-bindings/leds/common.h>
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>;
65 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
68 wakeup-source;
73 compatible = "gpio-leds";
74 pinctrl-names = "default";
75 pinctrl-0 = <&red_led_pin &green_led_pin &blue_led_pin>;
77 led_red: led-0 {
79 gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
82 led_green: led-1 {
84 gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
87 led_blue: led-2 {
89 gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>;
93 multi-led {
94 compatible = "leds-group-multicolor";
100 vcc_sys: vcc-sys-regulator {
101 compatible = "regulator-fixed";
102 regulator-name = "vcc_sys";
103 regulator-always-on;
104 regulator-boot-on;
107 vcc3v3_sys: vcc3v3-sys-regulator {
108 compatible = "regulator-fixed";
109 regulator-name = "vcc3v3_sys";
110 regulator-always-on;
111 regulator-boot-on;
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
114 vin-supply = <&vcc_sys>;
117 vcca1v8_s3: vcc1v8-s3-regulator {
118 compatible = "regulator-fixed";
119 regulator-name = "vcca1v8_s3";
120 regulator-min-microvolt = <1800000>;
121 regulator-max-microvolt = <1800000>;
122 vin-supply = <&vcc3v3_sys>;
123 regulator-always-on;
124 regulator-boot-on;
127 vcc1v8_codec: vcc1v8-codec-regulator {
128 compatible = "regulator-fixed";
129 enable-active-high;
131 pinctrl-names = "default";
132 pinctrl-0 = <&vcc1v8_codec_en>;
133 regulator-name = "vcc1v8_codec";
134 regulator-min-microvolt = <1800000>;
135 regulator-max-microvolt = <1800000>;
136 vin-supply = <&vcc3v3_sys>;
139 wifi_pwrseq: sdio-wifi-pwrseq {
140 compatible = "mmc-pwrseq-simple";
142 clock-names = "ext_clock";
143 pinctrl-names = "default";
144 pinctrl-0 = <&wifi_enable_h_pin>;
146 * Wait between power-on and SDIO access for CYP43455
149 post-power-on-delay-ms = <110>;
154 power-off-delay-us = <10000>;
157 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
161 vcc1v8_lcd: vcc1v8-lcd {
162 compatible = "regulator-fixed";
163 enable-active-high;
164 regulator-name = "vcc1v8_lcd";
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
167 vin-supply = <&vcc3v3_sys>;
172 vcc2v8_lcd: vcc2v8-lcd {
173 compatible = "regulator-fixed";
174 enable-active-high;
175 regulator-name = "vcc2v8_lcd";
176 regulator-min-microvolt = <2800000>;
177 regulator-max-microvolt = <2800000>;
178 vin-supply = <&vcc3v3_sys>;
183 compatible = "gpio-vibrator";
184 enable-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
185 vcc-supply = <&vcc3v3_sys>;
197 cpu-supply = <&vdd_cpu_l>;
201 cpu-supply = <&vdd_cpu_l>;
205 cpu-supply = <&vdd_cpu_l>;
209 cpu-supply = <&vdd_cpu_l>;
213 cpu-supply = <&vdd_cpu_b>;
217 cpu-supply = <&vdd_cpu_b>;
225 mali-supply = <&vdd_gpu>;
230 clock-frequency = <400000>;
231 i2c-scl-rising-time-ns = <168>;
232 i2c-scl-falling-time-ns = <4>;
238 interrupt-parent = <&gpio1>;
240 #clock-cells = <1>;
241 clock-output-names = "xin32k", "rk808-clkout2";
242 pinctrl-names = "default";
243 pinctrl-0 = <&pmic_int_l>;
244 rockchip,system-power-controller;
245 wakeup-source;
247 vcc1-supply = <&vcc_sys>;
248 vcc2-supply = <&vcc_sys>;
249 vcc3-supply = <&vcc_sys>;
250 vcc4-supply = <&vcc_sys>;
251 vcc6-supply = <&vcc_sys>;
252 vcc7-supply = <&vcc3v3_sys>;
253 vcc8-supply = <&vcc_sys>;
254 vcc9-supply = <&vcc3v3_sys>;
258 regulator-name = "vdd_cpu_l";
259 regulator-always-on;
260 regulator-boot-on;
261 regulator-min-microvolt = <875000>;
262 regulator-max-microvolt = <975000>;
263 regulator-ramp-delay = <6001>;
264 regulator-state-mem {
265 regulator-off-in-suspend;
270 regulator-name = "vdd_center";
271 regulator-always-on;
272 regulator-boot-on;
273 regulator-min-microvolt = <800000>;
274 regulator-max-microvolt = <1000000>;
275 regulator-ramp-delay = <6001>;
276 regulator-state-mem {
277 regulator-off-in-suspend;
282 regulator-name = "vcc_ddr";
283 regulator-always-on;
284 regulator-boot-on;
285 regulator-state-mem {
286 regulator-on-in-suspend;
291 regulator-name = "vcc_1v8";
292 regulator-always-on;
293 regulator-boot-on;
294 regulator-min-microvolt = <1800000>;
295 regulator-max-microvolt = <1800000>;
296 regulator-state-mem {
297 regulator-on-in-suspend;
302 regulator-name = "vcca3v0_codec";
303 regulator-min-microvolt = <3000000>;
304 regulator-max-microvolt = <3000000>;
308 regulator-name = "vcc3v0_touch";
309 regulator-min-microvolt = <3000000>;
310 regulator-max-microvolt = <3000000>;
314 regulator-name = "vcca1v8_codec";
315 regulator-min-microvolt = <1800000>;
316 regulator-max-microvolt = <1800000>;
320 regulator-name = "rk818_pwr_on";
321 regulator-always-on;
322 regulator-boot-on;
323 regulator-min-microvolt = <3300000>;
324 regulator-max-microvolt = <3300000>;
325 regulator-state-mem {
326 regulator-on-in-suspend;
331 regulator-name = "vcc_3v0";
332 regulator-always-on;
333 regulator-boot-on;
334 regulator-min-microvolt = <3000000>;
335 regulator-max-microvolt = <3000000>;
336 regulator-state-mem {
337 regulator-on-in-suspend;
342 regulator-name = "vcc_1v5";
343 regulator-always-on;
344 regulator-boot-on;
345 regulator-min-microvolt = <1500000>;
346 regulator-max-microvolt = <1500000>;
347 regulator-state-mem {
348 regulator-on-in-suspend;
353 regulator-name = "vcc1v8_dvp";
354 regulator-min-microvolt = <1800000>;
355 regulator-max-microvolt = <1800000>;
359 regulator-name = "vcc3v3_s3";
360 regulator-always-on;
361 regulator-boot-on;
362 regulator-min-microvolt = <3300000>;
363 regulator-max-microvolt = <3300000>;
364 regulator-state-mem {
365 regulator-off-in-suspend;
370 regulator-name = "vccio_sd";
371 regulator-min-microvolt = <1800000>;
372 regulator-max-microvolt = <3300000>;
376 regulator-name = "vcc3v3_s0";
377 regulator-always-on;
378 regulator-boot-on;
379 regulator-state-mem {
380 regulator-on-in-suspend;
389 fcs,suspend-voltage-selector = <1>;
390 pinctrl-names = "default";
391 pinctrl-0 = <&vsel1_pin>;
392 regulator-name = "vdd_cpu_b";
393 regulator-min-microvolt = <875000>;
394 regulator-max-microvolt = <1150000>;
395 regulator-ramp-delay = <1000>;
396 regulator-always-on;
397 regulator-boot-on;
399 regulator-state-mem {
400 regulator-off-in-suspend;
407 fcs,suspend-voltage-selector = <1>;
408 pinctrl-names = "default";
409 pinctrl-0 = <&vsel2_pin>;
410 regulator-name = "vdd_gpu";
411 regulator-min-microvolt = <875000>;
412 regulator-max-microvolt = <975000>;
413 regulator-ramp-delay = <1000>;
414 regulator-always-on;
415 regulator-boot-on;
417 regulator-state-mem {
418 regulator-off-in-suspend;
424 i2c-scl-rising-time-ns = <450>;
425 i2c-scl-falling-time-ns = <15>;
431 interrupt-parent = <&gpio3>;
433 irq-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>;
434 reset-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
435 AVDD28-supply = <&vcc3v0_touch>;
436 VDDIO-supply = <&vcc3v0_touch>;
437 touchscreen-size-x = <720>;
438 touchscreen-size-y = <1440>;
443 i2c-scl-rising-time-ns = <600>;
444 i2c-scl-falling-time-ns = <20>;
451 interrupt-parent = <&gpio1>;
453 vddio-supply = <&vcc_1v8>;
469 opp-hz = /bits/ 64 <1500000000>;
470 opp-microvolt = <1100000 1100000 1150000>;
479 bt656-supply = <&vcc1v8_dvp>;
480 audio-supply = <&vcca1v8_codec>;
481 sdmmc-supply = <&vccio_sd>;
482 gpio1830-supply = <&vcc_3v0>;
488 clock-master;
492 #address-cells = <0>;
493 #size-cells = <0>;
497 remote-endpoint = <&mipi_in_panel>;
506 reset-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_LOW>;
507 vcc-supply = <&vcc2v8_lcd>;
508 iovcc-supply = <&vcc1v8_lcd>;
509 pinctrl-names = "default";
513 remote-endpoint = <&mipi_out_panel>;
520 pmu1830-supply = <&vcc_1v8>;
526 pwrbtn_pin: pwrbtn-pin {
532 red_led_pin: red-led-pin {
536 green_led_pin: green-led-pin {
540 blue_led_pin: blue-led-pin {
546 pmic_int_l: pmic-int-l {
550 vsel1_pin: vsel1-pin {
554 vsel2_pin: vsel2-pin {
559 sdio-pwrseq {
560 wifi_enable_h_pin: wifi-enable-h-pin {
566 vcc1v8_codec_en: vcc1v8-codec-en {
571 wireless-bluetooth {
572 bt_wake_pin: bt-wake-pin {
576 bt_host_wake_pin: bt-host-wake-pin {
580 bt_reset_pin: bt-reset-pin {
587 bus-width = <4>;
588 cap-sd-highspeed;
589 cap-sdio-irq;
590 disable-wp;
591 keep-power-in-suspend;
592 mmc-pwrseq = <&wifi_pwrseq>;
593 non-removable;
594 pinctrl-names = "default";
595 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
596 sd-uhs-sdr104;
605 vref-supply = <&vcca1v8_s3>;
610 bus-width = <4>;
611 cap-sd-highspeed;
612 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
613 disable-wp;
614 max-frequency = <150000000>;
615 pinctrl-names = "default";
616 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
617 vmmc-supply = <&vcc3v3_sys>;
618 vqmmc-supply = <&vccio_sd>;
623 bus-width = <8>;
624 mmc-hs200-1_8v;
625 non-removable;
633 compatible = "jedec,spi-nor";
635 spi-max-frequency = <10000000>;
640 rockchip,hw-tshut-mode = <1>;
641 rockchip,hw-tshut-polarity = <1>;
646 pinctrl-names = "default";
647 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
648 uart-has-rtscts;
654 clock-names = "lpo";
655 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
656 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
657 max-speed = <1500000>;
658 pinctrl-names = "default";
659 pinctrl-0 = <&bt_host_wake_pin &bt_wake_pin &bt_reset_pin>;
660 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
661 vbat-supply = <&vcc3v3_sys>;
662 vddio-supply = <&vcc_1v8>;
672 assigned-clocks = <&cru DCLK_VOP0_DIV>, <&cru DCLK_VOP0>,
674 assigned-clock-rates = <0>, <0>, <400000000>, <100000000>;
675 assigned-clock-parents = <&cru PLL_GPLL>, <&cru DCLK_VOP0_DIV>;
684 assigned-clocks = <&cru DCLK_VOP1_DIV>, <&cru DCLK_VOP1>,
686 assigned-clock-rates = <0>, <0>, <400000000>, <100000000>;
687 assigned-clock-parents = <&cru PLL_GPLL>, <&cru DCLK_VOP1_DIV>;