Lines Matching +full:en +full:- +full:usb
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,vop2.h>
17 compatible = "embedfire,lubancat-2", "rockchip,rk3568";
27 stdout-path = "serial2:1500000n8";
31 compatible = "gpio-leds";
33 user_led: user-led {
35 linux,default-trigger = "heartbeat";
36 default-state = "on";
38 pinctrl-names = "default";
39 pinctrl-0 = <&user_led_pin>;
43 hdmi-con {
44 compatible = "hdmi-connector";
49 remote-endpoint = <&hdmi_out_con>;
54 dc_5v: dc-5v-regulator {
55 compatible = "regulator-fixed";
56 regulator-name = "dc_5v";
57 regulator-always-on;
58 regulator-boot-on;
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
63 vcc3v3_sys: vcc3v3-sys-regulator {
64 compatible = "regulator-fixed";
65 regulator-name = "vcc3v3_sys";
66 regulator-always-on;
67 regulator-boot-on;
68 regulator-min-microvolt = <3300000>;
69 regulator-max-microvolt = <3300000>;
70 vin-supply = <&vcc5v0_sys>;
73 vcc5v0_sys: vcc5v0-sys-regulator {
74 compatible = "regulator-fixed";
75 regulator-name = "vcc5v0_sys";
76 regulator-always-on;
77 regulator-boot-on;
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
80 vin-supply = <&dc_5v>;
83 vcc3v3_m2_pcie: vcc3v3-m2-pcie-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "m2_pcie_3v3";
86 enable-active-high;
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
90 pinctrl-0 = <&vcc3v3_m2_pcie_en>;
91 pinctrl-names = "default";
92 startup-delay-us = <200000>;
93 vin-supply = <&vcc5v0_sys>;
96 vcc3v3_mini_pcie: vcc3v3-mini-pcie-regulator {
97 compatible = "regulator-fixed";
98 regulator-name = "minipcie_3v3";
99 enable-active-high;
100 regulator-min-microvolt = <3300000>;
101 regulator-max-microvolt = <3300000>;
103 pinctrl-0 = <&vcc3v3_mini_pcie_en>;
104 pinctrl-names = "default";
105 startup-delay-us = <5000>;
106 vin-supply = <&vcc5v0_sys>;
109 vcc5v0_usb20_host: vcc5v0-usb20-host-regulator {
110 compatible = "regulator-fixed";
111 regulator-name = "vcc5v0_usb20_host";
112 enable-active-high;
114 pinctrl-0 = <&vcc5v0_usb20_host_en>;
115 pinctrl-names = "default";
118 vcc5v0_usb30_host: vcc5v0-usb30-host-regulator {
119 compatible = "regulator-fixed";
120 regulator-name = "vcc5v0_usb30_host";
121 enable-active-high;
123 pinctrl-0 = <&vcc5v0_usb30_host_en>;
124 pinctrl-names = "default";
127 vcc5v0_otg_vbus: vcc5v0-otg-vbus-regulator {
128 compatible = "regulator-fixed";
129 regulator-name = "vcc5v0_otg_vbus";
130 enable-active-high;
131 regulator-min-microvolt = <5000000>;
132 regulator-max-microvolt = <5000000>;
134 pinctrl-0 = <&vcc5v0_otg_vbus_en>;
135 pinctrl-names = "default";
152 cpu-supply = <&vdd_cpu>;
156 cpu-supply = <&vdd_cpu>;
160 cpu-supply = <&vdd_cpu>;
164 cpu-supply = <&vdd_cpu>;
168 mali-supply = <&vdd_gpu>;
173 avdd-0v9-supply = <&vdda0v9_image>;
174 avdd-1v8-supply = <&vcca1v8_image>;
180 remote-endpoint = <&vp0_out_hdmi>;
186 remote-endpoint = <&hdmi_con_in>;
200 fcs,suspend-voltage-selector = <1>;
201 regulator-name = "vdd_cpu";
202 regulator-always-on;
203 regulator-boot-on;
204 regulator-min-microvolt = <800000>;
205 regulator-max-microvolt = <1150000>;
206 regulator-ramp-delay = <2300>;
207 vin-supply = <&vcc5v0_sys>;
209 regulator-state-mem {
210 regulator-off-in-suspend;
217 interrupt-parent = <&gpio0>;
219 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
220 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
221 #clock-cells = <1>;
222 clock-names = "mclk";
224 pinctrl-names = "default";
225 pinctrl-0 = <&pmic_int>;
226 rockchip,system-power-controller;
227 #sound-dai-cells = <0>;
228 vcc1-supply = <&vcc3v3_sys>;
229 vcc2-supply = <&vcc3v3_sys>;
230 vcc3-supply = <&vcc3v3_sys>;
231 vcc4-supply = <&vcc3v3_sys>;
232 vcc5-supply = <&vcc3v3_sys>;
233 vcc6-supply = <&vcc3v3_sys>;
234 vcc7-supply = <&vcc3v3_sys>;
235 vcc8-supply = <&vcc3v3_sys>;
236 vcc9-supply = <&vcc3v3_sys>;
237 wakeup-source;
241 regulator-name = "vdd_logic";
242 regulator-always-on;
243 regulator-boot-on;
244 regulator-min-microvolt = <500000>;
245 regulator-max-microvolt = <1350000>;
246 regulator-ramp-delay = <6001>;
247 regulator-initial-mode = <0x2>;
249 regulator-state-mem {
250 regulator-off-in-suspend;
255 regulator-name = "vdd_gpu";
256 regulator-always-on;
257 regulator-boot-on;
258 regulator-min-microvolt = <500000>;
259 regulator-max-microvolt = <1350000>;
260 regulator-ramp-delay = <6001>;
261 regulator-initial-mode = <0x2>;
263 regulator-state-mem {
264 regulator-off-in-suspend;
269 regulator-name = "vcc_ddr";
270 regulator-always-on;
271 regulator-boot-on;
272 regulator-initial-mode = <0x2>;
274 regulator-state-mem {
275 regulator-on-in-suspend;
280 regulator-name = "vdd_npu";
281 regulator-always-on;
282 regulator-boot-on;
283 regulator-min-microvolt = <500000>;
284 regulator-max-microvolt = <1350000>;
285 regulator-ramp-delay = <6001>;
286 regulator-initial-mode = <0x2>;
288 regulator-state-mem {
289 regulator-off-in-suspend;
294 regulator-name = "vcc_1v8";
295 regulator-always-on;
296 regulator-boot-on;
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
300 regulator-state-mem {
301 regulator-off-in-suspend;
306 regulator-name = "vdda0v9_image";
307 regulator-boot-on;
308 regulator-always-on;
309 regulator-min-microvolt = <900000>;
310 regulator-max-microvolt = <900000>;
312 regulator-state-mem {
313 regulator-off-in-suspend;
318 regulator-name = "vdda_0v9";
319 regulator-always-on;
320 regulator-boot-on;
321 regulator-min-microvolt = <900000>;
322 regulator-max-microvolt = <900000>;
324 regulator-state-mem {
325 regulator-off-in-suspend;
330 regulator-name = "vdda0v9_pmu";
331 regulator-always-on;
332 regulator-boot-on;
333 regulator-min-microvolt = <900000>;
334 regulator-max-microvolt = <900000>;
336 regulator-state-mem {
337 regulator-on-in-suspend;
338 regulator-suspend-microvolt = <900000>;
343 regulator-name = "vccio_acodec";
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <3300000>;
347 regulator-max-microvolt = <3300000>;
349 regulator-state-mem {
350 regulator-off-in-suspend;
355 regulator-name = "vccio_sd";
356 regulator-always-on;
357 regulator-boot-on;
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <3300000>;
361 regulator-state-mem {
362 regulator-off-in-suspend;
367 regulator-name = "vcc3v3_pmu";
368 regulator-always-on;
369 regulator-boot-on;
370 regulator-min-microvolt = <3300000>;
371 regulator-max-microvolt = <3300000>;
373 regulator-state-mem {
374 regulator-on-in-suspend;
375 regulator-suspend-microvolt = <3300000>;
380 regulator-name = "vcca_1v8";
381 regulator-always-on;
382 regulator-boot-on;
383 regulator-min-microvolt = <1800000>;
384 regulator-max-microvolt = <1800000>;
386 regulator-state-mem {
387 regulator-off-in-suspend;
392 regulator-name = "vcca1v8_pmu";
393 regulator-always-on;
394 regulator-boot-on;
395 regulator-min-microvolt = <1800000>;
396 regulator-max-microvolt = <1800000>;
398 regulator-state-mem {
399 regulator-on-in-suspend;
400 regulator-suspend-microvolt = <1800000>;
405 regulator-name = "vcca1v8_image";
406 regulator-always-on;
407 regulator-boot-on;
408 regulator-min-microvolt = <1800000>;
409 regulator-max-microvolt = <1800000>;
411 regulator-state-mem {
412 regulator-off-in-suspend;
417 regulator-name = "vcc_3v3";
418 regulator-always-on;
419 regulator-boot-on;
421 regulator-state-mem {
422 regulator-off-in-suspend;
427 regulator-name = "vcc3v3_sd";
428 regulator-always-on;
429 regulator-boot-on;
431 regulator-state-mem {
432 regulator-off-in-suspend;
440 rockchip,trcm-sync-tx-only;
445 phy-mode = "rgmii";
448 snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
449 snps,reset-active-low;
451 snps,reset-delays-us = <0 20000 100000>;
453 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
454 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
456 pinctrl-names = "default";
457 pinctrl-0 = <&gmac0_miim
466 phy-handle = <&rgmii_phy0>;
472 compatible = "ethernet-phy-ieee802.3-c22";
478 phy-mode = "rgmii";
481 snps,reset-gpio = <&gpio3 RK_PA2 GPIO_ACTIVE_LOW>;
482 snps,reset-active-low;
484 snps,reset-delays-us = <0 20000 100000>;
486 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
487 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>;
489 pinctrl-names = "default";
490 pinctrl-0 = <&gmac1m1_miim
499 phy-handle = <&rgmii_phy1>;
505 compatible = "ethernet-phy-ieee802.3-c22";
511 mbi-ranges = <94 31>, <229 31>, <289 31>;
519 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
520 vpcie3v3-supply = <&vcc3v3_m2_pcie>;
525 reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
526 vpcie3v3-supply = <&vcc3v3_mini_pcie>;
531 pmuio2-supply = <&vcc3v3_pmu>;
532 vccio1-supply = <&vccio_acodec>;
533 vccio3-supply = <&vccio_sd>;
534 vccio4-supply = <&vcc_1v8>;
535 vccio5-supply = <&vcc_3v3>;
536 vccio6-supply = <&vcc_1v8>;
537 vccio7-supply = <&vcc_3v3>;
558 pinctrl-0 = <&spi3m1_pins>;
567 pinctrl-names = "default";
568 pinctrl-0 = <&uart3m1_xfer>;
573 vref-supply = <&vcca_1v8>;
578 rockchip,hw-tshut-mode = <1>;
579 rockchip,hw-tshut-polarity = <0>;
584 assigned-clocks = <&cru BCLK_EMMC>, <&cru TCLK_EMMC>, <&cru CCLK_EMMC>;
585 assigned-clock-rates = <200000000>, <24000000>, <200000000>;
586 bus-width = <8>;
587 max-frequency = <200000000>;
588 mmc-hs200-1_8v;
589 non-removable;
590 pinctrl-names = "default";
591 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>;
596 max-frequency = <150000000>;
597 no-sdio;
598 no-mmc;
599 bus-width = <4>;
600 cap-mmc-highspeed;
601 cap-sd-highspeed;
602 disable-wp;
603 sd-uhs-sdr104;
604 vmmc-supply = <&vcc3v3_sd>;
605 vqmmc-supply = <&vccio_sd>;
606 pinctrl-names = "default";
607 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
611 /* USB OTG/USB Host_1 USB 2.0 Comb */
617 phy-supply = <&vcc5v0_usb30_host>;
622 phy-supply = <&vcc5v0_otg_vbus>;
634 /* USB Host_2/USB Host_3 USB 2.0 Comb */
644 phy-supply = <&vcc5v0_usb20_host>;
659 phy-names = "usb2-phy";
661 maximum-speed = "high-speed";
676 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
677 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
688 remote-endpoint = <&hdmi_in_vp0>;
694 user_led_pin: user-status-led-pin {
699 usb {
700 vcc5v0_usb20_host_en: vcc5v0-usb20-host-en {
704 vcc5v0_usb30_host_en: vcc5v0-usb30-host-en {
708 vcc5v0_otg_vbus_en: vcc5v0-otg-vbus-en {
714 vcc3v3_m2_pcie_en: vcc3v3-m2-pcie-en {
718 vcc3v3_mini_pcie_en: vcc3v3-mini-pcie-en {
724 pmic_int: pmic-int {