Lines Matching +full:fan +full:- +full:supply
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/input/linux-event-codes.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pwm/pwm.h>
12 #include "rk3399-opp.dtsi"
22 stdout-path = "serial2:1500000n8";
25 clkin_gmac: external-gmac-clock {
26 compatible = "fixed-clock";
27 clock-frequency = <125000000>;
28 clock-output-names = "clkin_gmac";
29 #clock-cells = <0>;
32 sdio_pwrseq: sdio-pwrseq {
33 compatible = "mmc-pwrseq-simple";
35 clock-names = "ext_clock";
36 pinctrl-names = "default";
37 pinctrl-0 = <&wifi_enable_h>;
42 * - SDIO_RESET_L_WL_REG_ON
43 * - PDN (power down when low)
45 reset-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_LOW>;
49 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
50 compatible = "regulator-fixed";
51 regulator-name = "vcc1v8_s3";
52 regulator-always-on;
53 regulator-boot-on;
54 regulator-min-microvolt = <1800000>;
55 regulator-max-microvolt = <1800000>;
56 vin-supply = <&vcc_1v8>;
59 vcc3v3_pcie: vcc3v3-pcie-regulator {
60 compatible = "regulator-fixed";
61 regulator-name = "vcc3v3_pcie";
62 regulator-always-on;
63 regulator-boot-on;
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
66 vin-supply = <&vsys_3v3>;
70 vcc5v0_host: vcc5v0-host-regulator {
71 compatible = "regulator-fixed";
72 enable-active-high;
74 pinctrl-names = "default";
75 pinctrl-0 = <&vcc5v0_host_en>;
76 regulator-name = "vcc5v0_host";
77 regulator-always-on;
78 vin-supply = <&vsys_5v0>;
81 vdd_log: vdd-log {
82 compatible = "pwm-regulator";
84 pwm-supply = <&vsys_3v3>;
85 regulator-name = "vdd_log";
86 regulator-always-on;
87 regulator-boot-on;
88 regulator-min-microvolt = <800000>;
89 regulator-max-microvolt = <1400000>;
93 compatible = "regulator-fixed";
94 regulator-name = "vsys";
95 regulator-always-on;
96 regulator-boot-on;
99 vsys_3v3: vsys-3v3 {
100 compatible = "regulator-fixed";
101 regulator-name = "vsys_3v3";
102 regulator-always-on;
103 regulator-boot-on;
104 regulator-min-microvolt = <3300000>;
105 regulator-max-microvolt = <3300000>;
106 vin-supply = <&vsys>;
109 vsys_5v0: vsys-5v0 {
110 compatible = "regulator-fixed";
111 regulator-name = "vsys_5v0";
112 regulator-always-on;
113 regulator-boot-on;
114 regulator-min-microvolt = <5000000>;
115 regulator-max-microvolt = <5000000>;
116 vin-supply = <&vsys>;
119 adc-keys {
120 compatible = "adc-keys";
121 io-channels = <&saradc 1>;
122 io-channel-names = "buttons";
123 keyup-threshold-microvolt = <1800000>;
124 poll-interval = <100>;
126 button-recovery {
129 press-threshold-microvolt = <18000>;
133 gpio-keys {
134 compatible = "gpio-keys";
136 pinctrl-names = "default";
137 pinctrl-0 = <&pwrbtn>;
139 key-power {
140 debounce-interval = <100>;
144 wakeup-source;
148 ir-receiver {
149 compatible = "gpio-ir-receiver";
151 linux,rc-map-name = "rc-khadas";
152 pinctrl-names = "default";
153 pinctrl-0 = <&ir_rx>;
157 compatible = "gpio-leds";
158 pinctrl-names = "default";
159 pinctrl-0 = <&sys_led_pin>, <&user_led_pin>;
161 sys_led: led-0 {
163 linux,default-trigger = "heartbeat";
167 user_led: led-1 {
169 default-state = "off";
174 fan: pwm-fan { label
175 compatible = "pwm-fan";
176 cooling-levels = <0 150 200 255>;
177 #cooling-cells = <2>;
178 fan-supply = <&vsys_5v0>;
184 cpu-supply = <&vdd_cpu_l>;
188 cpu-supply = <&vdd_cpu_l>;
192 cpu-supply = <&vdd_cpu_l>;
196 cpu-supply = <&vdd_cpu_l>;
200 cpu-supply = <&vdd_cpu_b>;
204 cpu-supply = <&vdd_cpu_b>;
222 cooling-maps {
225 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
230 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
240 assigned-clocks = <&cru SCLK_RMII_SRC>;
241 assigned-clock-parents = <&clkin_gmac>;
243 phy-supply = <&vcc_lan>;
244 phy-mode = "rgmii";
245 pinctrl-names = "default";
246 pinctrl-0 = <&rgmii_pins>;
247 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
248 snps,reset-active-low;
249 snps,reset-delays-us = <0 10000 50000>;
255 mali-supply = <&vdd_gpu>;
274 cooling-maps {
277 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
282 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
288 ddc-i2c-bus = <&i2c3>;
289 pinctrl-names = "default";
290 pinctrl-0 = <&hdmi_cec>;
299 i2c-scl-rising-time-ns = <450>;
300 i2c-scl-falling-time-ns = <15>;
305 clock-frequency = <400000>;
306 i2c-scl-rising-time-ns = <168>;
307 i2c-scl-falling-time-ns = <4>;
313 interrupt-parent = <&gpio1>;
315 #clock-cells = <1>;
316 clock-output-names = "xin32k", "rk808-clkout2";
317 pinctrl-names = "default";
318 pinctrl-0 = <&pmic_int_l>;
319 rockchip,system-power-controller;
320 wakeup-source;
322 vcc1-supply = <&vsys_3v3>;
323 vcc2-supply = <&vsys_3v3>;
324 vcc3-supply = <&vsys_3v3>;
325 vcc4-supply = <&vsys_3v3>;
326 vcc6-supply = <&vsys_3v3>;
327 vcc7-supply = <&vsys_3v3>;
328 vcc8-supply = <&vsys_3v3>;
329 vcc9-supply = <&vsys_3v3>;
330 vcc10-supply = <&vsys_3v3>;
331 vcc11-supply = <&vsys_3v3>;
332 vcc12-supply = <&vsys_3v3>;
333 vddio-supply = <&vcc_1v8>;
337 regulator-name = "vdd_center";
338 regulator-always-on;
339 regulator-boot-on;
340 regulator-min-microvolt = <750000>;
341 regulator-max-microvolt = <1350000>;
342 regulator-ramp-delay = <6001>;
344 regulator-state-mem {
345 regulator-off-in-suspend;
350 regulator-name = "vdd_cpu_l";
351 regulator-always-on;
352 regulator-boot-on;
353 regulator-min-microvolt = <750000>;
354 regulator-max-microvolt = <1350000>;
355 regulator-ramp-delay = <6001>;
357 regulator-state-mem {
358 regulator-off-in-suspend;
363 regulator-name = "vcc_ddr";
364 regulator-always-on;
365 regulator-boot-on;
367 regulator-state-mem {
368 regulator-on-in-suspend;
373 regulator-name = "vcc_1v8";
374 regulator-always-on;
375 regulator-boot-on;
376 regulator-min-microvolt = <1800000>;
377 regulator-max-microvolt = <1800000>;
379 regulator-state-mem {
380 regulator-on-in-suspend;
381 regulator-suspend-microvolt = <1800000>;
386 regulator-name = "vcc1v8_apio2";
387 regulator-always-on;
388 regulator-boot-on;
389 regulator-min-microvolt = <1800000>;
390 regulator-max-microvolt = <1800000>;
392 regulator-state-mem {
393 regulator-off-in-suspend;
398 regulator-name = "vcc_vldo2";
399 regulator-always-on;
400 regulator-boot-on;
401 regulator-min-microvolt = <3000000>;
402 regulator-max-microvolt = <3000000>;
404 regulator-state-mem {
405 regulator-off-in-suspend;
410 regulator-name = "vcc1v8_pmupll";
411 regulator-always-on;
412 regulator-boot-on;
413 regulator-min-microvolt = <1800000>;
414 regulator-max-microvolt = <1800000>;
416 regulator-state-mem {
417 regulator-on-in-suspend;
418 regulator-suspend-microvolt = <1800000>;
423 regulator-name = "vccio_sd";
424 regulator-always-on;
425 regulator-boot-on;
426 regulator-min-microvolt = <1800000>;
427 regulator-max-microvolt = <3000000>;
429 regulator-state-mem {
430 regulator-on-in-suspend;
431 regulator-suspend-microvolt = <3000000>;
436 regulator-name = "vcc_vldo5";
437 regulator-always-on;
438 regulator-boot-on;
439 regulator-min-microvolt = <3000000>;
440 regulator-max-microvolt = <3000000>;
442 regulator-state-mem {
443 regulator-off-in-suspend;
448 regulator-name = "vcc_1v5";
449 regulator-always-on;
450 regulator-boot-on;
451 regulator-min-microvolt = <1500000>;
452 regulator-max-microvolt = <1500000>;
454 regulator-state-mem {
455 regulator-on-in-suspend;
456 regulator-suspend-microvolt = <1500000>;
461 regulator-name = "vcc1v8_codec";
462 regulator-always-on;
463 regulator-boot-on;
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <1800000>;
467 regulator-state-mem {
468 regulator-off-in-suspend;
473 regulator-name = "vcc_3v0";
474 regulator-always-on;
475 regulator-boot-on;
476 regulator-min-microvolt = <3000000>;
477 regulator-max-microvolt = <3000000>;
479 regulator-state-mem {
480 regulator-on-in-suspend;
481 regulator-suspend-microvolt = <3000000>;
486 regulator-name = "vcc3v3_s3";
487 regulator-always-on;
488 regulator-boot-on;
490 regulator-state-mem {
491 regulator-off-in-suspend;
496 regulator-name = "vcc3v3_s0";
497 regulator-always-on;
498 regulator-boot-on;
500 regulator-state-mem {
501 regulator-off-in-suspend;
510 fcs,suspend-voltage-selector = <1>;
511 pinctrl-names = "default";
512 pinctrl-0 = <&cpu_b_sleep>;
513 regulator-name = "vdd_cpu_b";
514 regulator-min-microvolt = <712500>;
515 regulator-max-microvolt = <1500000>;
516 regulator-ramp-delay = <1000>;
517 regulator-always-on;
518 regulator-boot-on;
519 vin-supply = <&vsys_3v3>;
521 regulator-state-mem {
522 regulator-off-in-suspend;
529 fcs,suspend-voltage-selector = <1>;
530 pinctrl-names = "default";
531 pinctrl-0 = <&gpu_sleep>;
532 regulator-name = "vdd_gpu";
533 regulator-min-microvolt = <712500>;
534 regulator-max-microvolt = <1500000>;
535 regulator-ramp-delay = <1000>;
536 regulator-always-on;
537 regulator-boot-on;
538 vin-supply = <&vsys_3v3>;
540 regulator-state-mem {
541 regulator-off-in-suspend;
547 clock-frequency = <400000>;
548 i2c-scl-rising-time-ns = <160>;
549 i2c-scl-falling-time-ns = <30>;
554 rockchip,playback-channels = <8>;
555 rockchip,capture-channels = <8>;
560 rockchip,playback-channels = <2>;
561 rockchip,capture-channels = <2>;
570 bt656-supply = <&vcc1v8_apio2>;
571 audio-supply = <&vcc1v8_codec>;
572 sdmmc-supply = <&vccio_sd>;
573 gpio1830-supply = <&vcc_3v0>;
578 pmu1830-supply = <&vcc_1v8>;
584 bt_host_wake_l: bt-host-wake-l {
588 bt_reg_on_h: bt-reg-on-h {
592 bt_wake_l: bt-wake-l {
604 ir_rx: ir-rx {
610 sys_led_pin: sys-led-pin {
614 user_led_pin: user-led-pin {
620 pmic_int_l: pmic-int-l {
624 cpu_b_sleep: cpu-b-sleep {
628 gpu_sleep: gpu-sleep {
633 sdio-pwrseq {
634 wifi_enable_h: wifi-enable-h {
640 vcc5v0_host_en: vcc5v0-host-en {
646 wifi_host_wake_l: wifi-host-wake-l {
661 vref-supply = <&vcca1v8_s3>;
667 bus-width = <4>;
668 cap-sdio-irq;
669 cap-sd-highspeed;
670 keep-power-in-suspend;
671 mmc-pwrseq = <&sdio_pwrseq>;
672 non-removable;
673 pinctrl-names = "default";
674 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
675 sd-uhs-sdr104;
676 vqmmc-supply = <&vcc1v8_s3>;
677 vmmc-supply = <&vccio_sd>;
678 #address-cells = <1>;
679 #size-cells = <0>;
684 compatible = "brcm,bcm4329-fmac";
685 interrupt-parent = <&gpio0>;
687 interrupt-names = "host-wake";
688 brcm,drive-strength = <5>;
689 pinctrl-names = "default";
690 pinctrl-0 = <&wifi_host_wake_l>;
695 bus-width = <4>;
696 cap-mmc-highspeed;
697 cap-sd-highspeed;
698 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
699 disable-wp;
700 max-frequency = <150000000>;
701 pinctrl-names = "default";
702 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
707 bus-width = <8>;
708 mmc-hs400-1_8v;
709 non-removable;
717 compatible = "winbond,w25q128fw", "jedec,spi-nor";
719 spi-max-frequency = <104000000>;
733 rockchip,hw-tshut-mode = <1>;
735 rockchip,hw-tshut-polarity = <1>;
742 u2phy0_otg: otg-port {
746 u2phy0_host: host-port {
747 phy-supply = <&vcc5v0_host>;
755 u2phy1_otg: otg-port {
759 u2phy1_host: host-port {
760 phy-supply = <&vcc5v0_host>;
766 pinctrl-names = "default";
767 pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>;
771 compatible = "brcm,bcm43438-bt";
773 clock-names = "lpo";
774 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
775 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
776 shutdown-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
777 max-speed = <4000000>;
778 pinctrl-names = "default";
779 pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>;
780 vbat-supply = <&vsys_3v3>;
781 vddio-supply = <&vcc_1v8>;