Lines Matching +full:retain +full:- +full:state +full:- +full:shutdown
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>
11 model = "Pine64 RK3566 Quartz64-A Board";
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 = <0 0
36 pinctrl-names = "default";
37 pinctrl-0 = <&fan_en_h>;
38 #cooling-cells = <2>;
41 hdmi-con {
42 compatible = "hdmi-connector";
47 remote-endpoint = <&hdmi_out_con>;
53 compatible = "gpio-leds";
55 led-work {
56 label = "work-led";
57 default-state = "off";
59 pinctrl-names = "default";
60 pinctrl-0 = <&work_led_enable_h>;
61 retain-state-suspended;
64 led-diy {
65 label = "diy-led";
66 default-state = "on";
68 linux,default-trigger = "heartbeat";
69 pinctrl-names = "default";
70 pinctrl-0 = <&diy_led_enable_h>;
71 retain-state-suspended;
75 rk817-sound {
76 compatible = "simple-audio-card";
77 simple-audio-card,format = "i2s";
78 simple-audio-card,name = "Analog RK817";
79 simple-audio-card,mclk-fs = <256>;
81 simple-audio-card,cpu {
82 sound-dai = <&i2s1_8ch>;
85 simple-audio-card,codec {
86 sound-dai = <&rk817>;
90 sdio_pwrseq: sdio-pwrseq {
91 compatible = "mmc-pwrseq-simple";
93 clock-names = "ext_clock";
94 pinctrl-names = "default";
95 pinctrl-0 = <&wifi_enable_h>;
96 post-power-on-delay-ms = <100>;
97 power-off-delay-us = <5000000>;
98 reset-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>;
101 spdif_dit: spdif-dit {
102 compatible = "linux,spdif-dit";
103 #sound-dai-cells = <0>;
106 spdif_sound: spdif-sound {
107 compatible = "simple-audio-card";
108 simple-audio-card,name = "SPDIF";
110 simple-audio-card,cpu {
111 sound-dai = <&spdif>;
114 simple-audio-card,codec {
115 sound-dai = <&spdif_dit>;
120 compatible = "regulator-fixed";
121 regulator-name = "vcc12v_dcin";
122 regulator-always-on;
123 regulator-boot-on;
124 regulator-min-microvolt = <12000000>;
125 regulator-max-microvolt = <12000000>;
133 compatible = "regulator-fixed";
134 regulator-name = "vbus";
135 regulator-always-on;
136 regulator-boot-on;
137 regulator-min-microvolt = <5000000>;
138 regulator-max-microvolt = <5000000>;
139 vin-supply = <&vcc12v_dcin>;
142 vcc3v3_pcie_p: vcc3v3-pcie-p-regulator {
143 compatible = "regulator-fixed";
144 enable-active-high;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pcie_enable_h>;
148 regulator-name = "vcc3v3_pcie_p";
149 regulator-min-microvolt = <3300000>;
150 regulator-max-microvolt = <3300000>;
151 vin-supply = <&vcc_3v3>;
155 compatible = "regulator-fixed";
156 regulator-name = "vcc5v0_usb";
157 regulator-always-on;
158 regulator-boot-on;
159 regulator-min-microvolt = <5000000>;
160 regulator-max-microvolt = <5000000>;
161 vin-supply = <&vcc12v_dcin>;
169 compatible = "regulator-fixed";
170 enable-active-high;
172 pinctrl-names = "default";
173 pinctrl-0 = <&vcc5v0_usb20_host_en>;
174 regulator-name = "vcc5v0_usb20_host";
175 regulator-min-microvolt = <5000000>;
176 regulator-max-microvolt = <5000000>;
177 vin-supply = <&vcc5v0_usb>;
181 compatible = "regulator-fixed";
182 enable-active-high;
184 regulator-name = "vcc5v0_usb20_otg";
185 regulator-min-microvolt = <5000000>;
186 regulator-max-microvolt = <5000000>;
187 vin-supply = <&dcdc_boost>;
191 compatible = "regulator-fixed";
193 pinctrl-names = "default";
194 pinctrl-0 = <&vcc_sd_h>;
195 regulator-boot-on;
196 regulator-name = "vcc3v3_sd";
197 regulator-min-microvolt = <3300000>;
198 regulator-max-microvolt = <3300000>;
199 vin-supply = <&vcc_3v3>;
204 compatible = "regulator-fixed";
205 regulator-name = "vcc_sys";
206 regulator-always-on;
207 regulator-boot-on;
208 regulator-min-microvolt = <4400000>;
209 regulator-max-microvolt = <4400000>;
210 vin-supply = <&vbus>;
215 compatible = "regulator-fixed";
216 regulator-name = "vcc_wl";
217 regulator-always-on;
218 regulator-boot-on;
219 regulator-min-microvolt = <3300000>;
220 regulator-max-microvolt = <3300000>;
221 vin-supply = <&vcc_sys>;
234 cpu-supply = <&vdd_cpu>;
238 cpu-supply = <&vdd_cpu>;
242 cpu-supply = <&vdd_cpu>;
246 cpu-supply = <&vdd_cpu>;
258 cooling-maps {
261 cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
267 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
268 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
270 phy-supply = <&vcc_3v3>;
271 phy-mode = "rgmii";
272 pinctrl-names = "default";
273 pinctrl-0 = <&gmac1m0_miim
279 snps,reset-gpio = <&gpio0 RK_PC3 GPIO_ACTIVE_LOW>;
280 snps,reset-active-low;
282 snps,reset-delays-us = <0 20000 100000>;
285 phy-handle = <&rgmii_phy1>;
290 mali-supply = <&vdd_gpu>;
295 avdd-0v9-supply = <&vdda_0v9>;
296 avdd-1v8-supply = <&vcc_1v8>;
302 remote-endpoint = <&vp0_out_hdmi>;
308 remote-endpoint = <&hdmi_con_in>;
322 fcs,suspend-voltage-selector = <1>;
323 regulator-name = "vdd_cpu";
324 regulator-min-microvolt = <800000>;
325 regulator-max-microvolt = <1150000>;
326 regulator-ramp-delay = <2300>;
327 regulator-always-on;
328 regulator-boot-on;
329 vin-supply = <&vcc_sys>;
331 regulator-state-mem {
332 regulator-off-in-suspend;
339 interrupt-parent = <&gpio0>;
341 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
342 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
343 clock-names = "mclk";
345 clock-output-names = "rk808-clkout1", "rk808-clkout2";
346 #clock-cells = <1>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&pmic_int_l>, <&i2s1m0_mclk>;
349 rockchip,system-power-controller;
350 #sound-dai-cells = <0>;
351 wakeup-source;
353 vcc1-supply = <&vcc_sys>;
354 vcc2-supply = <&vcc_sys>;
355 vcc3-supply = <&vcc_sys>;
356 vcc4-supply = <&vcc_sys>;
357 vcc5-supply = <&vcc_sys>;
358 vcc6-supply = <&vcc_sys>;
359 vcc7-supply = <&vcc_sys>;
360 vcc8-supply = <&vcc_sys>;
361 vcc9-supply = <&dcdc_boost>;
365 regulator-always-on;
366 regulator-boot-on;
367 regulator-min-microvolt = <500000>;
368 regulator-max-microvolt = <1350000>;
369 regulator-init-microvolt = <900000>;
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-init-microvolt = <900000>;
385 regulator-ramp-delay = <6001>;
386 regulator-initial-mode = <0x2>;
387 regulator-name = "vdd_gpu";
388 regulator-state-mem {
389 regulator-off-in-suspend;
394 regulator-always-on;
395 regulator-boot-on;
396 regulator-initial-mode = <0x2>;
397 regulator-name = "vcc_ddr";
398 regulator-state-mem {
399 regulator-on-in-suspend;
404 regulator-always-on;
405 regulator-boot-on;
406 regulator-min-microvolt = <3300000>;
407 regulator-max-microvolt = <3300000>;
408 regulator-initial-mode = <0x2>;
409 regulator-name = "vcc_3v3";
410 regulator-state-mem {
411 regulator-off-in-suspend;
416 regulator-always-on;
417 regulator-boot-on;
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
420 regulator-name = "vcca1v8_pmu";
421 regulator-state-mem {
422 regulator-on-in-suspend;
423 regulator-suspend-microvolt = <1800000>;
428 regulator-always-on;
429 regulator-boot-on;
430 regulator-min-microvolt = <900000>;
431 regulator-max-microvolt = <900000>;
432 regulator-name = "vdda_0v9";
433 regulator-state-mem {
434 regulator-off-in-suspend;
439 regulator-always-on;
440 regulator-boot-on;
441 regulator-min-microvolt = <900000>;
442 regulator-max-microvolt = <900000>;
443 regulator-name = "vdda0v9_pmu";
444 regulator-state-mem {
445 regulator-on-in-suspend;
446 regulator-suspend-microvolt = <900000>;
451 regulator-always-on;
452 regulator-boot-on;
453 regulator-min-microvolt = <3300000>;
454 regulator-max-microvolt = <3300000>;
455 regulator-name = "vccio_acodec";
456 regulator-state-mem {
457 regulator-off-in-suspend;
462 regulator-always-on;
463 regulator-boot-on;
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <3300000>;
466 regulator-name = "vccio_sd";
467 regulator-state-mem {
468 regulator-off-in-suspend;
473 regulator-always-on;
474 regulator-boot-on;
475 regulator-min-microvolt = <3300000>;
476 regulator-max-microvolt = <3300000>;
477 regulator-name = "vcc3v3_pmu";
478 regulator-state-mem {
479 regulator-on-in-suspend;
480 regulator-suspend-microvolt = <3300000>;
485 regulator-always-on;
486 regulator-boot-on;
487 regulator-min-microvolt = <1800000>;
488 regulator-max-microvolt = <1800000>;
489 regulator-name = "vcc_1v8";
490 regulator-state-mem {
491 regulator-off-in-suspend;
496 regulator-always-on;
497 regulator-boot-on;
498 regulator-min-microvolt = <1800000>;
499 regulator-max-microvolt = <1800000>;
500 regulator-name = "vcc1v8_dvp";
501 regulator-state-mem {
502 regulator-off-in-suspend;
507 regulator-always-on;
508 regulator-boot-on;
509 regulator-min-microvolt = <2800000>;
510 regulator-max-microvolt = <2800000>;
511 regulator-name = "vcc2v8_dvp";
512 regulator-state-mem {
513 regulator-off-in-suspend;
518 regulator-always-on;
519 regulator-boot-on;
520 regulator-min-microvolt = <5000000>;
521 regulator-max-microvolt = <5000000>;
522 regulator-name = "boost";
523 regulator-state-mem {
524 regulator-off-in-suspend;
529 regulator-name = "otg_switch";
530 regulator-state-mem {
531 regulator-off-in-suspend;
539 * pin 3 - i2c3_sda_m0, pullup to vcc_3v3
540 * pin 5 - i2c3_scl_m0, pullup to vcc_3v3
551 pinctrl-names = "default";
552 pinctrl-0 = <&i2s1m0_sclktx
556 rockchip,trcm-sync-tx-only;
561 rgmii_phy1: ethernet-phy@0 {
562 compatible = "ethernet-phy-ieee802.3-c22";
568 pinctrl-names = "default";
569 pinctrl-0 = <&pcie_reset_h>;
570 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
571 vpcie3v3-supply = <&vcc3v3_pcie_p>;
577 bt_enable_h: bt-enable-h {
581 bt_host_wake_l: bt-host-wake-l {
585 bt_wake_l: bt-wake-l {
591 fan_en_h: fan-en-h {
597 work_led_enable_h: work-led-enable-h {
601 diy_led_enable_h: diy-led-enable-h {
607 pcie_enable_h: pcie-enable-h {
611 pcie_reset_h: pcie-reset-h {
617 pmic_int_l: pmic-int-l {
623 vcc5v0_usb20_host_en: vcc5v0-usb20-host-en {
628 sdio-pwrseq {
629 wifi_enable_h: wifi-enable-h {
635 vcc_sd_h: vcc-sd-h {
642 pmuio1-supply = <&vcc3v3_pmu>;
643 pmuio2-supply = <&vcc3v3_pmu>;
644 vccio1-supply = <&vccio_acodec>;
645 vccio2-supply = <&vcc_1v8>;
646 vccio3-supply = <&vccio_sd>;
647 vccio4-supply = <&vcc_1v8>;
648 vccio5-supply = <&vcc_3v3>;
649 vccio6-supply = <&vcc1v8_dvp>;
650 vccio7-supply = <&vcc_3v3>;
655 bus-width = <8>;
656 mmc-hs200-1_8v;
657 non-removable;
658 vmmc-supply = <&vcc_3v3>;
659 vqmmc-supply = <&vcc_1v8>;
664 bus-width = <4>;
665 cap-sd-highspeed;
666 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
667 disable-wp;
668 pinctrl-names = "default";
669 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
670 sd-uhs-sdr104;
671 vmmc-supply = <&vcc3v3_sd>;
672 vqmmc-supply = <&vccio_sd>;
677 bus-width = <4>;
678 cap-sd-highspeed;
679 cap-sdio-irq;
680 keep-power-in-suspend;
681 mmc-pwrseq = <&sdio_pwrseq>;
682 non-removable;
683 pinctrl-names = "default";
684 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
685 sd-uhs-sdr104;
686 vmmc-supply = <&vcc_wl>;
687 vqmmc-supply = <&vcc_1v8>;
692 pinctrl-0 = <&fspi_pins>;
693 pinctrl-names = "default";
694 #address-cells = <1>;
695 #size-cells = <0>;
699 compatible = "jedec,spi-nor";
701 spi-max-frequency = <24000000>;
702 spi-rx-bus-width = <4>;
703 spi-tx-bus-width = <1>;
713 * pin 11 - spi1_mosi_m1
714 * pin 13 - spi1_miso_m1
715 * pin 15 - spi1_clk_m1
716 * pin 17 - spi1_cs0_m1
719 pinctrl-names = "default";
720 pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins>;
725 rockchip,hw-tshut-mode = <1>;
727 rockchip,hw-tshut-polarity = <0>;
732 * pin 12 - uart0_tx
733 * pin 14 - uart0_rx
736 pinctrl-names = "default";
737 pinctrl-0 = <&uart0_xfer>;
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>;