Lines Matching +full:strobe +full:- +full:polarity +full:- +full:high
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/pwm/pwm.h>
11 #include "rk3399-opp.dtsi"
15 stdout-path = "serial2:1500000n8";
18 clkin_gmac: external-gmac-clock {
19 compatible = "fixed-clock";
20 clock-frequency = <125000000>;
21 clock-output-names = "clkin_gmac";
22 #clock-cells = <0>;
25 sdio_pwrseq: sdio-pwrseq {
26 compatible = "mmc-pwrseq-simple";
28 clock-names = "ext_clock";
29 pinctrl-names = "default";
30 pinctrl-0 = <&wifi_enable_h>;
35 * - SDIO_RESET_L_WL_REG_ON
36 * - PDN (power down when low)
38 reset-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_LOW>;
42 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
43 compatible = "regulator-fixed";
44 regulator-name = "vcc1v8_s3";
45 regulator-always-on;
46 regulator-boot-on;
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
49 vin-supply = <&vcc_1v8>;
52 vcc3v3_pcie: vcc3v3-pcie-regulator {
53 compatible = "regulator-fixed";
54 regulator-name = "vcc3v3_pcie";
55 regulator-always-on;
56 regulator-boot-on;
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
59 vin-supply = <&vsys_3v3>;
63 vcc5v0_host: vcc5v0-host-regulator {
64 compatible = "regulator-fixed";
65 enable-active-high;
67 pinctrl-names = "default";
68 pinctrl-0 = <&vcc5v0_host_en>;
69 regulator-name = "vcc5v0_host";
70 regulator-always-on;
71 vin-supply = <&vsys_5v0>;
74 vdd_log: vdd-log {
75 compatible = "pwm-regulator";
77 regulator-name = "vdd_log";
78 regulator-always-on;
79 regulator-boot-on;
80 regulator-min-microvolt = <800000>;
81 regulator-max-microvolt = <1400000>;
82 vin-supply = <&vsys_3v3>;
86 compatible = "regulator-fixed";
87 regulator-name = "vsys";
88 regulator-always-on;
89 regulator-boot-on;
92 vsys_3v3: vsys-3v3 {
93 compatible = "regulator-fixed";
94 regulator-name = "vsys_3v3";
95 regulator-always-on;
96 regulator-boot-on;
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
99 vin-supply = <&vsys>;
102 vsys_5v0: vsys-5v0 {
103 compatible = "regulator-fixed";
104 regulator-name = "vsys_5v0";
105 regulator-always-on;
106 regulator-boot-on;
107 regulator-min-microvolt = <5000000>;
108 regulator-max-microvolt = <5000000>;
109 vin-supply = <&vsys>;
112 adc-keys {
113 compatible = "adc-keys";
114 io-channels = <&saradc 1>;
115 io-channel-names = "buttons";
116 keyup-threshold-microvolt = <1800000>;
117 poll-interval = <100>;
122 press-threshold-microvolt = <18000>;
126 gpio-keys {
127 compatible = "gpio-keys";
129 pinctrl-names = "default";
130 pinctrl-0 = <&pwrbtn>;
133 debounce-interval = <100>;
137 wakeup-source;
141 ir-receiver {
142 compatible = "gpio-ir-receiver";
144 linux,rc-map-name = "rc-khadas";
145 pinctrl-names = "default";
146 pinctrl-0 = <&ir_rx>;
150 compatible = "gpio-leds";
151 pinctrl-names = "default";
152 pinctrl-0 = <&sys_led_pin>, <&user_led_pin>;
154 sys_led: led-0 {
156 linux,default-trigger = "heartbeat";
160 user_led: led-1 {
162 default-state = "off";
167 fan: pwm-fan {
168 compatible = "pwm-fan";
169 cooling-levels = <0 150 200 255>;
170 #cooling-cells = <2>;
171 fan-supply = <&vsys_5v0>;
177 cpu-supply = <&vdd_cpu_l>;
181 cpu-supply = <&vdd_cpu_l>;
185 cpu-supply = <&vdd_cpu_l>;
189 cpu-supply = <&vdd_cpu_l>;
193 cpu-supply = <&vdd_cpu_b>;
197 cpu-supply = <&vdd_cpu_b>;
215 cooling-maps {
218 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
223 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
233 assigned-clocks = <&cru SCLK_RMII_SRC>;
234 assigned-clock-parents = <&clkin_gmac>;
236 phy-supply = <&vcc_lan>;
237 phy-mode = "rgmii";
238 pinctrl-names = "default";
239 pinctrl-0 = <&rgmii_pins>;
240 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
241 snps,reset-active-low;
242 snps,reset-delays-us = <0 10000 50000>;
248 mali-supply = <&vdd_gpu>;
267 cooling-maps {
270 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
275 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
281 ddc-i2c-bus = <&i2c3>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&hdmi_cec>;
292 i2c-scl-rising-time-ns = <450>;
293 i2c-scl-falling-time-ns = <15>;
298 clock-frequency = <400000>;
299 i2c-scl-rising-time-ns = <168>;
300 i2c-scl-falling-time-ns = <4>;
306 interrupt-parent = <&gpio1>;
308 #clock-cells = <1>;
309 clock-output-names = "xin32k", "rk808-clkout2";
310 pinctrl-names = "default";
311 pinctrl-0 = <&pmic_int_l>;
312 rockchip,system-power-controller;
313 wakeup-source;
315 vcc1-supply = <&vsys_3v3>;
316 vcc2-supply = <&vsys_3v3>;
317 vcc3-supply = <&vsys_3v3>;
318 vcc4-supply = <&vsys_3v3>;
319 vcc6-supply = <&vsys_3v3>;
320 vcc7-supply = <&vsys_3v3>;
321 vcc8-supply = <&vsys_3v3>;
322 vcc9-supply = <&vsys_3v3>;
323 vcc10-supply = <&vsys_3v3>;
324 vcc11-supply = <&vsys_3v3>;
325 vcc12-supply = <&vsys_3v3>;
326 vddio-supply = <&vcc_1v8>;
330 regulator-name = "vdd_center";
331 regulator-always-on;
332 regulator-boot-on;
333 regulator-min-microvolt = <750000>;
334 regulator-max-microvolt = <1350000>;
335 regulator-ramp-delay = <6001>;
337 regulator-state-mem {
338 regulator-off-in-suspend;
343 regulator-name = "vdd_cpu_l";
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <750000>;
347 regulator-max-microvolt = <1350000>;
348 regulator-ramp-delay = <6001>;
350 regulator-state-mem {
351 regulator-off-in-suspend;
356 regulator-name = "vcc_ddr";
357 regulator-always-on;
358 regulator-boot-on;
360 regulator-state-mem {
361 regulator-on-in-suspend;
366 regulator-name = "vcc_1v8";
367 regulator-always-on;
368 regulator-boot-on;
369 regulator-min-microvolt = <1800000>;
370 regulator-max-microvolt = <1800000>;
372 regulator-state-mem {
373 regulator-on-in-suspend;
374 regulator-suspend-microvolt = <1800000>;
379 regulator-name = "vcc1v8_apio2";
380 regulator-always-on;
381 regulator-boot-on;
382 regulator-min-microvolt = <1800000>;
383 regulator-max-microvolt = <1800000>;
385 regulator-state-mem {
386 regulator-off-in-suspend;
391 regulator-name = "vcc_vldo2";
392 regulator-always-on;
393 regulator-boot-on;
394 regulator-min-microvolt = <3000000>;
395 regulator-max-microvolt = <3000000>;
397 regulator-state-mem {
398 regulator-off-in-suspend;
403 regulator-name = "vcc1v8_pmupll";
404 regulator-always-on;
405 regulator-boot-on;
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>;
409 regulator-state-mem {
410 regulator-on-in-suspend;
411 regulator-suspend-microvolt = <1800000>;
416 regulator-name = "vccio_sd";
417 regulator-always-on;
418 regulator-boot-on;
419 regulator-min-microvolt = <1800000>;
420 regulator-max-microvolt = <3000000>;
422 regulator-state-mem {
423 regulator-on-in-suspend;
424 regulator-suspend-microvolt = <3000000>;
429 regulator-name = "vcc_vldo5";
430 regulator-always-on;
431 regulator-boot-on;
432 regulator-min-microvolt = <3000000>;
433 regulator-max-microvolt = <3000000>;
435 regulator-state-mem {
436 regulator-off-in-suspend;
441 regulator-name = "vcc_1v5";
442 regulator-always-on;
443 regulator-boot-on;
444 regulator-min-microvolt = <1500000>;
445 regulator-max-microvolt = <1500000>;
447 regulator-state-mem {
448 regulator-on-in-suspend;
449 regulator-suspend-microvolt = <1500000>;
454 regulator-name = "vcc1v8_codec";
455 regulator-always-on;
456 regulator-boot-on;
457 regulator-min-microvolt = <1800000>;
458 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>;
472 regulator-state-mem {
473 regulator-on-in-suspend;
474 regulator-suspend-microvolt = <3000000>;
479 regulator-name = "vcc3v3_s3";
480 regulator-always-on;
481 regulator-boot-on;
483 regulator-state-mem {
484 regulator-off-in-suspend;
489 regulator-name = "vcc3v3_s0";
490 regulator-always-on;
491 regulator-boot-on;
493 regulator-state-mem {
494 regulator-off-in-suspend;
503 fcs,suspend-voltage-selector = <1>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&cpu_b_sleep>;
506 regulator-name = "vdd_cpu_b";
507 regulator-min-microvolt = <712500>;
508 regulator-max-microvolt = <1500000>;
509 regulator-ramp-delay = <1000>;
510 regulator-always-on;
511 regulator-boot-on;
512 vin-supply = <&vsys_3v3>;
514 regulator-state-mem {
515 regulator-off-in-suspend;
522 fcs,suspend-voltage-selector = <1>;
523 pinctrl-names = "default";
524 pinctrl-0 = <&gpu_sleep>;
525 regulator-name = "vdd_gpu";
526 regulator-min-microvolt = <712500>;
527 regulator-max-microvolt = <1500000>;
528 regulator-ramp-delay = <1000>;
529 regulator-always-on;
530 regulator-boot-on;
531 vin-supply = <&vsys_3v3>;
533 regulator-state-mem {
534 regulator-off-in-suspend;
540 clock-frequency = <400000>;
541 i2c-scl-rising-time-ns = <160>;
542 i2c-scl-falling-time-ns = <30>;
547 rockchip,playback-channels = <8>;
548 rockchip,capture-channels = <8>;
553 rockchip,playback-channels = <2>;
554 rockchip,capture-channels = <2>;
563 bt656-supply = <&vcc1v8_apio2>;
564 audio-supply = <&vcc1v8_codec>;
565 sdmmc-supply = <&vccio_sd>;
566 gpio1830-supply = <&vcc_3v0>;
571 pmu1830-supply = <&vcc_1v8>;
577 bt_host_wake_l: bt-host-wake-l {
581 bt_reg_on_h: bt-reg-on-h {
585 bt_wake_l: bt-wake-l {
597 ir_rx: ir-rx {
603 sys_led_pin: sys-led-pin {
607 user_led_pin: user-led-pin {
613 pmic_int_l: pmic-int-l {
617 cpu_b_sleep: cpu-b-sleep {
621 gpu_sleep: gpu-sleep {
626 sdio-pwrseq {
627 wifi_enable_h: wifi-enable-h {
633 vcc5v0_host_en: vcc5v0-host-en {
639 wifi_host_wake_l: wifi-host-wake-l {
654 vref-supply = <&vcca1v8_s3>;
660 bus-width = <4>;
661 cap-sdio-irq;
662 cap-sd-highspeed;
663 keep-power-in-suspend;
664 mmc-pwrseq = <&sdio_pwrseq>;
665 non-removable;
666 pinctrl-names = "default";
667 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
668 sd-uhs-sdr104;
669 vqmmc-supply = <&vcc1v8_s3>;
670 vmmc-supply = <&vccio_sd>;
671 #address-cells = <1>;
672 #size-cells = <0>;
677 compatible = "brcm,bcm4329-fmac";
678 interrupt-parent = <&gpio0>;
680 interrupt-names = "host-wake";
681 brcm,drive-strength = <5>;
682 pinctrl-names = "default";
683 pinctrl-0 = <&wifi_host_wake_l>;
688 bus-width = <4>;
689 cap-mmc-highspeed;
690 cap-sd-highspeed;
691 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
692 disable-wp;
693 max-frequency = <150000000>;
694 pinctrl-names = "default";
695 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
700 bus-width = <8>;
701 mmc-hs400-1_8v;
702 mmc-hs400-enhanced-strobe;
703 non-removable;
711 compatible = "winbond,w25q128fw", "jedec,spi-nor";
713 spi-max-frequency = <104000000>;
727 rockchip,hw-tshut-mode = <1>;
728 /* tshut polarity 0:LOW 1:HIGH */
729 rockchip,hw-tshut-polarity = <1>;
736 u2phy0_otg: otg-port {
740 u2phy0_host: host-port {
741 phy-supply = <&vcc5v0_host>;
749 u2phy1_otg: otg-port {
753 u2phy1_host: host-port {
754 phy-supply = <&vcc5v0_host>;
760 pinctrl-names = "default";
761 pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>;
765 compatible = "brcm,bcm43438-bt";
767 clock-names = "lpo";
768 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
769 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
770 shutdown-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
771 max-speed = <4000000>;
772 pinctrl-names = "default";
773 pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>;
774 vbat-supply = <&vsys_3v3>;
775 vddio-supply = <&vcc_1v8>;