Lines Matching +full:vbus +full:- +full:boost +full:- +full:supply

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/soc/rockchip,vop2.h>
12 compatible = "pine64,quartz64-a", "rockchip,rk3566";
21 stdout-path = "serial2:1500000n8";
24 gmac1_clkin: external-gmac1-clock {
25 compatible = "fixed-clock";
26 clock-frequency = <125000000>;
27 clock-output-names = "gmac1_clkin";
28 #clock-cells = <0>;
32 compatible = "gpio-fan";
34 gpio-fan,speed-map =
37 pinctrl-names = "default";
38 pinctrl-0 = <&fan_en_h>;
39 #cooling-cells = <2>;
42 hdmi-con {
43 compatible = "hdmi-connector";
48 remote-endpoint = <&hdmi_out_con>;
54 compatible = "gpio-leds";
56 led-work {
57 label = "work-led";
58 default-state = "off";
60 pinctrl-names = "default";
61 pinctrl-0 = <&work_led_enable_h>;
62 retain-state-suspended;
65 led-diy {
66 label = "diy-led";
67 default-state = "on";
69 linux,default-trigger = "heartbeat";
70 pinctrl-names = "default";
71 pinctrl-0 = <&diy_led_enable_h>;
72 retain-state-suspended;
76 rk817-sound {
77 compatible = "simple-audio-card";
78 simple-audio-card,format = "i2s";
79 simple-audio-card,name = "Analog RK817";
80 simple-audio-card,mclk-fs = <256>;
82 simple-audio-card,cpu {
83 sound-dai = <&i2s1_8ch>;
86 simple-audio-card,codec {
87 sound-dai = <&rk817>;
91 sdio_pwrseq: sdio-pwrseq {
92 compatible = "mmc-pwrseq-simple";
94 clock-names = "ext_clock";
95 pinctrl-names = "default";
96 pinctrl-0 = <&wifi_enable_h>;
97 post-power-on-delay-ms = <100>;
98 power-off-delay-us = <5000000>;
99 reset-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>;
102 spdif_dit: spdif-dit {
103 compatible = "linux,spdif-dit";
104 #sound-dai-cells = <0>;
107 spdif_sound: spdif-sound {
108 compatible = "simple-audio-card";
109 simple-audio-card,name = "SPDIF";
111 simple-audio-card,cpu {
112 sound-dai = <&spdif>;
115 simple-audio-card,codec {
116 sound-dai = <&spdif_dit>;
121 compatible = "regulator-fixed";
122 regulator-name = "vcc12v_dcin";
123 regulator-always-on;
124 regulator-boot-on;
125 regulator-min-microvolt = <12000000>;
126 regulator-max-microvolt = <12000000>;
129 /* vbus feeds the rk817 usb input.
133 vbus: vbus { label
134 compatible = "regulator-fixed";
135 regulator-name = "vbus";
136 regulator-always-on;
137 regulator-boot-on;
138 regulator-min-microvolt = <5000000>;
139 regulator-max-microvolt = <5000000>;
140 vin-supply = <&vcc12v_dcin>;
143 vcc3v3_pcie_p: vcc3v3-pcie-p-regulator {
144 compatible = "regulator-fixed";
145 enable-active-high;
147 pinctrl-names = "default";
148 pinctrl-0 = <&pcie_enable_h>;
149 regulator-name = "vcc3v3_pcie_p";
150 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>;
152 vin-supply = <&vcc_3v3>;
156 compatible = "regulator-fixed";
157 regulator-name = "vcc5v0_usb";
158 regulator-always-on;
159 regulator-boot-on;
160 regulator-min-microvolt = <5000000>;
161 regulator-max-microvolt = <5000000>;
162 vin-supply = <&vcc12v_dcin>;
170 compatible = "regulator-fixed";
171 enable-active-high;
173 pinctrl-names = "default";
174 pinctrl-0 = <&vcc5v0_usb20_host_en>;
175 regulator-name = "vcc5v0_usb20_host";
176 regulator-min-microvolt = <5000000>;
177 regulator-max-microvolt = <5000000>;
178 vin-supply = <&vcc5v0_usb>;
182 compatible = "regulator-fixed";
183 enable-active-high;
185 regulator-name = "vcc5v0_usb20_otg";
186 regulator-min-microvolt = <5000000>;
187 regulator-max-microvolt = <5000000>;
188 vin-supply = <&dcdc_boost>;
192 compatible = "regulator-fixed";
194 pinctrl-names = "default";
195 pinctrl-0 = <&vcc_sd_h>;
196 regulator-boot-on;
197 regulator-name = "vcc3v3_sd";
198 regulator-min-microvolt = <3300000>;
199 regulator-max-microvolt = <3300000>;
200 vin-supply = <&vcc_3v3>;
203 /* sourced from vbus and vcc_bat+ via rk817 sw5 */
205 compatible = "regulator-fixed";
206 regulator-name = "vcc_sys";
207 regulator-always-on;
208 regulator-boot-on;
209 regulator-min-microvolt = <4400000>;
210 regulator-max-microvolt = <4400000>;
211 vin-supply = <&vbus>;
216 compatible = "regulator-fixed";
217 regulator-name = "vcc_wl";
218 regulator-always-on;
219 regulator-boot-on;
220 regulator-min-microvolt = <3300000>;
221 regulator-max-microvolt = <3300000>;
222 vin-supply = <&vcc_sys>;
235 cpu-supply = <&vdd_cpu>;
239 cpu-supply = <&vdd_cpu>;
243 cpu-supply = <&vdd_cpu>;
247 cpu-supply = <&vdd_cpu>;
259 cooling-maps {
262 cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
268 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
269 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
271 phy-supply = <&vcc_3v3>;
272 phy-mode = "rgmii";
273 pinctrl-names = "default";
274 pinctrl-0 = <&gmac1m0_miim
280 snps,reset-gpio = <&gpio0 RK_PC3 GPIO_ACTIVE_LOW>;
281 snps,reset-active-low;
283 snps,reset-delays-us = <0 20000 100000>;
286 phy-handle = <&rgmii_phy1>;
291 mali-supply = <&vdd_gpu>;
296 avdd-0v9-supply = <&vdda_0v9>;
297 avdd-1v8-supply = <&vcc_1v8>;
303 remote-endpoint = <&vp0_out_hdmi>;
309 remote-endpoint = <&hdmi_con_in>;
323 fcs,suspend-voltage-selector = <1>;
324 regulator-name = "vdd_cpu";
325 regulator-min-microvolt = <800000>;
326 regulator-max-microvolt = <1150000>;
327 regulator-ramp-delay = <2300>;
328 regulator-always-on;
329 regulator-boot-on;
330 vin-supply = <&vcc_sys>;
332 regulator-state-mem {
333 regulator-off-in-suspend;
340 interrupt-parent = <&gpio0>;
342 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
343 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
344 clock-names = "mclk";
346 clock-output-names = "rk808-clkout1", "rk808-clkout2";
347 #clock-cells = <1>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&pmic_int_l>, <&i2s1m0_mclk>;
350 rockchip,system-power-controller;
351 #sound-dai-cells = <0>;
352 wakeup-source;
354 vcc1-supply = <&vcc_sys>;
355 vcc2-supply = <&vcc_sys>;
356 vcc3-supply = <&vcc_sys>;
357 vcc4-supply = <&vcc_sys>;
358 vcc5-supply = <&vcc_sys>;
359 vcc6-supply = <&vcc_sys>;
360 vcc7-supply = <&vcc_sys>;
361 vcc8-supply = <&vcc_sys>;
362 vcc9-supply = <&dcdc_boost>;
366 regulator-always-on;
367 regulator-boot-on;
368 regulator-min-microvolt = <500000>;
369 regulator-max-microvolt = <1350000>;
370 regulator-ramp-delay = <6001>;
371 regulator-initial-mode = <0x2>;
372 regulator-name = "vdd_logic";
373 regulator-state-mem {
374 regulator-on-in-suspend;
375 regulator-suspend-microvolt = <900000>;
380 regulator-always-on;
381 regulator-boot-on;
382 regulator-min-microvolt = <500000>;
383 regulator-max-microvolt = <1350000>;
384 regulator-ramp-delay = <6001>;
385 regulator-initial-mode = <0x2>;
386 regulator-name = "vdd_gpu";
387 regulator-state-mem {
388 regulator-off-in-suspend;
393 regulator-always-on;
394 regulator-boot-on;
395 regulator-initial-mode = <0x2>;
396 regulator-name = "vcc_ddr";
397 regulator-state-mem {
398 regulator-on-in-suspend;
403 regulator-always-on;
404 regulator-boot-on;
405 regulator-min-microvolt = <3300000>;
406 regulator-max-microvolt = <3300000>;
407 regulator-initial-mode = <0x2>;
408 regulator-name = "vcc_3v3";
409 regulator-state-mem {
410 regulator-off-in-suspend;
415 regulator-always-on;
416 regulator-boot-on;
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <1800000>;
419 regulator-name = "vcca1v8_pmu";
420 regulator-state-mem {
421 regulator-on-in-suspend;
422 regulator-suspend-microvolt = <1800000>;
427 regulator-always-on;
428 regulator-boot-on;
429 regulator-min-microvolt = <900000>;
430 regulator-max-microvolt = <900000>;
431 regulator-name = "vdda_0v9";
432 regulator-state-mem {
433 regulator-off-in-suspend;
438 regulator-always-on;
439 regulator-boot-on;
440 regulator-min-microvolt = <900000>;
441 regulator-max-microvolt = <900000>;
442 regulator-name = "vdda0v9_pmu";
443 regulator-state-mem {
444 regulator-on-in-suspend;
445 regulator-suspend-microvolt = <900000>;
450 regulator-always-on;
451 regulator-boot-on;
452 regulator-min-microvolt = <3300000>;
453 regulator-max-microvolt = <3300000>;
454 regulator-name = "vccio_acodec";
455 regulator-state-mem {
456 regulator-off-in-suspend;
461 regulator-always-on;
462 regulator-boot-on;
463 regulator-min-microvolt = <1800000>;
464 regulator-max-microvolt = <3300000>;
465 regulator-name = "vccio_sd";
466 regulator-state-mem {
467 regulator-off-in-suspend;
472 regulator-always-on;
473 regulator-boot-on;
474 regulator-min-microvolt = <3300000>;
475 regulator-max-microvolt = <3300000>;
476 regulator-name = "vcc3v3_pmu";
477 regulator-state-mem {
478 regulator-on-in-suspend;
479 regulator-suspend-microvolt = <3300000>;
484 regulator-always-on;
485 regulator-boot-on;
486 regulator-min-microvolt = <1800000>;
487 regulator-max-microvolt = <1800000>;
488 regulator-name = "vcc_1v8";
489 regulator-state-mem {
490 regulator-off-in-suspend;
495 regulator-always-on;
496 regulator-boot-on;
497 regulator-min-microvolt = <1800000>;
498 regulator-max-microvolt = <1800000>;
499 regulator-name = "vcc1v8_dvp";
500 regulator-state-mem {
501 regulator-off-in-suspend;
506 regulator-always-on;
507 regulator-boot-on;
508 regulator-min-microvolt = <2800000>;
509 regulator-max-microvolt = <2800000>;
510 regulator-name = "vcc2v8_dvp";
511 regulator-state-mem {
512 regulator-off-in-suspend;
516 dcdc_boost: BOOST {
517 regulator-always-on;
518 regulator-boot-on;
519 regulator-min-microvolt = <5000000>;
520 regulator-max-microvolt = <5000000>;
521 regulator-name = "boost";
522 regulator-state-mem {
523 regulator-off-in-suspend;
528 regulator-name = "otg_switch";
529 regulator-state-mem {
530 regulator-off-in-suspend;
538 * pin 3 - i2c3_sda_m0, pullup to vcc_3v3
539 * pin 5 - i2c3_scl_m0, pullup to vcc_3v3
550 pinctrl-names = "default";
551 pinctrl-0 = <&i2s1m0_sclktx
555 rockchip,trcm-sync-tx-only;
560 rgmii_phy1: ethernet-phy@0 {
561 compatible = "ethernet-phy-ieee802.3-c22";
567 pinctrl-names = "default";
568 pinctrl-0 = <&pcie_reset_h>;
569 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
570 vpcie3v3-supply = <&vcc3v3_pcie_p>;
576 bt_enable_h: bt-enable-h {
580 bt_host_wake_l: bt-host-wake-l {
584 bt_wake_l: bt-wake-l {
590 fan_en_h: fan-en-h {
596 work_led_enable_h: work-led-enable-h {
600 diy_led_enable_h: diy-led-enable-h {
606 pcie_enable_h: pcie-enable-h {
610 pcie_reset_h: pcie-reset-h {
616 pmic_int_l: pmic-int-l {
622 vcc5v0_usb20_host_en: vcc5v0-usb20-host-en {
627 sdio-pwrseq {
628 wifi_enable_h: wifi-enable-h {
634 vcc_sd_h: vcc-sd-h {
641 pmuio1-supply = <&vcc3v3_pmu>;
642 pmuio2-supply = <&vcc3v3_pmu>;
643 vccio1-supply = <&vccio_acodec>;
644 vccio2-supply = <&vcc_1v8>;
645 vccio3-supply = <&vccio_sd>;
646 vccio4-supply = <&vcc_1v8>;
647 vccio5-supply = <&vcc_3v3>;
648 vccio6-supply = <&vcc1v8_dvp>;
649 vccio7-supply = <&vcc_3v3>;
654 bus-width = <8>;
655 mmc-hs200-1_8v;
656 non-removable;
657 vmmc-supply = <&vcc_3v3>;
658 vqmmc-supply = <&vcc_1v8>;
663 bus-width = <4>;
664 cap-sd-highspeed;
665 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
666 disable-wp;
667 pinctrl-names = "default";
668 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
669 sd-uhs-sdr104;
670 vmmc-supply = <&vcc3v3_sd>;
671 vqmmc-supply = <&vccio_sd>;
676 bus-width = <4>;
677 cap-sd-highspeed;
678 cap-sdio-irq;
679 keep-power-in-suspend;
680 mmc-pwrseq = <&sdio_pwrseq>;
681 non-removable;
682 pinctrl-names = "default";
683 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
684 sd-uhs-sdr104;
685 vmmc-supply = <&vcc_wl>;
686 vqmmc-supply = <&vcc_1v8>;
691 pinctrl-0 = <&fspi_pins>;
692 pinctrl-names = "default";
693 #address-cells = <1>;
694 #size-cells = <0>;
698 compatible = "jedec,spi-nor";
700 spi-max-frequency = <24000000>;
701 spi-rx-bus-width = <4>;
702 spi-tx-bus-width = <1>;
712 * pin 11 - spi1_mosi_m1
713 * pin 13 - spi1_miso_m1
714 * pin 15 - spi1_clk_m1
715 * pin 17 - spi1_cs0_m1
718 pinctrl-names = "default";
719 pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins>;
724 rockchip,hw-tshut-mode = <1>;
726 rockchip,hw-tshut-polarity = <0>;
731 * pin 12 - uart0_tx
732 * pin 14 - uart0_rx
735 pinctrl-names = "default";
736 pinctrl-0 = <&uart0_xfer>;
741 dma-names = "tx", "rx";
742 pinctrl-names = "default";
743 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
745 uart-has-rtscts;
748 compatible = "brcm,bcm43438-bt";
750 clock-names = "lpo";
751 host-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
752 device-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
753 shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
754 pinctrl-names = "default";
755 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
756 vbat-supply = <&vcc_sys>;
757 vddio-supply = <&vcca1v8_pmu>;
758 max-speed = <3000000>;
763 * pin 8 - uart2_tx_m0_debug
764 * pin 10 - uart2_rx_m0_debug
801 phy-supply = <&vcc5v0_usb20_host>;
806 phy-supply = <&vcc5v0_usb20_otg>;
815 phy-supply = <&vcc5v0_usb20_host>;
820 phy-supply = <&vcc5v0_usb20_host>;
825 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
826 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
837 remote-endpoint = <&hdmi_in_vp0>;