Lines Matching +full:sink +full:- +full:pdos
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "dt-bindings/pwm/pwm.h"
9 #include "dt-bindings/input/input.h"
10 #include "dt-bindings/usb/pd.h"
12 #include "rk3399-opp.dtsi"
16 compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399";
25 stdout-path = "serial2:1500000n8";
28 clkin_gmac: external-gmac-clock {
29 compatible = "fixed-clock";
30 clock-frequency = <125000000>;
31 clock-output-names = "clkin_gmac";
32 #clock-cells = <0>;
35 adc-keys {
36 compatible = "adc-keys";
37 io-channels = <&saradc 1>;
38 io-channel-names = "buttons";
39 keyup-threshold-microvolt = <1800000>;
40 poll-interval = <100>;
42 button-up {
45 press-threshold-microvolt = <100000>;
48 button-down {
51 press-threshold-microvolt = <300000>;
57 press-threshold-microvolt = <985000>;
63 press-threshold-microvolt = <1314000>;
67 dc_12v: dc-12v {
68 compatible = "regulator-fixed";
69 regulator-name = "dc_12v";
70 regulator-always-on;
71 regulator-boot-on;
72 regulator-min-microvolt = <12000000>;
73 regulator-max-microvolt = <12000000>;
76 keys: gpio-keys {
77 compatible = "gpio-keys";
81 debounce-interval = <100>;
85 linux,input-type = <1>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&pwr_btn>;
88 wakeup-source;
92 sdio_pwrseq: sdio-pwrseq {
93 compatible = "mmc-pwrseq-simple";
95 clock-names = "ext_clock";
96 pinctrl-names = "default";
97 pinctrl-0 = <&wifi_reg_on_h>;
98 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
102 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
103 compatible = "regulator-fixed";
104 regulator-name = "vcc1v8_s3";
105 regulator-always-on;
106 regulator-boot-on;
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <1800000>;
109 vin-supply = <&vcc_1v8>;
112 vcc3v0_sd: vcc3v0-sd {
113 compatible = "regulator-fixed";
114 enable-active-high;
116 pinctrl-names = "default";
117 pinctrl-0 = <&sdmmc0_pwr_h>;
118 regulator-boot-on;
119 regulator-max-microvolt = <3000000>;
120 regulator-min-microvolt = <3000000>;
121 regulator-name = "vcc3v0_sd";
122 vin-supply = <&vcc3v3_sys>;
125 vcc3v3_sys: vcc3v3-sys {
126 compatible = "regulator-fixed";
127 regulator-name = "vcc3v3_sys";
128 regulator-always-on;
129 regulator-boot-on;
130 regulator-min-microvolt = <3300000>;
131 regulator-max-microvolt = <3300000>;
132 vin-supply = <&vcc_sys>;
135 vcc5v0_host: vcc5v0-host-regulator {
136 compatible = "regulator-fixed";
137 enable-active-high;
139 pinctrl-names = "default";
140 pinctrl-0 = <&vcc5v0_host_en>;
141 regulator-name = "vcc5v0_host";
142 regulator-always-on;
143 vin-supply = <&vcc_sys>;
146 vbus_typec: vbus-typec-regulator {
147 compatible = "regulator-fixed";
148 enable-active-high;
150 pinctrl-names = "default";
151 pinctrl-0 = <&vcc5v0_typec_en>;
152 regulator-name = "vbus_typec";
153 vin-supply = <&vcc_sys>;
156 vcc_sys: vcc-sys {
157 compatible = "regulator-fixed";
158 regulator-name = "vcc_sys";
159 regulator-always-on;
160 regulator-boot-on;
161 regulator-min-microvolt = <5000000>;
162 regulator-max-microvolt = <5000000>;
163 vin-supply = <&dc_12v>;
166 vdd_log: vdd-log {
167 compatible = "pwm-regulator";
169 regulator-name = "vdd_log";
170 regulator-always-on;
171 regulator-boot-on;
172 regulator-min-microvolt = <800000>;
173 regulator-max-microvolt = <1400000>;
174 vin-supply = <&vcc_sys>;
179 cpu-supply = <&vdd_cpu_l>;
183 cpu-supply = <&vdd_cpu_l>;
187 cpu-supply = <&vdd_cpu_l>;
191 cpu-supply = <&vdd_cpu_l>;
195 cpu-supply = <&vdd_cpu_b>;
199 cpu-supply = <&vdd_cpu_b>;
207 assigned-clocks = <&cru SCLK_RMII_SRC>;
208 assigned-clock-parents = <&clkin_gmac>;
210 phy-supply = <&vcc3v3_s3>;
211 phy-mode = "rgmii";
212 phy-handle = <&rtl8211e>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
220 compatible = "snps,dwmac-mdio";
221 #address-cells = <1>;
222 #size-cells = <0>;
224 rtl8211e: ethernet-phy@1 {
226 interrupt-parent = <&gpio3>;
228 reset-assert-us = <10000>;
229 reset-deassert-us = <30000>;
230 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
236 mali-supply = <&vdd_gpu>;
241 ddc-i2c-bus = <&i2c3>;
250 clock-frequency = <400000>;
251 i2c-scl-rising-time-ns = <168>;
252 i2c-scl-falling-time-ns = <4>;
258 interrupt-parent = <&gpio1>;
260 #clock-cells = <1>;
261 clock-output-names = "rtc_clko_soc", "rtc_clko_wifi";
262 pinctrl-names = "default";
263 pinctrl-0 = <&pmic_int_l>;
264 rockchip,system-power-controller;
265 wakeup-source;
267 vcc1-supply = <&vcc3v3_sys>;
268 vcc2-supply = <&vcc3v3_sys>;
269 vcc3-supply = <&vcc3v3_sys>;
270 vcc4-supply = <&vcc3v3_sys>;
271 vcc6-supply = <&vcc3v3_sys>;
272 vcc7-supply = <&vcc3v3_sys>;
273 vcc8-supply = <&vcc3v3_sys>;
274 vcc9-supply = <&vcc3v3_sys>;
275 vcc10-supply = <&vcc3v3_sys>;
276 vcc11-supply = <&vcc3v3_sys>;
277 vcc12-supply = <&vcc3v3_sys>;
278 vddio-supply = <&vcc_3v0>;
282 regulator-name = "vdd_center";
283 regulator-always-on;
284 regulator-boot-on;
285 regulator-min-microvolt = <700000>;
286 regulator-max-microvolt = <1500000>;
287 regulator-ramp-delay = <6001>;
288 regulator-state-mem {
289 regulator-off-in-suspend;
294 regulator-name = "vdd_cpu_l";
295 regulator-always-on;
296 regulator-boot-on;
297 regulator-min-microvolt = <700000>;
298 regulator-max-microvolt = <1500000>;
299 regulator-ramp-delay = <6001>;
300 regulator-state-mem {
301 regulator-off-in-suspend;
306 regulator-name = "vcc_ddr";
307 regulator-always-on;
308 regulator-boot-on;
309 regulator-state-mem {
310 regulator-on-in-suspend;
315 regulator-name = "vcc_1v8";
316 regulator-always-on;
317 regulator-boot-on;
318 regulator-min-microvolt = <1800000>;
319 regulator-max-microvolt = <3300000>;
320 regulator-state-mem {
321 regulator-on-in-suspend;
322 regulator-suspend-microvolt = <1800000>;
327 regulator-name = "vcc1v8_dvp";
328 regulator-always-on;
329 regulator-boot-on;
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <3400000>;
332 regulator-state-mem {
333 regulator-off-in-suspend;
338 regulator-name = "vcc3v0_tp";
339 regulator-always-on;
340 regulator-boot-on;
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <3400000>;
343 regulator-state-mem {
344 regulator-off-in-suspend;
349 regulator-name = "vcc1v8_pmupll";
350 regulator-always-on;
351 regulator-boot-on;
352 regulator-min-microvolt = <800000>;
353 regulator-max-microvolt = <2500000>;
354 regulator-state-mem {
355 regulator-on-in-suspend;
356 regulator-suspend-microvolt = <1800000>;
361 regulator-name = "vcc_sdio";
362 regulator-always-on;
363 regulator-boot-on;
364 regulator-min-microvolt = <1800000>;
365 regulator-max-microvolt = <3400000>;
366 regulator-state-mem {
367 regulator-on-in-suspend;
368 regulator-suspend-microvolt = <3000000>;
373 regulator-name = "vcca3v0_codec";
374 regulator-always-on;
375 regulator-boot-on;
376 regulator-min-microvolt = <1800000>;
377 regulator-max-microvolt = <3400000>;
378 regulator-state-mem {
379 regulator-off-in-suspend;
384 regulator-name = "vcc_1v5";
385 regulator-always-on;
386 regulator-boot-on;
387 regulator-min-microvolt = <800000>;
388 regulator-max-microvolt = <2500000>;
389 regulator-state-mem {
390 regulator-on-in-suspend;
391 regulator-suspend-microvolt = <1500000>;
396 regulator-name = "vcca1v8_codec";
397 regulator-always-on;
398 regulator-boot-on;
399 regulator-min-microvolt = <800000>;
400 regulator-max-microvolt = <2500000>;
401 regulator-state-mem {
402 regulator-off-in-suspend;
407 regulator-name = "vcc_3v0";
408 regulator-always-on;
409 regulator-boot-on;
410 regulator-min-microvolt = <1800000>;
411 regulator-max-microvolt = <3400000>;
412 regulator-state-mem {
413 regulator-on-in-suspend;
414 regulator-suspend-microvolt = <3000000>;
419 regulator-name = "vcc3v3_s3";
420 regulator-always-on;
421 regulator-boot-on;
422 regulator-state-mem {
423 regulator-off-in-suspend;
428 regulator-name = "vcc3v3_s0";
429 regulator-always-on;
430 regulator-boot-on;
431 regulator-state-mem {
432 regulator-off-in-suspend;
441 fcs,suspend-voltage-selector = <1>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&cpu_b_sleep>;
444 regulator-name = "vdd_cpu_b";
445 regulator-min-microvolt = <712500>;
446 regulator-max-microvolt = <1500000>;
447 regulator-ramp-delay = <1000>;
448 regulator-always-on;
449 regulator-boot-on;
450 vin-supply = <&vcc3v3_sys>;
452 regulator-state-mem {
453 regulator-off-in-suspend;
460 fcs,suspend-voltage-selector = <1>;
461 pinctrl-names = "default";
462 pinctrl-0 = <&gpu_sleep>;
463 regulator-name = "vdd_gpu";
464 regulator-min-microvolt = <712500>;
465 regulator-max-microvolt = <1500000>;
466 regulator-ramp-delay = <1000>;
467 regulator-always-on;
468 regulator-boot-on;
469 vin-supply = <&vcc3v3_sys>;
471 regulator-state-mem {
472 regulator-off-in-suspend;
478 i2c-scl-rising-time-ns = <450>;
479 i2c-scl-falling-time-ns = <15>;
484 i2c-scl-rising-time-ns = <450>;
485 i2c-scl-falling-time-ns = <15>;
490 clock-frequency = <400000>;
491 i2c-scl-rising-time-ns = <450>;
492 i2c-scl-falling-time-ns = <15>;
496 compatible = "asahi-kasei,ak09911";
498 vdd-supply = <&vcc3v3_s3>;
499 vid-supply = <&vcc3v3_s3>;
505 interrupt-parent = <&gpio1>;
507 pinctrl-names = "default";
508 pinctrl-0 = <&gsensor_int_l>;
509 vddio-supply = <&vcc3v3_s3>;
515 interrupt-parent = <&gpio1>;
517 pinctrl-names = "default";
518 pinctrl-0 = <&gyr_int_l>;
519 vdd-supply = <&vcc3v3_s3>;
520 vddio-supply = <&vcc3v3_s3>;
526 interrupt-parent = <&gpio4>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&light_int_l>;
530 vdd-supply = <&vcc3v3_s3>;
536 interrupt-parent = <&gpio1>;
538 pinctrl-names = "default";
539 pinctrl-0 = <&chg_cc_int_l>;
540 vbus-supply = <&vbus_typec>;
543 compatible = "usb-c-connector";
544 data-role = "host";
545 label = "USB-C";
546 op-sink-microwatt = <1000000>;
547 power-role = "dual";
548 sink-pdos =
550 source-pdos =
552 try-power-role = "sink";
555 #address-cells = <1>;
556 #size-cells = <0>;
561 remote-endpoint = <&u2phy0_typec_hs>;
567 remote-endpoint = <&tcphy0_typec_ss>;
573 remote-endpoint = <&tcphy0_typec_dp>;
583 bt656-supply = <&vcc_3v0>;
584 audio-supply = <&vcca1v8_codec>;
585 sdmmc-supply = <&vcc_sdio>;
586 gpio1830-supply = <&vcc_3v0>;
591 pmu1830-supply = <&vcc_3v0>;
596 pwr_btn: pwr-btn {
602 phy_intb: phy-intb {
606 phy_rstb: phy-rstb {
612 cpu_b_sleep: cpu-b-sleep {
616 gpu_sleep: gpu-sleep {
620 pmic_int_l: pmic-int-l {
627 sdmmc0_pwr_h: sdmmc0-pwr-h {
634 vcc5v0_host_en: vcc5v0-host-en {
639 vcc5v0_typec_en: vcc5v0-typec-en {
645 sdio-pwrseq {
646 wifi_reg_on_h: wifi-reg-on-h {
652 wifi_host_wake_l: wifi-host-wake-l {
658 bt_reg_on_h: bt-enable-h {
662 bt_host_wake_l: bt-host-wake-l {
666 bt_wake_l: bt-wake-l {
672 gsensor_int_l: gsensor-int-l {
678 gyr_int_l: gyr-int-l {
684 light_int_l: light-int-l {
690 chg_cc_int_l: chg-cc-int-l {
705 vref-supply = <&vcca1v8_s3>;
710 bus-width = <8>;
711 mmc-hs400-1_8v;
712 mmc-hs400-enhanced-strobe;
713 non-removable;
718 bus-width = <4>;
719 cap-sd-highspeed;
720 cap-sdio-irq;
721 clock-frequency = <50000000>;
722 disable-wp;
723 keep-power-in-suspend;
724 max-frequency = <50000000>;
725 mmc-pwrseq = <&sdio_pwrseq>;
726 non-removable;
727 pinctrl-names = "default";
728 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
729 sd-uhs-sdr104;
730 #address-cells = <1>;
731 #size-cells = <0>;
736 compatible = "brcm,bcm4329-fmac";
737 interrupt-parent = <&gpio0>;
739 interrupt-names = "host-wake";
740 pinctrl-names = "default";
741 pinctrl-0 = <&wifi_host_wake_l>;
746 bus-width = <4>;
747 cap-mmc-highspeed;
748 cap-sd-highspeed;
749 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
750 clock-frequency = <150000000>;
751 disable-wp;
752 max-frequency = <150000000>;
753 pinctrl-names = "default";
754 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
755 vmmc-supply = <&vcc3v0_sd>;
756 vqmmc-supply = <&vcc_sdio>;
767 remote-endpoint = <&typec_dp>;
775 remote-endpoint = <&typec_ss>;
785 rockchip,hw-tshut-mode = <1>;
786 rockchip,hw-tshut-polarity = <1>;
793 u2phy0_otg: otg-port {
794 phy-supply = <&vbus_typec>;
798 u2phy0_host: host-port {
799 phy-supply = <&vcc5v0_host>;
805 remote-endpoint = <&typec_hs>;
813 u2phy1_otg: otg-port {
817 u2phy1_host: host-port {
818 phy-supply = <&vcc5v0_host>;
824 pinctrl-names = "default";
825 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
829 compatible = "brcm,bcm43438-bt";
831 clock-names = "lpo";
832 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
833 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
834 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
835 pinctrl-names = "default";
836 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_reg_on_h>;
837 vbat-supply = <&vcc3v3_sys>;
838 vddio-supply = <&vcc_1v8>;