Lines Matching +full:rk3568 +full:- +full:pcie
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/pinctrl/rockchip.h>
8 #include <dt-bindings/soc/rockchip,vop2.h>
9 #include "rk3568.dtsi"
13 compatible = "radxa,rock-3b", "rockchip,rk3568";
24 stdout-path = "serial2:1500000n8";
27 hdmi-con {
28 compatible = "hdmi-connector";
33 remote-endpoint = <&hdmi_out_con>;
38 ir-receiver {
39 compatible = "gpio-ir-receiver";
41 pinctrl-names = "default";
42 pinctrl-0 = <&pwm3_ir>;
46 compatible = "gpio-leds";
47 pinctrl-names = "default";
48 pinctrl-0 = <&led>;
50 led-0 {
52 default-state = "on";
55 linux,default-trigger = "heartbeat";
59 /* pi6c pcie clock generator */
60 vcc3v3_pi6c_03: regulator-3v3-vcc-pi6c-03 {
61 compatible = "regulator-fixed";
62 enable-active-high;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pcie_pwren_h>;
66 regulator-name = "vcc3v3_pi6c_03";
67 regulator-always-on;
68 regulator-boot-on;
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
71 startup-delay-us = <10000>;
72 vin-supply = <&vcc5v0_sys>;
75 vcc3v3_sys: regulator-3v3-vcc-sys {
76 compatible = "regulator-fixed";
77 regulator-name = "vcc3v3_sys";
78 regulator-always-on;
79 regulator-boot-on;
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
82 vin-supply = <&vcc5v0_sys>;
85 vcc3v3_sys2: regulator-3v3-vcc-sys2 {
86 compatible = "regulator-fixed";
87 regulator-name = "vcc3v3_sys2";
88 regulator-always-on;
89 regulator-boot-on;
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
92 vin-supply = <&vcc5v0_sys>;
95 vcc5v0_sys: regulator-5v0-vcc-sys {
96 compatible = "regulator-fixed";
97 regulator-name = "vcc5v0_sys";
98 regulator-always-on;
99 regulator-boot-on;
100 regulator-min-microvolt = <5000000>;
101 regulator-max-microvolt = <5000000>;
104 vcc5v0_usb_host: regulator-5v0-vcc-usb-host {
105 compatible = "regulator-fixed";
106 enable-active-high;
108 pinctrl-names = "default";
109 pinctrl-0 = <&usb_host_pwren_h>;
110 regulator-name = "vcc5v0_usb_host";
111 regulator-min-microvolt = <5000000>;
112 regulator-max-microvolt = <5000000>;
113 vin-supply = <&vcc5v0_sys>;
116 vcc5v0_usb_otg: regulator-5v0-vcc-usb-otg {
117 compatible = "regulator-fixed";
118 enable-active-high;
120 pinctrl-names = "default";
121 pinctrl-0 = <&usb_otg_pwren_h>;
122 regulator-name = "vcc5v0_usb_otg";
123 regulator-min-microvolt = <5000000>;
124 regulator-max-microvolt = <5000000>;
125 vin-supply = <&vcc5v0_sys>;
128 sdio_pwrseq: sdio-pwrseq {
129 compatible = "mmc-pwrseq-simple";
131 clock-names = "ext_clock";
132 pinctrl-names = "default";
133 pinctrl-0 = <&wifi_reg_on_h>;
134 post-power-on-delay-ms = <100>;
135 power-off-delay-us = <5000000>;
136 reset-gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>;
140 compatible = "simple-audio-card";
141 simple-audio-card,format = "i2s";
142 simple-audio-card,name = "Analog RK809";
143 simple-audio-card,mclk-fs = <256>;
145 simple-audio-card,cpu {
146 sound-dai = <&i2s1_8ch>;
149 simple-audio-card,codec {
150 sound-dai = <&rk809>;
168 cpu-supply = <&vdd_cpu>;
172 cpu-supply = <&vdd_cpu>;
176 cpu-supply = <&vdd_cpu>;
180 cpu-supply = <&vdd_cpu>;
184 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
185 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
187 phy-handle = <&rgmii_phy0>;
188 phy-mode = "rgmii-id";
189 phy-supply = <&vcc_3v3>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&gmac0_miim
201 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
202 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>;
204 phy-handle = <&rgmii_phy1>;
205 phy-mode = "rgmii-id";
206 phy-supply = <&vcc_3v3>;
207 pinctrl-names = "default";
208 pinctrl-0 = <&gmac1m1_miim
218 mali-supply = <&vdd_gpu>;
223 avdd-0v9-supply = <&vdda0v9_image>;
224 avdd-1v8-supply = <&vcca1v8_image>;
230 remote-endpoint = <&vp0_out_hdmi>;
236 remote-endpoint = <&hdmi_con_in>;
250 fcs,suspend-voltage-selector = <1>;
251 regulator-name = "vdd_cpu";
252 regulator-always-on;
253 regulator-boot-on;
254 regulator-min-microvolt = <800000>;
255 regulator-max-microvolt = <1150000>;
256 regulator-ramp-delay = <2300>;
257 vin-supply = <&vcc5v0_sys>;
259 regulator-state-mem {
260 regulator-off-in-suspend;
267 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
268 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
269 #clock-cells = <1>;
271 clock-names = "mclk";
272 clock-output-names = "rk809-clkout1", "rk809-clkout2";
273 interrupt-parent = <&gpio0>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&pmic_int_l>, <&i2s1m0_mclk>;
277 #sound-dai-cells = <0>;
278 system-power-controller;
279 wakeup-source;
281 vcc1-supply = <&vcc3v3_sys>;
282 vcc2-supply = <&vcc3v3_sys>;
283 vcc3-supply = <&vcc3v3_sys>;
284 vcc4-supply = <&vcc3v3_sys>;
285 vcc5-supply = <&vcc3v3_sys>;
286 vcc6-supply = <&vcc3v3_sys>;
287 vcc7-supply = <&vcc3v3_sys>;
288 vcc8-supply = <&vcc3v3_sys>;
289 vcc9-supply = <&vcc3v3_sys>;
293 regulator-name = "vdd_logic";
294 regulator-always-on;
295 regulator-boot-on;
296 regulator-initial-mode = <0x2>;
297 regulator-min-microvolt = <500000>;
298 regulator-max-microvolt = <1350000>;
299 regulator-ramp-delay = <6001>;
301 regulator-state-mem {
302 regulator-off-in-suspend;
307 regulator-name = "vdd_gpu";
308 regulator-always-on;
309 regulator-boot-on;
310 regulator-initial-mode = <0x2>;
311 regulator-min-microvolt = <500000>;
312 regulator-max-microvolt = <1350000>;
313 regulator-ramp-delay = <6001>;
315 regulator-state-mem {
316 regulator-off-in-suspend;
321 regulator-name = "vcc_ddr";
322 regulator-always-on;
323 regulator-boot-on;
324 regulator-initial-mode = <0x2>;
326 regulator-state-mem {
327 regulator-on-in-suspend;
332 regulator-name = "vdd_npu";
333 regulator-initial-mode = <0x2>;
334 regulator-min-microvolt = <500000>;
335 regulator-max-microvolt = <1350000>;
336 regulator-ramp-delay = <6001>;
338 regulator-state-mem {
339 regulator-off-in-suspend;
344 regulator-name = "vcc_1v8";
345 regulator-always-on;
346 regulator-boot-on;
347 regulator-min-microvolt = <1800000>;
348 regulator-max-microvolt = <1800000>;
350 regulator-state-mem {
351 regulator-off-in-suspend;
356 regulator-name = "vdda0v9_image";
357 regulator-min-microvolt = <900000>;
358 regulator-max-microvolt = <900000>;
360 regulator-state-mem {
361 regulator-off-in-suspend;
366 regulator-name = "vdda_0v9";
367 regulator-always-on;
368 regulator-boot-on;
369 regulator-min-microvolt = <900000>;
370 regulator-max-microvolt = <900000>;
372 regulator-state-mem {
373 regulator-off-in-suspend;
378 regulator-name = "vdda0v9_pmu";
379 regulator-always-on;
380 regulator-boot-on;
381 regulator-min-microvolt = <900000>;
382 regulator-max-microvolt = <900000>;
384 regulator-state-mem {
385 regulator-on-in-suspend;
386 regulator-suspend-microvolt = <900000>;
391 regulator-name = "vccio_acodec";
392 regulator-always-on;
393 regulator-boot-on;
394 regulator-min-microvolt = <3300000>;
395 regulator-max-microvolt = <3300000>;
397 regulator-state-mem {
398 regulator-off-in-suspend;
403 regulator-name = "vccio_sd";
404 regulator-always-on;
405 regulator-boot-on;
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <3300000>;
409 regulator-state-mem {
410 regulator-off-in-suspend;
415 regulator-name = "vcc3v3_pmu";
416 regulator-always-on;
417 regulator-boot-on;
418 regulator-min-microvolt = <3300000>;
419 regulator-max-microvolt = <3300000>;
421 regulator-state-mem {
422 regulator-on-in-suspend;
423 regulator-suspend-microvolt = <3300000>;
428 regulator-name = "vcca_1v8";
429 regulator-always-on;
430 regulator-boot-on;
431 regulator-min-microvolt = <1800000>;
432 regulator-max-microvolt = <1800000>;
434 regulator-state-mem {
435 regulator-off-in-suspend;
440 regulator-name = "vcca1v8_pmu";
441 regulator-always-on;
442 regulator-boot-on;
443 regulator-min-microvolt = <1800000>;
444 regulator-max-microvolt = <1800000>;
446 regulator-state-mem {
447 regulator-on-in-suspend;
448 regulator-suspend-microvolt = <1800000>;
453 regulator-name = "vcca1v8_image";
454 regulator-min-microvolt = <1800000>;
455 regulator-max-microvolt = <1800000>;
457 regulator-state-mem {
458 regulator-off-in-suspend;
463 regulator-name = "vcc_3v3";
464 regulator-always-on;
465 regulator-boot-on;
467 regulator-state-mem {
468 regulator-off-in-suspend;
473 regulator-name = "vcc3v3_sd";
474 regulator-always-on;
475 regulator-boot-on;
477 regulator-state-mem {
478 regulator-off-in-suspend;
491 interrupt-parent = <&gpio0>;
493 #clock-cells = <0>;
494 clock-output-names = "rtcic_32kout";
495 pinctrl-names = "default";
496 pinctrl-0 = <&rtcic_int_l>;
497 wakeup-source;
506 pinctrl-names = "default";
507 pinctrl-0 = <&i2s1m0_sclktx
511 rockchip,trcm-sync-tx-only;
516 rgmii_phy0: ethernet-phy@1 {
517 compatible = "ethernet-phy-ieee802.3-c22";
519 reset-assert-us = <20000>;
520 reset-deassert-us = <50000>;
521 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
526 rgmii_phy1: ethernet-phy@1 {
527 compatible = "ethernet-phy-ieee802.3-c22";
529 reset-assert-us = <20000>;
530 reset-deassert-us = <50000>;
531 reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&pcie20m1_pins>;
538 reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
539 vpcie3v3-supply = <&vcc3v3_sys2>;
548 pinctrl-names = "default";
549 pinctrl-0 = <&pcie30x2m1_pins>;
550 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
556 bt_reg_on_h: bt-reg-on-h {
560 bt_wake_host_h: bt-wake-host-h {
564 host_wake_bt_h: host-wake-bt-h {
569 ir-receiver {
570 pwm3_ir: pwm3-ir {
581 pcie {
582 pcie_pwren_h: pcie-pwren-h {
588 pcie20m1_pins: pcie20m1-pins {
597 pcie30x2m1_pins: pcie30x2m1-pins {
606 pmic_int_l: pmic-int-l {
612 rtcic_int_l: rtcic-int-l {
618 usb_host_pwren_h: usb-host-pwren-h {
622 usb_otg_pwren_h: usb-otg-pwren-h {
628 wifi_reg_on_h: wifi-reg-on-h {
632 wifi_wake_host_h: wifi-wake-host-h {
639 pmuio1-supply = <&vcc3v3_pmu>;
640 pmuio2-supply = <&vcc3v3_pmu>;
641 vccio1-supply = <&vccio_acodec>;
642 vccio2-supply = <&vcc_1v8>;
643 vccio3-supply = <&vccio_sd>;
644 vccio4-supply = <&vcc_1v8>;
645 vccio5-supply = <&vcc_3v3>;
646 vccio6-supply = <&vcc_1v8>;
647 vccio7-supply = <&vcc_3v3>;
652 vref-supply = <&vcca_1v8>;
657 bus-width = <8>;
658 cap-mmc-highspeed;
659 max-frequency = <200000000>;
660 mmc-hs200-1_8v;
661 non-removable;
662 pinctrl-names = "default";
663 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
664 vmmc-supply = <&vcc_3v3>;
665 vqmmc-supply = <&vcc_1v8>;
670 bus-width = <4>;
671 cap-sd-highspeed;
672 disable-wp;
673 pinctrl-names = "default";
674 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
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 = <&sdmmc2m0_bus4 &sdmmc2m0_clk &sdmmc2m0_cmd>;
689 sd-uhs-sdr104;
690 vmmc-supply = <&vcc3v3_sys2>;
691 vqmmc-supply = <&vcc_1v8>;
696 #address-cells = <1>;
697 #size-cells = <0>;
701 compatible = "jedec,spi-nor";
703 spi-max-frequency = <104000000>;
704 spi-rx-bus-width = <4>;
705 spi-tx-bus-width = <1>;
710 rockchip,hw-tshut-mode = <1>;
711 rockchip,hw-tshut-polarity = <0>;
720 pinctrl-names = "default";
721 pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn &uart8m0_rtsn>;
722 uart-has-rtscts;
748 phy-supply = <&vcc5v0_usb_host>;
753 phy-supply = <&vcc5v0_usb_otg>;
762 phy-supply = <&vcc5v0_usb_host>;
767 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
768 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
779 remote-endpoint = <&hdmi_in_vp0>;