Lines Matching +full:codec +full:- +full:sync +full:- +full:gpios
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 = "firefly,rk3566-roc-pc", "rockchip,rk3566";
22 stdout-path = "serial2:1500000n8";
25 gmac1_clkin: external-gmac1-clock {
26 compatible = "fixed-clock";
27 clock-frequency = <125000000>;
28 clock-output-names = "gmac1_clkin";
29 #clock-cells = <0>;
32 hdmi-con {
33 compatible = "hdmi-connector";
38 remote-endpoint = <&hdmi_out_con>;
44 compatible = "gpio-leds";
46 led-user {
47 label = "user-led";
48 default-state = "on";
49 gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
50 linux,default-trigger = "heartbeat";
51 pinctrl-names = "default";
52 pinctrl-0 = <&user_led_enable_h>;
53 retain-state-suspended;
57 rk809-sound {
58 compatible = "simple-audio-card";
59 simple-audio-card,format = "i2s";
60 simple-audio-card,name = "STATION-M2-FRONT";
61 simple-audio-card,mclk-fs = <256>;
64 simple-audio-card,cpu {
65 sound-dai = <&i2s1_8ch>;
68 simple-audio-card,codec {
69 sound-dai = <&rk809>;
73 sdio_pwrseq: sdio-pwrseq {
75 compatible = "mmc-pwrseq-simple";
77 clock-names = "ext_clock";
78 pinctrl-names = "default";
79 pinctrl-0 = <&wifi_enable_h>;
80 reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
83 usb_5v: usb-5v-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "usb_5v";
86 regulator-always-on;
87 regulator-boot-on;
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
92 vcc5v0_sys: vcc5v0-sys-regulator {
93 compatible = "regulator-fixed";
94 regulator-name = "vcc5v0_sys";
95 regulator-always-on;
96 regulator-boot-on;
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
99 vin-supply = <&usb_5v>;
102 vcc3v3_pcie: vcc3v3-pcie-regulator {
103 compatible = "regulator-fixed";
104 enable-active-high;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pcie_enable_h>;
108 regulator-name = "vcc3v3_pcie";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
111 vin-supply = <&vcc5v0_sys>;
114 vcc3v3_sys: vcc3v3-sys-regulator {
115 compatible = "regulator-fixed";
116 regulator-name = "vcc3v3_sys";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
119 regulator-always-on;
120 vin-supply = <&vcc5v0_sys>;
123 vcc5v0_usb30_host: vcc5v0-usb30-host-regulator {
124 compatible = "regulator-fixed";
125 regulator-name = "vcc5v0_usb30_host";
126 enable-active-high;
128 pinctrl-names = "default";
129 pinctrl-0 = <&vcc5v0_usb30_host_en_h>;
130 regulator-always-on;
131 regulator-min-microvolt = <5000000>;
132 regulator-max-microvolt = <5000000>;
133 vin-supply = <&vcc5v0_sys>;
136 vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
137 compatible = "regulator-fixed";
138 regulator-name = "vcc5v0_usb_otg";
139 enable-active-high;
141 pinctrl-names = "default";
142 pinctrl-0 = <&vcc5v0_usb_otg_en_h>;
143 regulator-always-on;
144 regulator-min-microvolt = <5000000>;
145 regulator-max-microvolt = <5000000>;
146 vin-supply = <&vcc5v0_sys>;
159 cpu-supply = <&vdd_cpu>;
163 cpu-supply = <&vdd_cpu>;
167 cpu-supply = <&vdd_cpu>;
171 cpu-supply = <&vdd_cpu>;
175 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
176 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
178 phy-mode = "rgmii";
179 phy-supply = <&vcc_3v3>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&gmac1m0_miim
187 snps,reset-gpio = <&gpio0 RK_PB7 GPIO_ACTIVE_LOW>;
188 snps,reset-active-low;
190 snps,reset-delays-us = <0 20000 100000>;
193 phy-handle = <&rgmii_phy1>;
198 mali-supply = <&vdd_gpu>;
203 avdd-0v9-supply = <&vdda0v9_image>;
204 avdd-1v8-supply = <&vcca1v8_image>;
210 remote-endpoint = <&vp0_out_hdmi>;
216 remote-endpoint = <&hdmi_con_in>;
230 fcs,suspend-voltage-selector = <1>;
231 regulator-name = "vdd_cpu";
232 regulator-min-microvolt = <800000>;
233 regulator-max-microvolt = <1150000>;
234 regulator-ramp-delay = <2300>;
235 regulator-always-on;
236 regulator-boot-on;
237 vin-supply = <&vcc5v0_sys>;
239 regulator-state-mem {
240 regulator-off-in-suspend;
247 interrupt-parent = <&gpio0>;
249 clock-output-names = "rk808-clkout1", "rk808-clkout2";
250 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
251 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
252 clock-names = "mclk";
254 pinctrl-names = "default";
255 pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>;
256 rockchip,system-power-controller;
257 wakeup-source;
258 #clock-cells = <1>;
259 #sound-dai-cells = <0>;
261 vcc1-supply = <&vcc3v3_sys>;
262 vcc2-supply = <&vcc3v3_sys>;
263 vcc3-supply = <&vcc3v3_sys>;
264 vcc4-supply = <&vcc3v3_sys>;
265 vcc5-supply = <&vcc3v3_sys>;
266 vcc6-supply = <&vcc3v3_sys>;
267 vcc7-supply = <&vcc3v3_sys>;
268 vcc8-supply = <&vcc3v3_sys>;
269 vcc9-supply = <&vcc3v3_sys>;
271 codec {
272 rockchip,mic-in-differential;
277 regulator-name = "vdd_log";
278 regulator-always-on;
279 regulator-boot-on;
280 regulator-min-microvolt = <500000>;
281 regulator-max-microvolt = <1350000>;
282 regulator-ramp-delay = <6001>;
284 regulator-state-mem {
285 regulator-on-in-suspend;
286 regulator-suspend-microvolt = <900000>;
291 regulator-name = "vdd_gpu";
292 regulator-min-microvolt = <900000>;
293 regulator-max-microvolt = <1350000>;
294 regulator-ramp-delay = <6001>;
296 regulator-state-mem {
297 regulator-off-in-suspend;
298 regulator-suspend-microvolt = <900000>;
303 regulator-name = "vcc_ddr";
304 regulator-always-on;
305 regulator-boot-on;
306 regulator-min-microvolt = <1100000>;
307 regulator-max-microvolt = <1100000>;
308 regulator-initial-mode = <0x2>;
309 regulator-state-mem {
310 regulator-on-in-suspend;
315 regulator-name = "vdd_npu";
316 regulator-min-microvolt = <900000>;
317 regulator-max-microvolt = <1350000>;
318 regulator-initial-mode = <0x2>;
319 regulator-state-mem {
320 regulator-off-in-suspend;
325 regulator-name = "vcc_1v8";
326 regulator-always-on;
327 regulator-boot-on;
328 regulator-min-microvolt = <1800000>;
329 regulator-max-microvolt = <1800000>;
331 regulator-state-mem {
332 regulator-on-in-suspend;
333 regulator-suspend-microvolt = <1800000>;
338 regulator-name = "vdda0v9_image";
339 regulator-always-on;
340 regulator-boot-on;
341 regulator-min-microvolt = <900000>;
342 regulator-max-microvolt = <900000>;
344 regulator-state-mem {
345 regulator-on-in-suspend;
346 regulator-suspend-microvolt = <900000>;
351 regulator-name = "vdda_0v9";
352 regulator-always-on;
353 regulator-boot-on;
354 regulator-min-microvolt = <900000>;
355 regulator-max-microvolt = <900000>;
357 regulator-state-mem {
358 regulator-on-in-suspend;
359 regulator-suspend-microvolt = <900000>;
364 regulator-name = "vdda0v9_pmu";
365 regulator-always-on;
366 regulator-boot-on;
367 regulator-min-microvolt = <900000>;
368 regulator-max-microvolt = <900000>;
369 regulator-state-mem {
370 regulator-on-in-suspend;
371 regulator-suspend-microvolt = <900000>;
376 regulator-name = "vccio_acodec";
377 regulator-always-on;
378 regulator-boot-on;
379 regulator-min-microvolt = <3300000>;
380 regulator-max-microvolt = <3300000>;
382 regulator-state-mem {
383 regulator-on-in-suspend;
384 regulator-suspend-microvolt = <3300000>;
390 regulator-name = "vccio_sd";
391 regulator-always-on;
392 regulator-boot-on;
393 regulator-min-microvolt = <1800000>;
394 regulator-max-microvolt = <3300000>;
396 regulator-state-mem {
397 regulator-on-in-suspend;
398 regulator-suspend-microvolt = <3300000>;
403 regulator-name = "vcc3v3_pmu";
404 regulator-always-on;
405 regulator-boot-on;
406 regulator-min-microvolt = <3300000>;
407 regulator-max-microvolt = <3300000>;
409 regulator-state-mem {
410 regulator-on-in-suspend;
411 regulator-suspend-microvolt = <3300000>;
416 regulator-name = "vcca_1v8";
417 regulator-always-on;
418 regulator-boot-on;
419 regulator-min-microvolt = <1800000>;
420 regulator-max-microvolt = <1800000>;
422 regulator-state-mem {
423 regulator-on-in-suspend;
424 regulator-suspend-microvolt = <1800000>;
429 regulator-name = "vcca1v8_pmu";
430 regulator-always-on;
431 regulator-boot-on;
432 regulator-min-microvolt = <1800000>;
433 regulator-max-microvolt = <1800000>;
435 regulator-state-mem {
436 regulator-on-in-suspend;
437 regulator-suspend-microvolt = <1800000>;
442 regulator-name = "vcca1v8_image";
443 regulator-always-on;
444 regulator-boot-on;
445 regulator-min-microvolt = <1800000>;
446 regulator-max-microvolt = <1800000>;
448 regulator-state-mem {
449 regulator-on-in-suspend;
450 regulator-suspend-microvolt = <1800000>;
455 regulator-boot-on;
456 regulator-name = "vcc3v3";
460 regulator-name = "vcc3v3_sd";
461 regulator-always-on;
462 regulator-boot-on;
477 pinctrl-names = "default";
478 pinctrl-0 = <&i2c3m0_xfer>;
487 pinctrl-0 = <&i2s1m0_sclktx &i2s1m0_sclkrx
490 rockchip,trcm-sync-tx-only;
495 rgmii_phy1: ethernet-phy@0 {
496 compatible = "ethernet-phy-ieee802.3-c22";
502 pinctrl-names = "default";
503 pinctrl-0 = <&pcie_reset_h>;
504 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
505 vpcie3v3-supply = <&vcc3v3_pcie>;
511 bt_enable_h: bt-enable-h {
515 bt_host_wake_l: bt-host-wake-l {
519 bt_wake_l: bt-wake-l {
525 user_led_enable_h: user-led-enable-h {
531 pcie_enable_h: pcie-enable-h {
535 pcie_reset_h: pcie-reset-h {
547 sdio-pwrseq {
548 wifi_enable_h: wifi-enable-h {
554 vcc5v0_usb30_host_en_h: vcc5v0-usb30-host-en_h {
558 vcc5v0_usb_otg_en_h: vcc5v0-usb-otg-en_h {
566 pmuio1-supply = <&vcc3v3_pmu>;
567 pmuio2-supply = <&vcc3v3_pmu>;
568 vccio1-supply = <&vccio_acodec>;
569 vccio2-supply = <&vcc_1v8>;
570 vccio3-supply = <&vccio_sd>;
571 vccio4-supply = <&vcc_1v8>;
572 vccio5-supply = <&vcc_3v3>;
573 vccio6-supply = <&vcc_1v8>;
574 vccio7-supply = <&vcc_3v3>;
578 bus-width = <8>;
579 mmc-hs200-1_8v;
580 non-removable;
581 vmmc-supply = <&vcc_3v3>;
582 vqmmc-supply = <&vcc_1v8>;
587 bus-width = <4>;
588 cap-sd-highspeed;
589 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
590 disable-wp;
591 pinctrl-names = "default";
592 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
593 sd-uhs-sdr104;
594 vmmc-supply = <&vcc3v3_sd>;
595 vqmmc-supply = <&vccio_sd>;
600 bus-width = <4>;
601 cap-sd-highspeed;
602 cap-sdio-irq;
603 keep-power-in-suspend;
604 mmc-pwrseq = <&sdio_pwrseq>;
605 vmmc-supply = <&vcc3v3_sys>;
606 vqmmc-supply = <&vcca1v8_pmu>;
607 pinctrl-names = "default";
608 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
617 pinctrl-names = "default";
618 pinctrl-0 = <&uart0_xfer>;
623 pinctrl-names = "default";
624 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
626 uart-has-rtscts;
629 compatible = "brcm,bcm43438-bt";
631 clock-names = "lpo";
632 device-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
633 host-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
634 shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
635 pinctrl-names = "default";
636 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
637 vbat-supply = <&vcc3v3_sys>;
638 vddio-supply = <&vcca1v8_pmu>;
647 phy-supply = <&vcc5v0_usb30_host>;
652 phy-supply = <&vcc5v0_usb_otg>;
657 phy-supply = <&vcc5v0_usb30_host>;
686 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
687 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
698 remote-endpoint = <&hdmi_in_vp0>;