Lines Matching +full:fan +full:- +full:supply

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
10 #include "rk3399-opp.dtsi"
21 stdout-path = "serial2:1500000n8";
26 compatible = "pwm-backlight";
27 brightness-levels = <0 4 8 16 32 64 128 255>;
28 default-brightness-level = <5>;
33 clkin_gmac: external-gmac-clock {
34 compatible = "fixed-clock";
35 clock-frequency = <125000000>;
36 clock-output-names = "clkin_gmac";
37 #clock-cells = <0>;
40 gpio-keys {
41 compatible = "gpio-keys";
43 pinctrl-names = "default";
44 pinctrl-0 = <&pwrbtn>;
46 key-power {
47 debounce-interval = <100>;
51 wakeup-source;
55 ir-receiver {
56 compatible = "gpio-ir-receiver";
58 pinctrl-0 = <&ir_int>;
59 pinctrl-names = "default";
63 compatible = "gpio-leds";
64 pinctrl-names = "default";
65 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
67 work_led: led-0 {
69 default-state = "on";
73 diy_led: led-1 {
75 default-state = "off";
80 fan: pwm-fan {
81 compatible = "pwm-fan";
82 cooling-levels = <0 100 150 200 255>;
83 #cooling-cells = <2>;
84 fan-supply = <&vcc12v_dcin>;
88 sdio_pwrseq: sdio-pwrseq {
89 compatible = "mmc-pwrseq-simple";
91 clock-names = "ext_clock";
92 pinctrl-names = "default";
93 pinctrl-0 = <&wifi_enable_h>;
94 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
98 compatible = "audio-graph-card";
103 sound-dit {
104 compatible = "audio-graph-card";
109 spdif-dit {
110 compatible = "linux,spdif-dit";
111 #sound-dai-cells = <0>;
115 remote-endpoint = <&spdif_p0_0>;
120 avdd: avdd-regulator {
121 compatible = "regulator-fixed";
122 regulator-name = "avdd";
123 regulator-min-microvolt = <11000000>;
124 regulator-max-microvolt = <11000000>;
125 vin-supply = <&vcc3v3_s0>;
128 vcc12v_dcin: vcc12v-dcin {
129 compatible = "regulator-fixed";
130 regulator-name = "vcc12v_dcin";
131 regulator-always-on;
132 regulator-boot-on;
133 regulator-min-microvolt = <12000000>;
134 regulator-max-microvolt = <12000000>;
138 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
139 compatible = "regulator-fixed";
140 regulator-name = "vcc1v8_s3";
141 regulator-always-on;
142 regulator-boot-on;
143 regulator-min-microvolt = <1800000>;
144 regulator-max-microvolt = <1800000>;
145 vin-supply = <&vcc_1v8>;
149 vcc3v0_sd: vcc3v0-sd {
150 compatible = "regulator-fixed";
151 enable-active-high;
153 pinctrl-names = "default";
154 pinctrl-0 = <&sdmmc0_pwr_h>;
155 regulator-name = "vcc3v0_sd";
156 regulator-always-on;
157 regulator-min-microvolt = <3000000>;
158 regulator-max-microvolt = <3000000>;
159 vin-supply = <&vcc3v3_sys>;
161 regulator-state-mem {
162 regulator-off-in-suspend;
166 vcc3v3_pcie: vcc3v3-pcie-regulator {
167 compatible = "regulator-fixed";
168 enable-active-high;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pcie_pwr_en>;
172 regulator-name = "vcc3v3_pcie";
173 regulator-always-on;
174 regulator-boot-on;
175 vin-supply = <&vcc12v_dcin>;
178 vcc3v3_sys: vcc3v3-sys {
179 compatible = "regulator-fixed";
180 regulator-name = "vcc3v3_sys";
181 regulator-always-on;
182 regulator-boot-on;
183 regulator-min-microvolt = <3300000>;
184 regulator-max-microvolt = <3300000>;
185 vin-supply = <&vcc5v0_sys>;
189 vcc5v0_host: vcc5v0-host-regulator {
190 compatible = "regulator-fixed";
191 enable-active-high;
193 pinctrl-names = "default";
194 pinctrl-0 = <&vcc5v0_host_en>;
195 regulator-name = "vcc5v0_host";
196 regulator-always-on;
197 vin-supply = <&vcc5v0_usb>;
200 vcc5v0_typec: vcc5v0-typec-regulator {
201 compatible = "regulator-fixed";
202 enable-active-high;
204 pinctrl-names = "default";
205 pinctrl-0 = <&vcc5v0_typec_en>;
206 regulator-name = "vcc5v0_typec";
207 regulator-always-on;
208 vin-supply = <&vcc5v0_usb>;
211 vcc5v0_sys: vcc5v0-sys {
212 compatible = "regulator-fixed";
213 regulator-name = "vcc5v0_sys";
214 regulator-always-on;
215 regulator-boot-on;
216 regulator-min-microvolt = <5000000>;
217 regulator-max-microvolt = <5000000>;
218 vin-supply = <&vcc12v_dcin>;
221 vcc5v0_usb: vcc5v0-usb {
222 compatible = "regulator-fixed";
223 regulator-name = "vcc5v0_usb";
224 regulator-always-on;
225 regulator-boot-on;
226 regulator-min-microvolt = <5000000>;
227 regulator-max-microvolt = <5000000>;
228 vin-supply = <&vcc12v_dcin>;
231 vdd_log: vdd-log {
232 compatible = "pwm-regulator";
234 pwm-supply = <&vcc5v0_sys>;
235 regulator-name = "vdd_log";
236 regulator-always-on;
237 regulator-boot-on;
238 regulator-min-microvolt = <800000>;
239 regulator-max-microvolt = <1700000>;
244 cpu-supply = <&vdd_cpu_l>;
248 cpu-supply = <&vdd_cpu_l>;
252 cpu-supply = <&vdd_cpu_l>;
256 cpu-supply = <&vdd_cpu_l>;
260 cpu-supply = <&vdd_cpu_b>;
264 cpu-supply = <&vdd_cpu_b>;
282 cooling-maps {
285 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
290 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
300 assigned-clocks = <&cru SCLK_RMII_SRC>;
301 assigned-clock-parents = <&clkin_gmac>;
303 phy-supply = <&vcc_lan>;
304 phy-mode = "rgmii";
305 pinctrl-names = "default";
306 pinctrl-0 = <&rgmii_pins>;
307 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
308 snps,reset-active-low;
309 snps,reset-delays-us = <0 10000 50000>;
316 ddc-i2c-bus = <&i2c3>;
317 pinctrl-names = "default";
318 pinctrl-0 = <&hdmi_cec>;
327 mali-supply = <&vdd_gpu>;
332 clock-frequency = <400000>;
333 i2c-scl-rising-time-ns = <168>;
334 i2c-scl-falling-time-ns = <4>;
340 interrupt-parent = <&gpio3>;
342 #clock-cells = <1>;
343 clock-output-names = "xin32k", "rk808-clkout2";
344 pinctrl-names = "default";
345 pinctrl-0 = <&pmic_int_l>;
346 rockchip,system-power-controller;
347 wakeup-source;
349 vcc1-supply = <&vcc5v0_sys>;
350 vcc2-supply = <&vcc5v0_sys>;
351 vcc3-supply = <&vcc5v0_sys>;
352 vcc4-supply = <&vcc5v0_sys>;
353 vcc6-supply = <&vcc5v0_sys>;
354 vcc7-supply = <&vcc5v0_sys>;
355 vcc8-supply = <&vcc3v3_sys>;
356 vcc9-supply = <&vcc5v0_sys>;
357 vcc10-supply = <&vcc5v0_sys>;
358 vcc11-supply = <&vcc5v0_sys>;
359 vcc12-supply = <&vcc3v3_sys>;
360 vddio-supply = <&vcca_1v8>;
364 regulator-name = "vdd_center";
365 regulator-always-on;
366 regulator-boot-on;
367 regulator-min-microvolt = <750000>;
368 regulator-max-microvolt = <1350000>;
369 regulator-ramp-delay = <6001>;
370 regulator-state-mem {
371 regulator-off-in-suspend;
376 regulator-name = "vdd_cpu_l";
377 regulator-always-on;
378 regulator-boot-on;
379 regulator-min-microvolt = <750000>;
380 regulator-max-microvolt = <1350000>;
381 regulator-ramp-delay = <6001>;
382 regulator-state-mem {
383 regulator-off-in-suspend;
388 regulator-name = "vcc_ddr";
389 regulator-always-on;
390 regulator-boot-on;
391 regulator-state-mem {
392 regulator-on-in-suspend;
397 regulator-name = "vcc_1v8";
398 regulator-always-on;
399 regulator-boot-on;
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
402 regulator-state-mem {
403 regulator-on-in-suspend;
404 regulator-suspend-microvolt = <1800000>;
409 regulator-name = "vcc1v8_dvp";
410 regulator-always-on;
411 regulator-boot-on;
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <1800000>;
414 regulator-state-mem {
415 regulator-off-in-suspend;
420 regulator-name = "vcc3v0_touch";
421 regulator-min-microvolt = <3000000>;
422 regulator-max-microvolt = <3000000>;
423 regulator-state-mem {
424 regulator-off-in-suspend;
429 regulator-name = "vcca_1v8";
430 regulator-always-on;
431 regulator-boot-on;
432 regulator-min-microvolt = <1800000>;
433 regulator-max-microvolt = <1800000>;
434 regulator-state-mem {
435 regulator-on-in-suspend;
436 regulator-suspend-microvolt = <1800000>;
441 regulator-name = "vcc_sdio";
442 regulator-always-on;
443 regulator-boot-on;
444 regulator-min-microvolt = <1800000>;
445 regulator-max-microvolt = <3000000>;
446 regulator-state-mem {
447 regulator-on-in-suspend;
448 regulator-suspend-microvolt = <3000000>;
453 regulator-name = "vcca3v0_codec";
454 regulator-always-on;
455 regulator-boot-on;
456 regulator-min-microvolt = <3000000>;
457 regulator-max-microvolt = <3000000>;
458 regulator-state-mem {
459 regulator-off-in-suspend;
464 regulator-name = "vcc_1v5";
465 regulator-always-on;
466 regulator-boot-on;
467 regulator-min-microvolt = <1500000>;
468 regulator-max-microvolt = <1500000>;
469 regulator-state-mem {
470 regulator-on-in-suspend;
471 regulator-suspend-microvolt = <1500000>;
476 regulator-name = "vcca1v8_codec";
477 regulator-always-on;
478 regulator-boot-on;
479 regulator-min-microvolt = <1800000>;
480 regulator-max-microvolt = <1800000>;
481 regulator-state-mem {
482 regulator-off-in-suspend;
487 regulator-name = "vcc_3v0";
488 regulator-always-on;
489 regulator-boot-on;
490 regulator-min-microvolt = <3000000>;
491 regulator-max-microvolt = <3000000>;
492 regulator-state-mem {
493 regulator-on-in-suspend;
494 regulator-suspend-microvolt = <3000000>;
499 regulator-name = "vcc3v3_s3";
500 regulator-always-on;
501 regulator-boot-on;
502 regulator-state-mem {
503 regulator-off-in-suspend;
508 regulator-name = "vcc3v3_s0";
509 regulator-state-mem {
510 regulator-off-in-suspend;
519 fcs,suspend-voltage-selector = <1>;
520 pinctrl-names = "default";
521 pinctrl-0 = <&vsel1_pin>;
522 regulator-name = "vdd_cpu_b";
523 regulator-min-microvolt = <712500>;
524 regulator-max-microvolt = <1500000>;
525 regulator-ramp-delay = <1000>;
526 regulator-always-on;
527 regulator-boot-on;
528 vin-supply = <&vcc5v0_sys>;
530 regulator-state-mem {
531 regulator-off-in-suspend;
538 fcs,suspend-voltage-selector = <1>;
539 pinctrl-names = "default";
540 pinctrl-0 = <&vsel2_pin>;
541 regulator-name = "vdd_gpu";
542 regulator-min-microvolt = <712500>;
543 regulator-max-microvolt = <1500000>;
544 regulator-ramp-delay = <1000>;
545 regulator-always-on;
546 regulator-boot-on;
547 vin-supply = <&vcc5v0_sys>;
549 regulator-state-mem {
550 regulator-off-in-suspend;
556 i2c-scl-rising-time-ns = <300>;
557 i2c-scl-falling-time-ns = <15>;
562 i2c-scl-rising-time-ns = <450>;
563 i2c-scl-falling-time-ns = <15>;
568 i2c-scl-rising-time-ns = <600>;
569 i2c-scl-falling-time-ns = <20>;
572 fusb0: typec-portc@22 {
575 interrupt-parent = <&gpio1>;
577 pinctrl-names = "default";
578 pinctrl-0 = <&fusb0_int>;
579 vbus-supply = <&vcc5v0_typec>;
587 interrupt-parent = <&gpio4>;
589 AVDD28-supply = <&vcc3v0_touch>;
590 VDDIO-supply = <&vcc3v0_touch>;
591 irq-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
592 reset-gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>;
598 rockchip,playback-channels = <8>;
599 rockchip,capture-channels = <8>;
604 rockchip,playback-channels = <2>;
605 rockchip,capture-channels = <2>;
610 dai-format = "i2s";
611 mclk-fs = <256>;
612 remote-endpoint = <&es8316_p0_0>;
624 bt656-supply = <&vcc1v8_dvp>;
625 audio-supply = <&vcc_3v0>;
626 sdmmc-supply = <&vcc_sdio>;
627 gpio1830-supply = <&vcc_3v0>;
632 clock-master;
640 remote-endpoint = <&mipi_in_panel>;
648 avdd-supply = <&avdd>;
650 dvdd-supply = <&vcc3v3_s0>;
654 remote-endpoint = <&mipi_out_panel>;
661 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
662 num-lanes = <4>;
663 pinctrl-names = "default";
664 pinctrl-0 = <&pcie_perst>;
665 vpcie12v-supply = <&vcc12v_dcin>;
666 vpcie3v3-supply = <&vcc3v3_pcie>;
675 pmu1830-supply = <&vcc_3v0>;
681 bt_enable_h: bt-enable-h {
685 bt_host_wake_l: bt-host-wake-l {
689 bt_wake_l: bt-wake-l {
701 fusb0_int: fusb0-int {
707 ir_int: ir-int {
713 work_led_pin: work-led-pin {
717 diy_led_pin: diy-led-pin {
723 pcie_perst: pcie-perst {
727 pcie_pwr_en: pcie-pwr-en {
733 pmic_int_l: pmic-int-l {
737 vsel1_pin: vsel1-pin {
741 vsel2_pin: vsel2-pin {
747 sdmmc0_pwr_h: sdmmc0-pwr-h {
753 sdio-pwrseq {
754 wifi_enable_h: wifi-enable-h {
759 usb-typec {
766 vcc5v0_host_en: vcc5v0-host-en {
785 vref-supply = <&vcca1v8_s3>;
790 bus-width = <4>;
791 cap-sd-highspeed;
792 cap-sdio-irq;
793 disable-wp;
794 keep-power-in-suspend;
795 mmc-pwrseq = <&sdio_pwrseq>;
796 non-removable;
797 pinctrl-names = "default";
798 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
799 sd-uhs-sdr104;
804 bus-width = <4>;
805 cap-sd-highspeed;
806 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
807 disable-wp;
808 max-frequency = <150000000>;
809 pinctrl-names = "default";
810 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
811 vmmc-supply = <&vcc3v0_sd>;
812 vqmmc-supply = <&vcc_sdio>;
817 bus-width = <8>;
818 mmc-hs200-1_8v;
819 non-removable;
824 pinctrl-0 = <&spdif_bus_1>;
828 remote-endpoint = <&dit_p0_0>;
837 compatible = "jedec,spi-nor";
839 spi-max-frequency = <10000000>;
853 rockchip,hw-tshut-mode = <1>;
855 rockchip,hw-tshut-polarity = <1>;
862 u2phy0_otg: otg-port {
866 u2phy0_host: host-port {
867 phy-supply = <&vcc5v0_host>;
875 u2phy1_otg: otg-port {
879 u2phy1_host: host-port {
880 phy-supply = <&vcc5v0_host>;
886 pinctrl-names = "default";
887 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
891 compatible = "brcm,bcm43438-bt";
893 clock-names = "lpo";
894 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
895 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
896 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
897 pinctrl-names = "default";
898 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
899 vbat-supply = <&vcc3v3_sys>;
900 vddio-supply = <&vcc_1v8>;