Lines Matching +full:pd +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/sensor-dev.h>
13 #include "rk312x-android.dtsi"
16 adc-keys {
17 compatible = "adc-keys";
18 io-channels = <&saradc 2>;
19 io-channel-names = "buttons";
20 poll-interval = <100>;
21 keyup-threshold-microvolt = <3300000>;
23 button-up {
26 press-threshold-microvolt = <0>;
29 button-down {
32 press-threshold-microvolt = <1650000>;
37 compatible = "pwm-backlight";
39 brightness-levels = <
72 default-brightness-level = <128>;
73 enable-gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>;
76 charge-animation {
77 compatible = "rockchip,uboot-charge";
78 rockchip,uboot-charge-on = <1>;
79 rockchip,android-charge-on = <0>;
80 rockchip,uboot-low-power-voltage = <3500>;
81 rockchip,screen-on-voltage = <3600>;
91 compatible = "simple-audio-card";
92 simple-audio-card,format = "i2s";
93 simple-audio-card,mclk-fs = <256>;
94 simple-audio-card,name = "rockchip,rk312x";
95 simple-audio-card,cpu {
96 sound-dai = <&i2s_2ch>;
98 simple-audio-card,codec {
99 sound-dai = <&codec>;
103 vccadc_ref: vccadc-ref {
104 compatible = "regulator-fixed";
105 regulator-name = "SARADC_AVDD33";
106 regulator-always-on;
107 regulator-boot-on;
108 regulator-min-microvolt = <3300000>;
109 regulator-max-microvolt = <3300000>;
112 vcc_sys: vcc-sys {
113 compatible = "regulator-fixed";
114 regulator-name = "vcc_sys";
115 regulator-min-microvolt = <4000000>;
116 regulator-max-microvolt = <4000000>;
117 regulator-always-on;
121 compatible = "fixed-clock";
122 clock-frequency = <32768>;
123 clock-output-names = "xin32k";
124 #clock-cells = <0>;
127 wireless-bluetooth {
128 compatible = "bluetooth-platdata";
129 /* wifi-bt-power-toggle; */
133 pinctrl-names = "default","rts_gpio";
134 pinctrl-0 = <&uart1_rts>;
135 pinctrl-1 = <&uart1_rts_gpio>;
142 wireless-wlan {
143 compatible = "wlan-platdata";
152 #sound-dai-cells = <0>;
153 hp-ctl-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
154 spk-ctl-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
155 spk-mute-delay = <200>;
156 hp-mute-delay = <100>;
172 remote-endpoint = <&gc0329_out>;
173 vsync-active = <1>;
174 hsync-active = <1>;
178 remote-endpoint = <&gc2145_out>;
179 vsync-active = <0>;
180 hsync-active = <1>;
187 cpu-supply = <&vdd_arm>;
194 compatible = "fc,fy07018dh26d372-d", "simple-panel-dsi";
197 power-supply = <&ldo6>;
198 power-invert;
199 enable-gpios = <&gpio2 RK_PC3 GPIO_ACTIVE_HIGH>;
200 reset-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_LOW>;
201 prepare-delay-ms = <20>;
202 reset-delay-ms = <20>;
203 init-delay-ms = <20>;
204 enable-delay-ms = <120>;
205 disable-delay-ms = <20>;
206 unprepare-delay-ms = <20>;
208 width-mm = <153>;
209 height-mm = <85>;
216 panel-init-sequence = [
227 display-timings {
228 native-mode = <&timing0>;
231 clock-frequency = <49500000>;
233 hfront-porch = <120>;
234 hsync-len = <40>;
235 hback-porch = <120>;
237 vfront-porch = <14>;
238 vsync-len = <4>;
239 vback-porch = <14>;
240 hsync-active = <0>;
241 vsync-active = <0>;
242 de-active = <0>;
243 pixelclk-active = <0>;
248 #address-cells = <1>;
249 #size-cells = <0>;
254 remote-endpoint = <&dsi_out_panel>;
261 #address-cells = <1>;
262 #size-cells = <0>;
267 remote-endpoint = <&panel_in_dsi>;
278 center-supply = <&vdd_log>;
282 bus-width = <8>;
283 cap-mmc-highspeed;
284 no-sdio;
285 no-sd;
286 disable-wp;
287 non-removable;
288 num-slots = <1>;
294 mali-supply = <&vdd_log>;
299 clock-frequency = <400000>;
304 pinctrl-names = "default";
305 pinctrl-0 = <&fcam_pd>;
308 clock-names = "xvclk";
310 avdd-supply = <&vcc28_cif>;
311 dovdd-supply = <&vcc18_cif>;
312 dvdd-supply = <&vcc18_cif>;
314 pwdn-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
315 rockchip,camera-module-index = <1>;
316 rockchip,camera-module-facing = "front";
317 rockchip,camera-module-name = "default";
318 rockchip,camera-module-lens-name = "default";
321 remote-endpoint = <&cif_in_fcam>;
329 pinctrl-names = "default";
330 pinctrl-0 = <&bcam_pd>;
333 clock-names = "xvclk";
335 avdd-supply = <&vcc28_cif>;
336 dovdd-supply = <&vcc18_cif>;
337 dvdd-supply = <&vcc18_cif>;
339 pwdn-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
340 rockchip,camera-module-index = <0>;
341 rockchip,camera-module-facing = "back";
342 rockchip,camera-module-name = "default";
343 rockchip,camera-module-lens-name = "default";
346 remote-endpoint = <&cif_in_bcam>;
352 compatible = "gslX680-d708";
354 touch-gpio = <&gpio2 20 IRQ_TYPE_LEVEL_LOW>;
355 wake-gpio = <&gpio2 12 IRQ_TYPE_LEVEL_LOW>;
364 interrupt-parent = <&gpio0>;
366 pinctrl-names = "default";
367 pinctrl-0 = <&pmic_int_l>;
368 rockchip,system-power-controller;
369 wakeup-source;
370 gpio-controller;
371 #gpio-cells = <2>;
372 #clock-cells = <1>;
373 clock-output-names = "rk816-clkout1", "rk816-clkout2";
376 vcc1-supply = <&vcc_sys>;
377 vcc2-supply = <&vcc_sys>;
378 vcc3-supply = <&vcc_sys>;
379 vcc4-supply = <&vcc_sys>;
380 vcc5-supply = <&vcc_io>;
381 vcc6-supply = <&vcc_sys>;
396 compatible = "rk816-battery";
421 regulator-name= "vdd_arm";
422 regulator-min-microvolt = <750000>;
423 regulator-max-microvolt = <1500000>;
424 regulator-ramp-delay = <6001>;
425 regulator-initial-mode = <1>;
426 regulator-always-on;
427 regulator-boot-on;
428 regulator-state-mem {
429 regulator-off-in-suspend;
430 regulator-suspend-microvolt = <900000>;
435 regulator-name= "vdd_logic";
436 regulator-min-microvolt = <750000>;
437 regulator-max-microvolt = <1500000>;
438 regulator-ramp-delay = <6001>;
439 regulator-initial-mode = <1>;
440 regulator-always-on;
441 regulator-boot-on;
442 regulator-state-mem {
443 regulator-on-in-suspend;
444 regulator-suspend-microvolt = <1000000>;
449 regulator-name = "vcc_ddr";
450 regulator-always-on;
451 regulator-boot-on;
455 regulator-name = "vcc_io";
456 regulator-min-microvolt = <3300000>;
457 regulator-max-microvolt = <3300000>;
458 regulator-initial-mode = <1>;
459 regulator-always-on;
460 regulator-boot-on;
461 regulator-state-mem {
462 regulator-on-in-suspend;
463 regulator-suspend-microvolt = <3000000>;
468 regulator-name = "vcc28_cif";
469 regulator-min-microvolt = <2800000>;
470 regulator-max-microvolt = <2800000>;
471 regulator-always-on;
472 regulator-boot-on;
473 regulator-state-mem {
474 regulator-off-in-suspend;
479 regulator-name = "vcc18_cif";
480 regulator-min-microvolt = <1800000>;
481 regulator-max-microvolt = <1800000>;
482 regulator-always-on;
483 regulator-boot-on;
484 regulator-state-mem {
485 regulator-off-in-suspend;
490 regulator-name = "vdd_11";
491 regulator-min-microvolt = <1100000>;
492 regulator-max-microvolt = <1100000>;
493 regulator-always-on;
494 regulator-boot-on;
495 regulator-state-mem {
496 regulator-on-in-suspend;
497 regulator-suspend-microvolt = <1100000>;
502 regulator-name= "ldo4";
503 regulator-min-microvolt = <3300000>;
504 regulator-max-microvolt = <3300000>;
505 regulator-always-on;
506 regulator-boot-on;
507 regulator-state-mem {
508 regulator-off-in-suspend;
513 regulator-name= "ldo5";
514 regulator-min-microvolt = <3000000>;
515 regulator-max-microvolt = <3000000>;
516 regulator-always-on;
517 regulator-boot-on;
518 regulator-state-mem {
519 regulator-on-in-suspend;
524 regulator-name= "ldo6";
525 regulator-min-microvolt = <3300000>;
526 regulator-max-microvolt = <3300000>;
527 regulator-state-mem {
528 regulator-on-in-suspend;
529 regulator-suspend-microvolt = <3300000>;
547 #sound-dai-cells = <0>;
569 fcam_pd: fcam-pd {
573 bcam_pd: bcam-pd {
579 lcdc_lcdc: lcdc-lcdc {
604 pmic_int_l: pmic-int-l {
611 uart1_xfer: uart1-xfer {
617 wireless-bluetooth {
618 uart1_rts_gpio: uart1-rts-gpio {
634 vref-supply = <&vccadc_ref>;
638 cap-mmc-highspeed;
639 no-sdio;
640 no-mmc;
641 card-detect-delay = <800>;
642 ignore-pm-notify;
643 keep-power-in-suspend;
644 cd-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; /* CD GPIO */
649 max-frequency = <50000000>;
650 cap-sd-highspeed;
651 no-sd;
652 no-mmc;
653 ignore-pm-notify;
654 keep-power-in-suspend;
655 non-removable;
656 vmmc-supply = <&ldo5>;
667 u2phy_otg: otg-port {
671 u2phy_host: host-port {
677 pinctrl-names = "default";
678 pinctrl-0 = <&uart1_xfer &uart1_cts>;