Lines Matching +full:op +full:- +full:sink +full:- +full:microwatt

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/usb/pd.h>
11 #include "rk3399-opp.dtsi"
14 model = "Firefly-RK3399 Board";
15 compatible = "firefly,firefly-rk3399", "rockchip,rk3399";
24 stdout-path = "serial2:1500000n8";
28 compatible = "pwm-backlight";
29 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
31 brightness-levels = <
64 default-brightness-level = <200>;
67 clkin_gmac: external-gmac-clock {
68 compatible = "fixed-clock";
69 clock-frequency = <125000000>;
70 clock-output-names = "clkin_gmac";
71 #clock-cells = <0>;
74 dc_12v: dc-12v {
75 compatible = "regulator-fixed";
76 regulator-name = "dc_12v";
77 regulator-always-on;
78 regulator-boot-on;
79 regulator-min-microvolt = <12000000>;
80 regulator-max-microvolt = <12000000>;
83 gpio-keys {
84 compatible = "gpio-keys";
86 pinctrl-names = "default";
87 pinctrl-0 = <&pwrbtn>;
90 debounce-interval = <100>;
94 wakeup-source;
98 ir-receiver {
99 compatible = "gpio-ir-receiver";
101 pinctrl-0 = <&ir_int>;
102 pinctrl-names = "default";
106 compatible = "gpio-leds";
107 pinctrl-names = "default";
108 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
110 work_led: led-0 {
112 default-state = "on";
116 diy_led: led-1 {
118 default-state = "off";
123 rt5640-sound {
124 compatible = "simple-audio-card";
125 simple-audio-card,name = "rockchip,rt5640-codec";
126 simple-audio-card,format = "i2s";
127 simple-audio-card,mclk-fs = <256>;
128 simple-audio-card,widgets =
131 simple-audio-card,routing =
137 simple-audio-card,cpu {
138 sound-dai = <&i2s1>;
141 simple-audio-card,codec {
142 sound-dai = <&rt5640>;
146 sdio_pwrseq: sdio-pwrseq {
147 compatible = "mmc-pwrseq-simple";
149 clock-names = "ext_clock";
150 pinctrl-names = "default";
151 pinctrl-0 = <&wifi_enable_h>;
156 * - SDIO_RESET_L_WL_REG_ON
157 * - PDN (power down when low)
159 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
162 sound-dit {
163 compatible = "audio-graph-card";
168 spdif-dit {
169 compatible = "linux,spdif-dit";
170 #sound-dai-cells = <0>;
174 remote-endpoint = <&spdif_p0_0>;
180 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
181 compatible = "regulator-fixed";
182 regulator-name = "vcc1v8_s3";
183 regulator-always-on;
184 regulator-boot-on;
185 regulator-min-microvolt = <1800000>;
186 regulator-max-microvolt = <1800000>;
187 vin-supply = <&vcc_1v8>;
190 vcc3v3_pcie: vcc3v3-pcie-regulator {
191 compatible = "regulator-fixed";
192 enable-active-high;
194 pinctrl-names = "default";
195 pinctrl-0 = <&pcie_pwr_en>;
196 regulator-name = "vcc3v3_pcie";
197 regulator-always-on;
198 regulator-boot-on;
199 vin-supply = <&dc_12v>;
202 vcc3v3_sys: vcc3v3-sys {
203 compatible = "regulator-fixed";
204 regulator-name = "vcc3v3_sys";
205 regulator-always-on;
206 regulator-boot-on;
207 regulator-min-microvolt = <3300000>;
208 regulator-max-microvolt = <3300000>;
209 vin-supply = <&vcc_sys>;
213 vcc5v0_host: vcc5v0-host-regulator {
214 compatible = "regulator-fixed";
215 enable-active-high;
217 pinctrl-names = "default";
218 pinctrl-0 = <&vcc5v0_host_en>;
219 regulator-name = "vcc5v0_host";
220 regulator-always-on;
221 vin-supply = <&vcc_sys>;
224 vcc5v0_typec: vcc5v0-typec-regulator {
225 compatible = "regulator-fixed";
226 enable-active-high;
228 pinctrl-names = "default";
229 pinctrl-0 = <&vcc5v0_typec_en>;
230 regulator-name = "vcc5v0_typec";
231 regulator-always-on;
232 vin-supply = <&vcc_sys>;
235 vcc_sys: vcc-sys {
236 compatible = "regulator-fixed";
237 regulator-name = "vcc_sys";
238 regulator-always-on;
239 regulator-boot-on;
240 regulator-min-microvolt = <5000000>;
241 regulator-max-microvolt = <5000000>;
242 vin-supply = <&dc_12v>;
245 vdd_log: vdd-log {
246 compatible = "pwm-regulator";
248 regulator-name = "vdd_log";
249 regulator-always-on;
250 regulator-boot-on;
251 regulator-min-microvolt = <430000>;
252 regulator-max-microvolt = <1400000>;
253 vin-supply = <&vcc_sys>;
258 cpu-supply = <&vdd_cpu_l>;
262 cpu-supply = <&vdd_cpu_l>;
266 cpu-supply = <&vdd_cpu_l>;
270 cpu-supply = <&vdd_cpu_l>;
274 cpu-supply = <&vdd_cpu_b>;
278 cpu-supply = <&vdd_cpu_b>;
286 assigned-clocks = <&cru SCLK_RMII_SRC>;
287 assigned-clock-parents = <&clkin_gmac>;
289 phy-supply = <&vcc_lan>;
290 phy-mode = "rgmii";
291 pinctrl-names = "default";
292 pinctrl-0 = <&rgmii_pins>;
293 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
294 snps,reset-active-low;
295 snps,reset-delays-us = <0 10000 50000>;
302 ddc-i2c-bus = <&i2c3>;
303 pinctrl-names = "default";
304 pinctrl-0 = <&hdmi_cec>;
309 clock-frequency = <400000>;
310 i2c-scl-rising-time-ns = <168>;
311 i2c-scl-falling-time-ns = <4>;
317 interrupt-parent = <&gpio1>;
319 #clock-cells = <1>;
320 clock-output-names = "xin32k", "rk808-clkout2";
321 pinctrl-names = "default";
322 pinctrl-0 = <&pmic_int_l>;
323 rockchip,system-power-controller;
324 wakeup-source;
326 vcc1-supply = <&vcc_sys>;
327 vcc2-supply = <&vcc_sys>;
328 vcc3-supply = <&vcc_sys>;
329 vcc4-supply = <&vcc_sys>;
330 vcc6-supply = <&vcc_sys>;
331 vcc7-supply = <&vcc_sys>;
332 vcc8-supply = <&vcc3v3_sys>;
333 vcc9-supply = <&vcc_sys>;
334 vcc10-supply = <&vcc_sys>;
335 vcc11-supply = <&vcc_sys>;
336 vcc12-supply = <&vcc3v3_sys>;
337 vddio-supply = <&vcc1v8_pmu>;
341 regulator-name = "vdd_center";
342 regulator-always-on;
343 regulator-boot-on;
344 regulator-min-microvolt = <750000>;
345 regulator-max-microvolt = <1350000>;
346 regulator-ramp-delay = <6001>;
347 regulator-state-mem {
348 regulator-off-in-suspend;
353 regulator-name = "vdd_cpu_l";
354 regulator-always-on;
355 regulator-boot-on;
356 regulator-min-microvolt = <750000>;
357 regulator-max-microvolt = <1350000>;
358 regulator-ramp-delay = <6001>;
359 regulator-state-mem {
360 regulator-off-in-suspend;
365 regulator-name = "vcc_ddr";
366 regulator-always-on;
367 regulator-boot-on;
368 regulator-state-mem {
369 regulator-on-in-suspend;
374 regulator-name = "vcc_1v8";
375 regulator-always-on;
376 regulator-boot-on;
377 regulator-min-microvolt = <1800000>;
378 regulator-max-microvolt = <1800000>;
379 regulator-state-mem {
380 regulator-on-in-suspend;
381 regulator-suspend-microvolt = <1800000>;
386 regulator-name = "vcc1v8_dvp";
387 regulator-always-on;
388 regulator-boot-on;
389 regulator-min-microvolt = <1800000>;
390 regulator-max-microvolt = <1800000>;
391 regulator-state-mem {
392 regulator-off-in-suspend;
397 regulator-name = "vcc2v8_dvp";
398 regulator-always-on;
399 regulator-boot-on;
400 regulator-min-microvolt = <2800000>;
401 regulator-max-microvolt = <2800000>;
402 regulator-state-mem {
403 regulator-off-in-suspend;
408 regulator-name = "vcc1v8_pmu";
409 regulator-always-on;
410 regulator-boot-on;
411 regulator-min-microvolt = <1800000>;
412 regulator-max-microvolt = <1800000>;
413 regulator-state-mem {
414 regulator-on-in-suspend;
415 regulator-suspend-microvolt = <1800000>;
420 regulator-name = "vcc_sdio";
421 regulator-always-on;
422 regulator-boot-on;
423 regulator-min-microvolt = <1800000>;
424 regulator-max-microvolt = <3000000>;
425 regulator-state-mem {
426 regulator-on-in-suspend;
427 regulator-suspend-microvolt = <3000000>;
432 regulator-name = "vcca3v0_codec";
433 regulator-always-on;
434 regulator-boot-on;
435 regulator-min-microvolt = <3000000>;
436 regulator-max-microvolt = <3000000>;
437 regulator-state-mem {
438 regulator-off-in-suspend;
443 regulator-name = "vcc_1v5";
444 regulator-always-on;
445 regulator-boot-on;
446 regulator-min-microvolt = <1500000>;
447 regulator-max-microvolt = <1500000>;
448 regulator-state-mem {
449 regulator-on-in-suspend;
450 regulator-suspend-microvolt = <1500000>;
455 regulator-name = "vcca1v8_codec";
456 regulator-always-on;
457 regulator-boot-on;
458 regulator-min-microvolt = <1800000>;
459 regulator-max-microvolt = <1800000>;
460 regulator-state-mem {
461 regulator-off-in-suspend;
466 regulator-name = "vcc_3v0";
467 regulator-always-on;
468 regulator-boot-on;
469 regulator-min-microvolt = <3000000>;
470 regulator-max-microvolt = <3000000>;
471 regulator-state-mem {
472 regulator-on-in-suspend;
473 regulator-suspend-microvolt = <3000000>;
478 regulator-name = "vcc3v3_s3";
479 regulator-always-on;
480 regulator-boot-on;
481 regulator-state-mem {
482 regulator-off-in-suspend;
487 regulator-name = "vcc3v3_s0";
488 regulator-always-on;
489 regulator-boot-on;
490 regulator-state-mem {
491 regulator-off-in-suspend;
500 fcs,suspend-voltage-selector = <0>;
501 regulator-name = "vdd_cpu_b";
502 regulator-min-microvolt = <712500>;
503 regulator-max-microvolt = <1500000>;
504 regulator-ramp-delay = <1000>;
505 regulator-always-on;
506 regulator-boot-on;
507 vin-supply = <&vcc_sys>;
509 regulator-state-mem {
510 regulator-off-in-suspend;
517 fcs,suspend-voltage-selector = <1>;
518 regulator-name = "vdd_gpu";
519 regulator-min-microvolt = <712500>;
520 regulator-max-microvolt = <1500000>;
521 regulator-ramp-delay = <1000>;
522 regulator-always-on;
523 regulator-boot-on;
524 vin-supply = <&vcc_sys>;
526 regulator-state-mem {
527 regulator-off-in-suspend;
533 i2c-scl-rising-time-ns = <300>;
534 i2c-scl-falling-time-ns = <15>;
541 clock-names = "mclk";
542 realtek,in1-differential;
543 #sound-dai-cells = <0>;
544 pinctrl-names = "default";
545 pinctrl-0 = <&rt5640_hpcon>;
550 i2c-scl-rising-time-ns = <450>;
551 i2c-scl-falling-time-ns = <15>;
556 i2c-scl-rising-time-ns = <600>;
557 i2c-scl-falling-time-ns = <20>;
560 fusb0: typec-portc@22 {
563 interrupt-parent = <&gpio1>;
565 pinctrl-names = "default";
566 pinctrl-0 = <&fusb0_int>;
567 vbus-supply = <&vcc5v0_typec>;
571 compatible = "usb-c-connector";
572 data-role = "host";
573 label = "USB-C";
574 op-sink-microwatt = <1000000>;
575 power-role = "dual";
576 sink-pdos =
578 source-pdos =
580 try-power-role = "sink";
583 #address-cells = <1>;
584 #size-cells = <0>;
590 remote-endpoint =
599 remote-endpoint =
610 interrupt-parent = <&gpio1>;
616 rockchip,playback-channels = <8>;
617 rockchip,capture-channels = <8>;
622 rockchip,playback-channels = <2>;
623 rockchip,capture-channels = <2>;
634 bt656-supply = <&vcc1v8_dvp>;
635 audio-supply = <&vcca1v8_codec>;
636 sdmmc-supply = <&vcc_sdio>;
637 gpio1830-supply = <&vcc_3v0>;
645 ep-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
646 num-lanes = <4>;
647 pinctrl-names = "default";
648 pinctrl-0 = <&pcie_clkreqn_cpm>;
653 pmu1830-supply = <&vcc_3v0>;
665 fusb0_int: fusb0-int {
671 ir_int: ir-int {
676 lcd-panel {
677 lcd_panel_reset: lcd-panel-reset {
683 work_led_pin: work-led-pin {
687 diy_led_pin: diy-led-pin {
693 pcie_pwr_en: pcie-pwr-en {
697 pcie_3g_drv: pcie-3g-drv {
703 pmic_int_l: pmic-int-l {
707 vsel1_pin: vsel1-pin {
711 vsel2_pin: vsel2-pin {
717 rt5640_hpcon: rt5640-hpcon {
722 sdio-pwrseq {
723 wifi_enable_h: wifi-enable-h {
728 usb-typec {
735 vcc5v0_host_en: vcc5v0-host-en {
741 wifi_host_wake_l: wifi-host-wake-l {
756 vref-supply = <&vcca1v8_s3>;
762 bus-width = <4>;
763 cap-sdio-irq;
764 cap-sd-highspeed;
765 keep-power-in-suspend;
766 mmc-pwrseq = <&sdio_pwrseq>;
767 non-removable;
768 pinctrl-names = "default";
769 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
770 sd-uhs-sdr104;
773 vqmmc-supply = &vcc1v8_s3; /* IO line */
774 vmmc-supply = &vcc_sdio; /* card's power */
776 #address-cells = <1>;
777 #size-cells = <0>;
782 compatible = "brcm,bcm4329-fmac";
783 interrupt-parent = <&gpio0>;
785 interrupt-names = "host-wake";
786 brcm,drive-strength = <5>;
787 pinctrl-names = "default";
788 pinctrl-0 = <&wifi_host_wake_l>;
793 bus-width = <4>;
794 cap-mmc-highspeed;
795 cap-sd-highspeed;
796 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
797 disable-wp;
798 max-frequency = <150000000>;
799 pinctrl-names = "default";
800 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
805 bus-width = <8>;
806 mmc-hs400-1_8v;
807 mmc-hs400-enhanced-strobe;
808 non-removable;
813 pinctrl-0 = <&spdif_bus_1>;
818 remote-endpoint = <&dit_p0_0>;
830 remote-endpoint = <&usbc_ss>;
841 rockchip,hw-tshut-mode = <1>;
843 rockchip,hw-tshut-polarity = <1>;
850 u2phy0_otg: otg-port {
854 u2phy0_host: host-port {
855 phy-supply = <&vcc5v0_host>;
861 remote-endpoint = <&usbc_hs>;
869 u2phy1_otg: otg-port {
873 u2phy1_host: host-port {
874 phy-supply = <&vcc5v0_host>;
880 pinctrl-names = "default";
881 pinctrl-0 = <&uart0_xfer &uart0_cts>;