Lines Matching +full:cru +full:- +full:bus

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";
33 fan-supply = <&vcc12v_dcin>;
35 gpio-fan,speed-map =
38 pinctrl-names = "default";
39 pinctrl-0 = <&fan_en_h>;
40 #cooling-cells = <2>;
43 hdmi-con {
44 compatible = "hdmi-connector";
49 remote-endpoint = <&hdmi_out_con>;
55 compatible = "gpio-leds";
57 led-work {
58 label = "work-led";
59 default-state = "off";
61 pinctrl-names = "default";
62 pinctrl-0 = <&work_led_enable_h>;
63 retain-state-suspended;
66 led-diy {
67 label = "diy-led";
68 default-state = "on";
70 linux,default-trigger = "heartbeat";
71 pinctrl-names = "default";
72 pinctrl-0 = <&diy_led_enable_h>;
73 retain-state-suspended;
77 rk817-sound {
78 compatible = "simple-audio-card";
79 simple-audio-card,format = "i2s";
80 simple-audio-card,name = "Analog RK817";
81 simple-audio-card,mclk-fs = <256>;
83 simple-audio-card,cpu {
84 sound-dai = <&i2s1_8ch>;
87 simple-audio-card,codec {
88 sound-dai = <&rk817>;
92 sdio_pwrseq: sdio-pwrseq {
93 compatible = "mmc-pwrseq-simple";
95 clock-names = "ext_clock";
96 pinctrl-names = "default";
97 pinctrl-0 = <&wifi_enable_h>;
98 post-power-on-delay-ms = <100>;
99 power-off-delay-us = <5000000>;
100 reset-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>;
103 spdif_dit: spdif-dit {
104 compatible = "linux,spdif-dit";
105 #sound-dai-cells = <0>;
108 spdif_sound: spdif-sound {
109 compatible = "simple-audio-card";
110 simple-audio-card,name = "SPDIF";
112 simple-audio-card,cpu {
113 sound-dai = <&spdif>;
116 simple-audio-card,codec {
117 sound-dai = <&spdif_dit>;
121 vcc12v_dcin: regulator-vcc12v-dcin {
122 compatible = "regulator-fixed";
123 regulator-name = "vcc12v_dcin";
124 regulator-always-on;
125 regulator-boot-on;
126 regulator-min-microvolt = <12000000>;
127 regulator-max-microvolt = <12000000>;
134 vbus: regulator-vbus {
135 compatible = "regulator-fixed";
136 regulator-name = "vbus";
137 regulator-always-on;
138 regulator-boot-on;
139 regulator-min-microvolt = <5000000>;
140 regulator-max-microvolt = <5000000>;
141 vin-supply = <&vcc12v_dcin>;
144 vcc3v3_pcie_p: regulator-vcc3v3-pcie-p {
145 compatible = "regulator-fixed";
146 enable-active-high;
148 pinctrl-names = "default";
149 pinctrl-0 = <&pcie_enable_h>;
150 regulator-name = "vcc3v3_pcie_p";
151 regulator-min-microvolt = <3300000>;
152 regulator-max-microvolt = <3300000>;
153 vin-supply = <&vcc_3v3>;
156 vcc5v0_usb: regulator-vcc5v0-usb {
157 compatible = "regulator-fixed";
158 regulator-name = "vcc5v0_usb";
159 regulator-always-on;
160 regulator-boot-on;
161 regulator-min-microvolt = <5000000>;
162 regulator-max-microvolt = <5000000>;
163 vin-supply = <&vcc12v_dcin>;
170 vcc5v0_usb20_host: regulator-vcc5v0-usb20-host {
171 compatible = "regulator-fixed";
172 enable-active-high;
174 pinctrl-names = "default";
175 pinctrl-0 = <&vcc5v0_usb20_host_en>;
176 regulator-name = "vcc5v0_usb20_host";
177 regulator-min-microvolt = <5000000>;
178 regulator-max-microvolt = <5000000>;
179 vin-supply = <&vcc5v0_usb>;
182 vcc5v0_usb20_otg: regulator-vcc5v0-usb20-otg {
183 compatible = "regulator-fixed";
184 enable-active-high;
186 regulator-name = "vcc5v0_usb20_otg";
187 regulator-min-microvolt = <5000000>;
188 regulator-max-microvolt = <5000000>;
189 vin-supply = <&dcdc_boost>;
192 vcc3v3_sd: regulator-vcc3v3-sd {
193 compatible = "regulator-fixed";
195 pinctrl-names = "default";
196 pinctrl-0 = <&vcc_sd_h>;
197 regulator-boot-on;
198 regulator-name = "vcc3v3_sd";
199 regulator-min-microvolt = <3300000>;
200 regulator-max-microvolt = <3300000>;
201 vin-supply = <&vcc_3v3>;
205 vcc_sys: regulator-vcc-sys {
206 compatible = "regulator-fixed";
207 regulator-name = "vcc_sys";
208 regulator-always-on;
209 regulator-boot-on;
210 regulator-min-microvolt = <4400000>;
211 regulator-max-microvolt = <4400000>;
212 vin-supply = <&vbus>;
216 vcc_wl: regulator-vcc-wl {
217 compatible = "regulator-fixed";
218 regulator-name = "vcc_wl";
219 regulator-always-on;
220 regulator-boot-on;
221 regulator-min-microvolt = <3300000>;
222 regulator-max-microvolt = <3300000>;
223 vin-supply = <&vcc_sys>;
236 cpu-supply = <&vdd_cpu>;
240 cpu-supply = <&vdd_cpu>;
244 cpu-supply = <&vdd_cpu>;
248 cpu-supply = <&vdd_cpu>;
260 cooling-maps {
263 cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
269 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>,
270 <&cru SCLK_GMAC1_RGMII_SPEED>,
271 <&cru SCLK_GMAC1>;
272 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>,
273 <&cru SCLK_GMAC1>,
276 phy-supply = <&vcc_3v3>;
277 phy-mode = "rgmii";
278 pinctrl-names = "default";
279 pinctrl-0 = <&gmac1m0_miim
285 snps,reset-gpio = <&gpio0 RK_PC3 GPIO_ACTIVE_LOW>;
286 snps,reset-active-low;
288 snps,reset-delays-us = <0 20000 100000>;
291 phy-handle = <&rgmii_phy1>;
296 mali-supply = <&vdd_gpu>;
301 avdd-0v9-supply = <&vdda_0v9>;
302 avdd-1v8-supply = <&vcc_1v8>;
308 remote-endpoint = <&vp0_out_hdmi>;
314 remote-endpoint = <&hdmi_con_in>;
328 fcs,suspend-voltage-selector = <1>;
329 regulator-name = "vdd_cpu";
330 regulator-min-microvolt = <800000>;
331 regulator-max-microvolt = <1150000>;
332 regulator-ramp-delay = <2300>;
333 regulator-always-on;
334 regulator-boot-on;
335 vin-supply = <&vcc_sys>;
337 regulator-state-mem {
338 regulator-off-in-suspend;
345 interrupt-parent = <&gpio0>;
347 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
348 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
349 clock-names = "mclk";
350 clocks = <&cru I2S1_MCLKOUT_TX>;
351 clock-output-names = "rk808-clkout1", "rk808-clkout2";
352 #clock-cells = <1>;
353 pinctrl-names = "default";
354 pinctrl-0 = <&pmic_int_l>, <&i2s1m0_mclk>;
355 system-power-controller;
356 #sound-dai-cells = <0>;
357 wakeup-source;
359 vcc1-supply = <&vcc_sys>;
360 vcc2-supply = <&vcc_sys>;
361 vcc3-supply = <&vcc_sys>;
362 vcc4-supply = <&vcc_sys>;
363 vcc5-supply = <&vcc_sys>;
364 vcc6-supply = <&vcc_sys>;
365 vcc7-supply = <&vcc_sys>;
366 vcc8-supply = <&vcc_sys>;
367 vcc9-supply = <&dcdc_boost>;
371 regulator-always-on;
372 regulator-boot-on;
373 regulator-min-microvolt = <500000>;
374 regulator-max-microvolt = <1350000>;
375 regulator-ramp-delay = <6001>;
376 regulator-initial-mode = <0x2>;
377 regulator-name = "vdd_logic";
378 regulator-state-mem {
379 regulator-on-in-suspend;
380 regulator-suspend-microvolt = <900000>;
385 regulator-always-on;
386 regulator-boot-on;
387 regulator-min-microvolt = <500000>;
388 regulator-max-microvolt = <1350000>;
389 regulator-ramp-delay = <6001>;
390 regulator-initial-mode = <0x2>;
391 regulator-name = "vdd_gpu";
392 regulator-state-mem {
393 regulator-off-in-suspend;
398 regulator-always-on;
399 regulator-boot-on;
400 regulator-initial-mode = <0x2>;
401 regulator-name = "vcc_ddr";
402 regulator-state-mem {
403 regulator-on-in-suspend;
408 regulator-always-on;
409 regulator-boot-on;
410 regulator-min-microvolt = <3300000>;
411 regulator-max-microvolt = <3300000>;
412 regulator-initial-mode = <0x2>;
413 regulator-name = "vcc_3v3";
414 regulator-state-mem {
415 regulator-off-in-suspend;
420 regulator-always-on;
421 regulator-boot-on;
422 regulator-min-microvolt = <1800000>;
423 regulator-max-microvolt = <1800000>;
424 regulator-name = "vcca1v8_pmu";
425 regulator-state-mem {
426 regulator-on-in-suspend;
427 regulator-suspend-microvolt = <1800000>;
432 regulator-always-on;
433 regulator-boot-on;
434 regulator-min-microvolt = <900000>;
435 regulator-max-microvolt = <900000>;
436 regulator-name = "vdda_0v9";
437 regulator-state-mem {
438 regulator-off-in-suspend;
443 regulator-always-on;
444 regulator-boot-on;
445 regulator-min-microvolt = <900000>;
446 regulator-max-microvolt = <900000>;
447 regulator-name = "vdda0v9_pmu";
448 regulator-state-mem {
449 regulator-on-in-suspend;
450 regulator-suspend-microvolt = <900000>;
455 regulator-always-on;
456 regulator-boot-on;
457 regulator-min-microvolt = <3300000>;
458 regulator-max-microvolt = <3300000>;
459 regulator-name = "vccio_acodec";
460 regulator-state-mem {
461 regulator-off-in-suspend;
466 regulator-always-on;
467 regulator-boot-on;
468 regulator-min-microvolt = <1800000>;
469 regulator-max-microvolt = <3300000>;
470 regulator-name = "vccio_sd";
471 regulator-state-mem {
472 regulator-off-in-suspend;
477 regulator-always-on;
478 regulator-boot-on;
479 regulator-min-microvolt = <3300000>;
480 regulator-max-microvolt = <3300000>;
481 regulator-name = "vcc3v3_pmu";
482 regulator-state-mem {
483 regulator-on-in-suspend;
484 regulator-suspend-microvolt = <3300000>;
489 regulator-always-on;
490 regulator-boot-on;
491 regulator-min-microvolt = <1800000>;
492 regulator-max-microvolt = <1800000>;
493 regulator-name = "vcc_1v8";
494 regulator-state-mem {
495 regulator-off-in-suspend;
500 regulator-always-on;
501 regulator-boot-on;
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <1800000>;
504 regulator-name = "vcc1v8_dvp";
505 regulator-state-mem {
506 regulator-off-in-suspend;
511 regulator-always-on;
512 regulator-boot-on;
513 regulator-min-microvolt = <2800000>;
514 regulator-max-microvolt = <2800000>;
515 regulator-name = "vcc2v8_dvp";
516 regulator-state-mem {
517 regulator-off-in-suspend;
522 regulator-always-on;
523 regulator-boot-on;
524 regulator-min-microvolt = <5000000>;
525 regulator-max-microvolt = <5000000>;
526 regulator-name = "boost";
527 regulator-state-mem {
528 regulator-off-in-suspend;
533 regulator-name = "otg_switch";
534 regulator-state-mem {
535 regulator-off-in-suspend;
543 * pin 3 - i2c3_sda_m0, pullup to vcc_3v3
544 * pin 5 - i2c3_scl_m0, pullup to vcc_3v3
555 pinctrl-names = "default";
556 pinctrl-0 = <&i2s1m0_sclktx
560 rockchip,trcm-sync-tx-only;
565 rgmii_phy1: ethernet-phy@0 {
566 compatible = "ethernet-phy-ieee802.3-c22";
572 pinctrl-names = "default";
573 pinctrl-0 = <&pcie_reset_h>;
574 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
575 vpcie3v3-supply = <&vcc3v3_pcie_p>;
581 bt_enable_h: bt-enable-h {
585 bt_host_wake_l: bt-host-wake-l {
589 bt_wake_l: bt-wake-l {
595 fan_en_h: fan-en-h {
601 work_led_enable_h: work-led-enable-h {
605 diy_led_enable_h: diy-led-enable-h {
611 pcie_enable_h: pcie-enable-h {
615 pcie_reset_h: pcie-reset-h {
621 pmic_int_l: pmic-int-l {
627 vcc5v0_usb20_host_en: vcc5v0-usb20-host-en {
632 sdio-pwrseq {
633 wifi_enable_h: wifi-enable-h {
639 vcc_sd_h: vcc-sd-h {
646 pmuio1-supply = <&vcc3v3_pmu>;
647 pmuio2-supply = <&vcc3v3_pmu>;
648 vccio1-supply = <&vccio_acodec>;
649 vccio2-supply = <&vcc_1v8>;
650 vccio3-supply = <&vccio_sd>;
651 vccio4-supply = <&vcc_1v8>;
652 vccio5-supply = <&vcc_3v3>;
653 vccio6-supply = <&vcc1v8_dvp>;
654 vccio7-supply = <&vcc_3v3>;
659 bus-width = <8>;
660 mmc-hs200-1_8v;
661 non-removable;
662 vmmc-supply = <&vcc_3v3>;
663 vqmmc-supply = <&vcc_1v8>;
668 bus-width = <4>;
669 cap-sd-highspeed;
670 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
671 disable-wp;
672 pinctrl-names = "default";
673 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
674 sd-uhs-sdr104;
675 vmmc-supply = <&vcc3v3_sd>;
676 vqmmc-supply = <&vccio_sd>;
681 bus-width = <4>;
682 cap-sd-highspeed;
683 cap-sdio-irq;
684 keep-power-in-suspend;
685 mmc-pwrseq = <&sdio_pwrseq>;
686 non-removable;
687 pinctrl-names = "default";
688 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
689 sd-uhs-sdr104;
690 vmmc-supply = <&vcc_wl>;
691 vqmmc-supply = <&vcc_1v8>;
696 pinctrl-0 = <&fspi_pins>;
697 pinctrl-names = "default";
698 #address-cells = <1>;
699 #size-cells = <0>;
703 compatible = "jedec,spi-nor";
705 spi-max-frequency = <24000000>;
706 spi-rx-bus-width = <4>;
707 spi-tx-bus-width = <1>;
717 * pin 11 - spi1_mosi_m1
718 * pin 13 - spi1_miso_m1
719 * pin 15 - spi1_clk_m1
720 * pin 17 - spi1_cs0_m1
723 pinctrl-names = "default";
724 pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins>;
728 /* tshut mode 0:CRU 1:GPIO */
729 rockchip,hw-tshut-mode = <1>;
731 rockchip,hw-tshut-polarity = <0>;
736 * pin 12 - uart0_tx
737 * pin 14 - uart0_rx
740 pinctrl-names = "default";
741 pinctrl-0 = <&uart0_xfer>;
746 dma-names = "tx", "rx";
747 pinctrl-names = "default";
748 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
750 uart-has-rtscts;
753 compatible = "brcm,bcm43438-bt";
755 clock-names = "lpo";
756 host-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
757 device-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
758 shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
759 pinctrl-names = "default";
760 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
761 vbat-supply = <&vcc_sys>;
762 vddio-supply = <&vcca1v8_pmu>;
763 max-speed = <3000000>;
768 * pin 8 - uart2_tx_m0_debug
769 * pin 10 - uart2_rx_m0_debug
806 phy-supply = <&vcc5v0_usb20_host>;
811 phy-supply = <&vcc5v0_usb20_otg>;
820 phy-supply = <&vcc5v0_usb20_host>;
825 phy-supply = <&vcc5v0_usb20_host>;
830 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
831 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
842 remote-endpoint = <&hdmi_in_vp0>;