Lines Matching +full:source +full:- +full:pdos
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/soc/rockchip,vop2.h>
10 #include <dt-bindings/usb/pd.h>
20 stdout-path = "serial2:1500000n8";
23 adc-keys {
24 compatible = "adc-keys";
25 io-channels = <&saradc 1>;
26 io-channel-names = "buttons";
27 keyup-threshold-microvolt = <1800000>;
28 poll-interval = <100>;
30 button-recovery {
33 press-threshold-microvolt = <1800>;
37 analog-sound {
38 compatible = "simple-audio-card";
39 pinctrl-names = "default";
40 pinctrl-0 = <&hp_detect>;
41 simple-audio-card,name = "rockchip,es8388";
42 simple-audio-card,bitclock-master = <&masterdai>;
43 simple-audio-card,format = "i2s";
44 simple-audio-card,frame-master = <&masterdai>;
45 simple-audio-card,hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
46 simple-audio-card,mclk-fs = <256>;
47 simple-audio-card,pin-switches = "Headphones";
48 simple-audio-card,routing =
55 simple-audio-card,widgets =
60 simple-audio-card,cpu {
61 sound-dai = <&i2s1_8ch>;
64 masterdai: simple-audio-card,codec {
65 sound-dai = <&es8388>;
66 system-clock-frequency = <12288000>;
70 hdmi0-con {
71 compatible = "hdmi-connector";
76 remote-endpoint = <&hdmi0_out_con>;
81 pwm-leds {
82 compatible = "pwm-leds";
87 linux,default-trigger = "heartbeat";
88 max-brightness = <255>;
93 vbus_typec: regulator-vbus-typec {
94 compatible = "regulator-fixed";
95 enable-active-high;
97 pinctrl-names = "default";
98 pinctrl-0 = <&typec5v_pwren>;
99 regulator-name = "vbus_typec";
100 regulator-min-microvolt = <5000000>;
101 regulator-max-microvolt = <5000000>;
102 vin-supply = <&vcc5v0_sys>;
105 vcc5v0_sys: regulator-vcc5v0-sys {
106 compatible = "regulator-fixed";
107 regulator-name = "vcc5v0_sys";
108 regulator-always-on;
109 regulator-boot-on;
110 regulator-min-microvolt = <5000000>;
111 regulator-max-microvolt = <5000000>;
114 vcc_3v3_sd_s0: regulator-vcc-3v3-sd-s0 {
115 compatible = "regulator-fixed";
117 regulator-name = "vcc_3v3_sd_s0";
118 regulator-boot-on;
119 regulator-min-microvolt = <3300000>;
120 regulator-max-microvolt = <3300000>;
121 vin-supply = <&vcc_3v3_s3>;
134 cpu-supply = <&vdd_cpu_big0_s0>;
138 cpu-supply = <&vdd_cpu_big0_s0>;
142 cpu-supply = <&vdd_cpu_big1_s0>;
146 cpu-supply = <&vdd_cpu_big1_s0>;
150 cpu-supply = <&vdd_cpu_lit_s0>;
154 cpu-supply = <&vdd_cpu_lit_s0>;
158 cpu-supply = <&vdd_cpu_lit_s0>;
162 cpu-supply = <&vdd_cpu_lit_s0>;
167 phy-handle = <&rgmii_phy1>;
168 phy-mode = "rgmii-rxid";
169 pinctrl-0 = <&gmac1_miim
174 pinctrl-names = "default";
180 mali-supply = <&vdd_gpu_s0>;
190 remote-endpoint = <&vp0_out_hdmi0>;
196 remote-endpoint = <&hdmi0_con_in>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&i2c0m2_xfer>;
212 fcs,suspend-voltage-selector = <1>;
213 regulator-name = "vdd_cpu_big0_s0";
214 regulator-always-on;
215 regulator-boot-on;
216 regulator-min-microvolt = <550000>;
217 regulator-max-microvolt = <1050000>;
218 regulator-ramp-delay = <2300>;
219 vin-supply = <&vcc5v0_sys>;
221 regulator-state-mem {
222 regulator-off-in-suspend;
229 fcs,suspend-voltage-selector = <1>;
230 regulator-name = "vdd_cpu_big1_s0";
231 regulator-always-on;
232 regulator-boot-on;
233 regulator-min-microvolt = <550000>;
234 regulator-max-microvolt = <1050000>;
235 regulator-ramp-delay = <2300>;
236 vin-supply = <&vcc5v0_sys>;
238 regulator-state-mem {
239 regulator-off-in-suspend;
250 fcs,suspend-voltage-selector = <1>;
251 regulator-name = "vdd_npu_s0";
252 regulator-always-on;
253 regulator-boot-on;
254 regulator-min-microvolt = <550000>;
255 regulator-max-microvolt = <950000>;
256 regulator-ramp-delay = <2300>;
257 vin-supply = <&vcc5v0_sys>;
259 regulator-state-mem {
260 regulator-off-in-suspend;
266 pinctrl-names = "default";
267 pinctrl-0 = <&i2c6m3_xfer>;
270 es8388: audio-codec@10 {
274 AVDD-supply = <&vcc_3v3_s0>;
275 DVDD-supply = <&vcc_1v8_s0>;
276 HPVDD-supply = <&vcc_3v3_s0>;
277 PVDD-supply = <&vcc_3v3_s0>;
278 assigned-clocks = <&cru I2S1_8CH_MCLKOUT>;
279 assigned-clock-rates = <12288000>;
280 #sound-dai-cells = <0>;
283 usbc0: usb-typec@22 {
286 interrupt-parent = <&gpio0>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&usbc0_int>;
290 vbus-supply = <&vbus_typec>;
294 compatible = "usb-c-connector";
295 label = "USB-C";
296 data-role = "dual";
297 op-sink-microwatt = <1000000>;
298 power-role = "dual";
299 sink-pdos =
301 source-pdos =
303 try-power-role = "source";
306 #address-cells = <1>;
307 #size-cells = <0>;
312 remote-endpoint = <&usb_host0_xhci_drd_sw>;
319 remote-endpoint = <&usbdp_phy0_typec_ss>;
326 remote-endpoint = <&usbdp_phy0_typec_sbu>;
336 #clock-cells = <0>;
337 clock-output-names = "hym8563";
338 pinctrl-names = "default";
339 pinctrl-0 = <&hym8563_int>;
340 interrupt-parent = <&gpio0>;
342 wakeup-source;
347 rockchip,i2s-tx-route = <3 2 1 0>;
348 rockchip,i2s-rx-route = <1 3 2 0>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&i2s1m0_sclk
359 rgmii_phy1: ethernet-phy@1 {
360 compatible = "ethernet-phy-ieee802.3-c22";
362 reset-assert-us = <20000>;
363 reset-deassert-us = <100000>;
364 reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>;
370 hym8563_int: hym8563-int {
376 hp_detect: hp-detect {
381 usb-typec {
382 usbc0_int: usbc0-int {
386 typec5v_pwren: typec5v-pwren {
393 pinctrl-0 = <&pwm0m2_pins>;
394 pinctrl-names = "default";
399 vref-supply = <&avcc_1v8_s0>;
404 bus-width = <8>;
405 no-sdio;
406 no-sd;
407 non-removable;
408 max-frequency = <200000000>;
409 mmc-hs400-1_8v;
410 mmc-hs400-enhanced-strobe;
415 bus-width = <4>;
416 cap-sd-highspeed;
417 disable-wp;
418 max-frequency = <150000000>;
419 no-mmc;
420 no-sdio;
421 sd-uhs-sdr104;
422 vmmc-supply = <&vcc_3v3_sd_s0>;
423 vqmmc-supply = <&vccio_sd_s0>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&fspim0_pins>;
433 compatible = "jedec,spi-nor";
435 spi-max-frequency = <100000000>;
436 spi-rx-bus-width = <4>;
437 spi-tx-bus-width = <1>;
443 assigned-clocks = <&cru CLK_SPI2>;
444 assigned-clock-rates = <200000000>;
445 num-cs = <1>;
446 pinctrl-names = "default";
447 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
452 interrupt-parent = <&gpio0>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
457 spi-max-frequency = <1000000>;
458 system-power-controller;
460 vcc1-supply = <&vcc5v0_sys>;
461 vcc2-supply = <&vcc5v0_sys>;
462 vcc3-supply = <&vcc5v0_sys>;
463 vcc4-supply = <&vcc5v0_sys>;
464 vcc5-supply = <&vcc5v0_sys>;
465 vcc6-supply = <&vcc5v0_sys>;
466 vcc7-supply = <&vcc5v0_sys>;
467 vcc8-supply = <&vcc5v0_sys>;
468 vcc9-supply = <&vcc5v0_sys>;
469 vcc10-supply = <&vcc5v0_sys>;
470 vcc11-supply = <&vcc_2v0_pldo_s3>;
471 vcc12-supply = <&vcc5v0_sys>;
472 vcc13-supply = <&vcc_1v1_nldo_s3>;
473 vcc14-supply = <&vcc_1v1_nldo_s3>;
474 vcca-supply = <&vcc5v0_sys>;
476 gpio-controller;
477 #gpio-cells = <2>;
479 rk806_dvs1_null: dvs1-null-pins {
484 rk806_dvs2_null: dvs2-null-pins {
489 rk806_dvs3_null: dvs3-null-pins {
495 vdd_gpu_s0: dcdc-reg1 {
496 regulator-name = "vdd_gpu_s0";
497 regulator-boot-on;
498 regulator-min-microvolt = <550000>;
499 regulator-max-microvolt = <950000>;
500 regulator-ramp-delay = <12500>;
501 regulator-enable-ramp-delay = <400>;
503 regulator-state-mem {
504 regulator-off-in-suspend;
508 vdd_cpu_lit_s0: dcdc-reg2 {
509 regulator-name = "vdd_cpu_lit_s0";
510 regulator-always-on;
511 regulator-boot-on;
512 regulator-min-microvolt = <550000>;
513 regulator-max-microvolt = <950000>;
514 regulator-ramp-delay = <12500>;
516 regulator-state-mem {
517 regulator-off-in-suspend;
521 vdd_log_s0: dcdc-reg3 {
522 regulator-name = "vdd_log_s0";
523 regulator-always-on;
524 regulator-boot-on;
525 regulator-min-microvolt = <675000>;
526 regulator-max-microvolt = <750000>;
527 regulator-ramp-delay = <12500>;
529 regulator-state-mem {
530 regulator-off-in-suspend;
531 regulator-suspend-microvolt = <750000>;
535 vdd_vdenc_s0: dcdc-reg4 {
536 regulator-name = "vdd_vdenc_s0";
537 regulator-always-on;
538 regulator-boot-on;
539 regulator-min-microvolt = <550000>;
540 regulator-max-microvolt = <950000>;
541 regulator-ramp-delay = <12500>;
543 regulator-state-mem {
544 regulator-off-in-suspend;
548 vdd_ddr_s0: dcdc-reg5 {
549 regulator-name = "vdd_ddr_s0";
550 regulator-always-on;
551 regulator-boot-on;
552 regulator-min-microvolt = <675000>;
553 regulator-max-microvolt = <900000>;
554 regulator-ramp-delay = <12500>;
556 regulator-state-mem {
557 regulator-off-in-suspend;
558 regulator-suspend-microvolt = <850000>;
562 vcc_1v1_nldo_s3: vdd2_ddr_s3: dcdc-reg6 {
563 regulator-name = "vdd2_ddr_s3";
564 regulator-always-on;
565 regulator-boot-on;
566 regulator-max-microvolt = <1100000>;
567 regulator-min-microvolt = <1100000>;
569 regulator-state-mem {
570 regulator-on-in-suspend;
574 vcc_2v0_pldo_s3: dcdc-reg7 {
575 regulator-name = "vdd_2v0_pldo_s3";
576 regulator-always-on;
577 regulator-boot-on;
578 regulator-min-microvolt = <2000000>;
579 regulator-max-microvolt = <2000000>;
580 regulator-ramp-delay = <12500>;
582 regulator-state-mem {
583 regulator-on-in-suspend;
584 regulator-suspend-microvolt = <2000000>;
588 vcc_3v3_s3: dcdc-reg8 {
589 regulator-name = "vcc_3v3_s3";
590 regulator-always-on;
591 regulator-boot-on;
592 regulator-min-microvolt = <3300000>;
593 regulator-max-microvolt = <3300000>;
595 regulator-state-mem {
596 regulator-on-in-suspend;
597 regulator-suspend-microvolt = <3300000>;
601 vddq_ddr_s0: dcdc-reg9 {
602 regulator-name = "vddq_ddr_s0";
603 regulator-always-on;
604 regulator-boot-on;
606 regulator-state-mem {
607 regulator-off-in-suspend;
611 vcc_1v8_s3: dcdc-reg10 {
612 regulator-name = "vcc_1v8_s3";
613 regulator-always-on;
614 regulator-boot-on;
615 regulator-min-microvolt = <1800000>;
616 regulator-max-microvolt = <1800000>;
618 regulator-state-mem {
619 regulator-on-in-suspend;
620 regulator-suspend-microvolt = <1800000>;
624 avcc_1v8_s0: pldo-reg1 {
625 regulator-name = "avcc_1v8_s0";
626 regulator-always-on;
627 regulator-boot-on;
628 regulator-min-microvolt = <1800000>;
629 regulator-max-microvolt = <1800000>;
631 regulator-state-mem {
632 regulator-off-in-suspend;
636 vcc_1v8_s0: pldo-reg2 {
637 regulator-name = "vcc_1v8_s0";
638 regulator-always-on;
639 regulator-boot-on;
640 regulator-min-microvolt = <1800000>;
641 regulator-max-microvolt = <1800000>;
643 regulator-state-mem {
644 regulator-off-in-suspend;
645 regulator-suspend-microvolt = <1800000>;
649 avdd_1v2_s0: pldo-reg3 {
650 regulator-name = "avdd_1v2_s0";
651 regulator-always-on;
652 regulator-boot-on;
653 regulator-min-microvolt = <1200000>;
654 regulator-max-microvolt = <1200000>;
656 regulator-state-mem {
657 regulator-off-in-suspend;
661 vcc_3v3_s0: pldo-reg4 {
662 regulator-name = "vcc_3v3_s0";
663 regulator-always-on;
664 regulator-boot-on;
665 regulator-min-microvolt = <3300000>;
666 regulator-max-microvolt = <3300000>;
667 regulator-ramp-delay = <12500>;
669 regulator-state-mem {
670 regulator-off-in-suspend;
674 vccio_sd_s0: pldo-reg5 {
675 regulator-name = "vccio_sd_s0";
676 regulator-always-on;
677 regulator-boot-on;
678 regulator-min-microvolt = <1800000>;
679 regulator-max-microvolt = <3300000>;
680 regulator-ramp-delay = <12500>;
682 regulator-state-mem {
683 regulator-off-in-suspend;
687 pldo6_s3: pldo-reg6 {
688 regulator-name = "pldo6_s3";
689 regulator-always-on;
690 regulator-boot-on;
691 regulator-min-microvolt = <1800000>;
692 regulator-max-microvolt = <1800000>;
694 regulator-state-mem {
695 regulator-on-in-suspend;
696 regulator-suspend-microvolt = <1800000>;
700 vdd_0v75_s3: nldo-reg1 {
701 regulator-name = "vdd_0v75_s3";
702 regulator-always-on;
703 regulator-boot-on;
704 regulator-min-microvolt = <750000>;
705 regulator-max-microvolt = <750000>;
707 regulator-state-mem {
708 regulator-on-in-suspend;
709 regulator-suspend-microvolt = <750000>;
713 vdd_ddr_pll_s0: nldo-reg2 {
714 regulator-name = "vdd_ddr_pll_s0";
715 regulator-always-on;
716 regulator-boot-on;
717 regulator-min-microvolt = <850000>;
718 regulator-max-microvolt = <850000>;
720 regulator-state-mem {
721 regulator-off-in-suspend;
722 regulator-suspend-microvolt = <850000>;
726 avdd_0v75_s0: nldo-reg3 {
727 regulator-name = "avdd_0v75_s0";
728 regulator-always-on;
729 regulator-boot-on;
730 regulator-min-microvolt = <750000>;
731 regulator-max-microvolt = <750000>;
733 regulator-state-mem {
734 regulator-off-in-suspend;
738 vdd_0v85_s0: nldo-reg4 {
739 regulator-name = "vdd_0v85_s0";
740 regulator-always-on;
741 regulator-boot-on;
742 regulator-min-microvolt = <850000>;
743 regulator-max-microvolt = <850000>;
745 regulator-state-mem {
746 regulator-off-in-suspend;
750 vdd_0v75_s0: nldo-reg5 {
751 regulator-name = "vdd_0v75_s0";
752 regulator-always-on;
753 regulator-boot-on;
754 regulator-min-microvolt = <750000>;
755 regulator-max-microvolt = <750000>;
757 regulator-state-mem {
758 regulator-off-in-suspend;
794 pinctrl-0 = <&uart2m0_xfer>;
799 mode-switch;
800 orientation-switch;
801 sbu1-dc-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
802 sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
806 #address-cells = <1>;
807 #size-cells = <0>;
811 remote-endpoint = <&usbc0_ss>;
816 remote-endpoint = <&usbc0_sbu>;
831 usb-role-switch;
836 remote-endpoint = <&usbc0_hs>;
864 remote-endpoint = <&hdmi0_in_vp0>;