Lines Matching +full:rk3568 +full:- +full:pcie
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/soc/rockchip,vop2.h>
11 #include "rk3568.dtsi"
15 compatible = "firefly,rk3568-roc-pc", "rockchip,rk3568";
25 stdout-path = "serial2:1500000n8";
28 dc_12v: dc-12v-regulator {
29 compatible = "regulator-fixed";
30 regulator-name = "dc_12v";
31 regulator-always-on;
32 regulator-boot-on;
33 regulator-min-microvolt = <12000000>;
34 regulator-max-microvolt = <12000000>;
37 gmac0_clkin: external-gmac0-clock {
38 compatible = "fixed-clock";
39 clock-frequency = <125000000>;
40 clock-output-names = "gmac0_clkin";
41 #clock-cells = <0>;
44 gmac1_clkin: external-gmac1-clock {
45 compatible = "fixed-clock";
46 clock-frequency = <125000000>;
47 clock-output-names = "gmac1_clkin";
48 #clock-cells = <0>;
52 compatible = "gpio-leds";
54 led-user {
55 label = "user-led";
56 default-state = "on";
58 linux,default-trigger = "heartbeat";
59 pinctrl-names = "default";
60 pinctrl-0 = <&user_led_enable_h>;
61 retain-state-suspended;
65 hdmi-con {
66 compatible = "hdmi-connector";
71 remote-endpoint = <&hdmi_out_con>;
76 pcie30_avdd0v9: pcie30-avdd0v9-regulator {
77 compatible = "regulator-fixed";
78 regulator-name = "pcie30_avdd0v9";
79 regulator-always-on;
80 regulator-boot-on;
81 regulator-min-microvolt = <900000>;
82 regulator-max-microvolt = <900000>;
83 vin-supply = <&vcc3v3_sys>;
86 pcie30_avdd1v8: pcie30-avdd1v8-regulator {
87 compatible = "regulator-fixed";
88 regulator-name = "pcie30_avdd1v8";
89 regulator-always-on;
90 regulator-boot-on;
91 regulator-min-microvolt = <1800000>;
92 regulator-max-microvolt = <1800000>;
93 vin-supply = <&vcc3v3_sys>;
96 vcc3v3_sys: vcc3v3-sys-regulator {
97 compatible = "regulator-fixed";
98 regulator-name = "vcc3v3_sys";
99 regulator-always-on;
100 regulator-boot-on;
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
103 vin-supply = <&dc_12v>;
106 vcc3v3_pcie: vcc3v3-pcie-regulator {
107 compatible = "regulator-fixed";
108 regulator-name = "vcc3v3_pcie";
109 enable-active-high;
110 regulator-min-microvolt = <3300000>;
111 regulator-max-microvolt = <3300000>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&vcc3v3_pcie_en_pin>;
115 startup-delay-us = <5000>;
116 vin-supply = <&vcc5v0_sys>;
119 vcc5v0_sys: vcc5v0-sys-regulator {
120 compatible = "regulator-fixed";
121 regulator-name = "vcc5v0_sys";
122 regulator-always-on;
123 regulator-boot-on;
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
126 vin-supply = <&dc_12v>;
129 vcc5v0_usb: vcc5v0-usb-regulator {
130 compatible = "regulator-fixed";
131 regulator-name = "vcc5v0_usb";
132 regulator-always-on;
133 regulator-boot-on;
134 regulator-min-microvolt = <5000000>;
135 regulator-max-microvolt = <5000000>;
136 vin-supply = <&vcc5v0_sys>;
139 vcc5v0_host: vcc5v0-host-regulator {
140 compatible = "regulator-fixed";
141 regulator-name = "vcc5v0_host";
142 enable-active-high;
144 pinctrl-names = "default";
145 pinctrl-0 = <&vcc5v0_host_en>;
146 regulator-always-on;
147 vin-supply = <&vcc5v0_usb>;
150 vcc5v0_otg: vcc5v0-otg-regulator {
151 compatible = "regulator-fixed";
152 regulator-name = "vcc5v0_otg";
153 enable-active-high;
155 pinctrl-names = "default";
156 pinctrl-0 = <&vcc5v0_otg_en>;
157 vin-supply = <&vcc5v0_usb>;
177 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
178 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&gmac0_clkin>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&gmac0_miim
187 phy-handle = <&rgmii_phy0>;
188 phy-mode = "rgmii";
189 snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
190 snps,reset-active-low;
192 snps,reset-delays-us = <0 20000 100000>;
199 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
200 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&gmac1_clkin>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&gmac1m1_miim
209 phy-handle = <&rgmii_phy1>;
210 phy-mode = "rgmii";
211 snps,reset-gpio = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>;
212 snps,reset-active-low;
214 snps,reset-delays-us = <0 20000 100000>;
221 mali-supply = <&vdd_gpu>;
226 avdd-0v9-supply = <&vdda0v9_image>;
227 avdd-1v8-supply = <&vcca1v8_image>;
233 remote-endpoint = <&vp0_out_hdmi>;
239 remote-endpoint = <&hdmi_con_in>;
253 interrupt-parent = <&gpio0>;
255 #clock-cells = <1>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&pmic_int>;
258 rockchip,system-power-controller;
259 vcc1-supply = <&vcc3v3_sys>;
260 vcc2-supply = <&vcc3v3_sys>;
261 vcc3-supply = <&vcc3v3_sys>;
262 vcc4-supply = <&vcc3v3_sys>;
263 vcc5-supply = <&vcc3v3_sys>;
264 vcc6-supply = <&vcc3v3_sys>;
265 vcc7-supply = <&vcc3v3_sys>;
266 vcc8-supply = <&vcc3v3_sys>;
267 vcc9-supply = <&vcc3v3_sys>;
268 wakeup-source;
272 regulator-name = "vdd_logic";
273 regulator-always-on;
274 regulator-boot-on;
275 regulator-initial-mode = <0x2>;
276 regulator-min-microvolt = <500000>;
277 regulator-max-microvolt = <1350000>;
278 regulator-ramp-delay = <6001>;
280 regulator-state-mem {
281 regulator-off-in-suspend;
286 regulator-name = "vdd_gpu";
287 regulator-initial-mode = <0x2>;
288 regulator-min-microvolt = <500000>;
289 regulator-max-microvolt = <1350000>;
290 regulator-ramp-delay = <6001>;
292 regulator-state-mem {
293 regulator-off-in-suspend;
298 regulator-name = "vcc_ddr";
299 regulator-always-on;
300 regulator-boot-on;
301 regulator-initial-mode = <0x2>;
303 regulator-state-mem {
304 regulator-on-in-suspend;
309 regulator-name = "vdd_npu";
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_1v8";
322 regulator-always-on;
323 regulator-boot-on;
324 regulator-min-microvolt = <1800000>;
325 regulator-max-microvolt = <1800000>;
327 regulator-state-mem {
328 regulator-off-in-suspend;
333 regulator-name = "vdda0v9_image";
334 regulator-min-microvolt = <900000>;
335 regulator-max-microvolt = <900000>;
337 regulator-state-mem {
338 regulator-off-in-suspend;
343 regulator-name = "vdda_0v9";
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <900000>;
347 regulator-max-microvolt = <900000>;
349 regulator-state-mem {
350 regulator-off-in-suspend;
355 regulator-name = "vdda0v9_pmu";
356 regulator-always-on;
357 regulator-boot-on;
358 regulator-min-microvolt = <900000>;
359 regulator-max-microvolt = <900000>;
361 regulator-state-mem {
362 regulator-on-in-suspend;
363 regulator-suspend-microvolt = <900000>;
368 regulator-name = "vccio_acodec";
369 regulator-min-microvolt = <3300000>;
370 regulator-max-microvolt = <3300000>;
372 regulator-state-mem {
373 regulator-off-in-suspend;
378 regulator-name = "vccio_sd";
379 regulator-min-microvolt = <1800000>;
380 regulator-max-microvolt = <3300000>;
382 regulator-state-mem {
383 regulator-off-in-suspend;
388 regulator-name = "vcc3v3_pmu";
389 regulator-always-on;
390 regulator-boot-on;
391 regulator-min-microvolt = <3300000>;
392 regulator-max-microvolt = <3300000>;
394 regulator-state-mem {
395 regulator-on-in-suspend;
396 regulator-suspend-microvolt = <3300000>;
401 regulator-name = "vcca_1v8";
402 regulator-always-on;
403 regulator-boot-on;
404 regulator-min-microvolt = <1800000>;
405 regulator-max-microvolt = <1800000>;
407 regulator-state-mem {
408 regulator-off-in-suspend;
413 regulator-name = "vcca1v8_pmu";
414 regulator-always-on;
415 regulator-boot-on;
416 regulator-min-microvolt = <1800000>;
417 regulator-max-microvolt = <1800000>;
419 regulator-state-mem {
420 regulator-on-in-suspend;
421 regulator-suspend-microvolt = <1800000>;
426 regulator-name = "vcca1v8_image";
427 regulator-min-microvolt = <1800000>;
428 regulator-max-microvolt = <1800000>;
430 regulator-state-mem {
431 regulator-off-in-suspend;
436 regulator-name = "vcc_3v3";
437 regulator-always-on;
438 regulator-boot-on;
440 regulator-state-mem {
441 regulator-off-in-suspend;
446 regulator-name = "vcc3v3_sd";
447 regulator-always-on;
448 regulator-boot-on;
450 regulator-state-mem {
451 regulator-off-in-suspend;
464 compatible = "ethernet-phy-ieee802.3-c22";
471 compatible = "ethernet-phy-ieee802.3-c22";
481 pinctrl-names = "default";
482 pinctrl-0 = <&pcie_reset_pin>;
483 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
484 vpcie3v3-supply = <&vcc3v3_pcie>;
490 user_led_enable_h: user-led-enable-h {
496 vcc5v0_host_en: vcc5v0-host-en {
500 vcc5v0_otg_en: vcc5v0-otg-en {
505 pcie {
506 pcie_reset_pin: pcie-reset-pin {
509 vcc3v3_pcie_en_pin: vcc3v3-pcie-en-pin {
515 pmic_int: pmic-int {
523 pmuio1-supply = <&vcc3v3_pmu>;
524 pmuio2-supply = <&vcc3v3_pmu>;
525 vccio1-supply = <&vccio_acodec>;
526 vccio2-supply = <&vcc_1v8>;
527 vccio3-supply = <&vccio_sd>;
528 vccio4-supply = <&vcc_1v8>;
529 vccio5-supply = <&vcc_3v3>;
530 vccio6-supply = <&vcc_1v8>;
531 vccio7-supply = <&vcc_3v3>;
536 vref-supply = <&vcca_1v8>;
545 bus-width = <8>;
546 max-frequency = <200000000>;
547 non-removable;
548 pinctrl-names = "default";
549 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
554 bus-width = <4>;
555 cap-sd-highspeed;
556 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
557 disable-wp;
558 pinctrl-names = "default";
559 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
560 sd-uhs-sdr104;
561 vmmc-supply = <&vcc3v3_sd>;
562 vqmmc-supply = <&vccio_sd>;
575 phy-supply = <&vcc5v0_host>;
592 phy-supply = <&vcc5v0_host>;
597 phy-supply = <&vcc5v0_host>;
628 remote-endpoint = <&hdmi_in_vp0>;
633 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
634 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;