Lines Matching +full:press +full:- +full:threshold +full:- +full:microvolt

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/interrupt-controller/irq.h>
11 #include "dt-bindings/usb/pd.h"
13 #include "rk3399-opp.dtsi"
17 compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399";
27 stdout-path = "serial2:1500000n8";
30 clkin_gmac: external-gmac-clock {
31 compatible = "fixed-clock";
32 clock-frequency = <125000000>;
33 clock-output-names = "clkin_gmac";
34 #clock-cells = <0>;
37 adc-keys {
38 compatible = "adc-keys";
39 io-channels = <&saradc 1>;
40 io-channel-names = "buttons";
41 keyup-threshold-microvolt = <1800000>;
42 poll-interval = <100>;
44 button-up {
47 press-threshold-microvolt = <100000>;
50 button-down {
53 press-threshold-microvolt = <300000>;
56 button-back {
59 press-threshold-microvolt = <985000>;
62 button-menu {
65 press-threshold-microvolt = <1314000>;
69 dc_12v: dc-12v {
70 compatible = "regulator-fixed";
71 regulator-name = "dc_12v";
72 regulator-always-on;
73 regulator-boot-on;
74 regulator-min-microvolt = <12000000>;
75 regulator-max-microvolt = <12000000>;
78 keys: gpio-keys {
79 compatible = "gpio-keys";
82 key-power {
83 debounce-interval = <100>;
87 linux,input-type = <1>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pwr_btn>;
90 wakeup-source;
94 sdio_pwrseq: sdio-pwrseq {
95 compatible = "mmc-pwrseq-simple";
97 clock-names = "ext_clock";
98 pinctrl-names = "default";
99 pinctrl-0 = <&wifi_reg_on_h>;
100 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
104 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
105 compatible = "regulator-fixed";
106 regulator-name = "vcc1v8_s3";
107 regulator-always-on;
108 regulator-boot-on;
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
111 vin-supply = <&vcc_1v8>;
114 vcc3v0_sd: vcc3v0-sd {
115 compatible = "regulator-fixed";
116 enable-active-high;
118 pinctrl-names = "default";
119 pinctrl-0 = <&sdmmc0_pwr_h>;
120 regulator-boot-on;
121 regulator-max-microvolt = <3000000>;
122 regulator-min-microvolt = <3000000>;
123 regulator-name = "vcc3v0_sd";
124 vin-supply = <&vcc3v3_sys>;
127 vcc3v3_sys: vcc3v3-sys {
128 compatible = "regulator-fixed";
129 regulator-name = "vcc3v3_sys";
130 regulator-always-on;
131 regulator-boot-on;
132 regulator-min-microvolt = <3300000>;
133 regulator-max-microvolt = <3300000>;
134 vin-supply = <&vcc_sys>;
137 vcc5v0_host: vcc5v0-host-regulator {
138 compatible = "regulator-fixed";
139 enable-active-high;
141 pinctrl-names = "default";
142 pinctrl-0 = <&vcc5v0_host_en>;
143 regulator-name = "vcc5v0_host";
144 regulator-always-on;
145 vin-supply = <&vcc_sys>;
148 vbus_typec: vbus-typec-regulator {
149 compatible = "regulator-fixed";
150 enable-active-high;
152 pinctrl-names = "default";
153 pinctrl-0 = <&vcc5v0_typec_en>;
154 regulator-name = "vbus_typec";
155 vin-supply = <&vcc_sys>;
158 vcc_sys: vcc-sys {
159 compatible = "regulator-fixed";
160 regulator-name = "vcc_sys";
161 regulator-always-on;
162 regulator-boot-on;
163 regulator-min-microvolt = <5000000>;
164 regulator-max-microvolt = <5000000>;
165 vin-supply = <&dc_12v>;
168 vdd_log: vdd-log {
169 compatible = "pwm-regulator";
171 pwm-supply = <&vcc_sys>;
172 regulator-name = "vdd_log";
173 regulator-always-on;
174 regulator-boot-on;
175 regulator-min-microvolt = <800000>;
176 regulator-max-microvolt = <1400000>;
181 cpu-supply = <&vdd_cpu_l>;
185 cpu-supply = <&vdd_cpu_l>;
189 cpu-supply = <&vdd_cpu_l>;
193 cpu-supply = <&vdd_cpu_l>;
197 cpu-supply = <&vdd_cpu_b>;
201 cpu-supply = <&vdd_cpu_b>;
209 assigned-clocks = <&cru SCLK_RMII_SRC>;
210 assigned-clock-parents = <&clkin_gmac>;
212 phy-supply = <&vcc3v3_s3>;
213 phy-mode = "rgmii";
214 phy-handle = <&rtl8211e>;
215 pinctrl-names = "default";
216 pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
222 compatible = "snps,dwmac-mdio";
223 #address-cells = <1>;
224 #size-cells = <0>;
226 rtl8211e: ethernet-phy@1 {
228 interrupt-parent = <&gpio3>;
230 reset-assert-us = <10000>;
231 reset-deassert-us = <30000>;
232 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
238 mali-supply = <&vdd_gpu>;
243 ddc-i2c-bus = <&i2c3>;
252 clock-frequency = <400000>;
253 i2c-scl-rising-time-ns = <168>;
254 i2c-scl-falling-time-ns = <4>;
260 interrupt-parent = <&gpio1>;
262 #clock-cells = <1>;
263 clock-output-names = "rtc_clko_soc", "rtc_clko_wifi";
264 pinctrl-names = "default";
265 pinctrl-0 = <&pmic_int_l>;
266 rockchip,system-power-controller;
267 wakeup-source;
269 vcc1-supply = <&vcc3v3_sys>;
270 vcc2-supply = <&vcc3v3_sys>;
271 vcc3-supply = <&vcc3v3_sys>;
272 vcc4-supply = <&vcc3v3_sys>;
273 vcc6-supply = <&vcc3v3_sys>;
274 vcc7-supply = <&vcc3v3_sys>;
275 vcc8-supply = <&vcc3v3_sys>;
276 vcc9-supply = <&vcc3v3_sys>;
277 vcc10-supply = <&vcc3v3_sys>;
278 vcc11-supply = <&vcc3v3_sys>;
279 vcc12-supply = <&vcc3v3_sys>;
280 vddio-supply = <&vcc_3v0>;
284 regulator-name = "vdd_center";
285 regulator-always-on;
286 regulator-boot-on;
287 regulator-min-microvolt = <700000>;
288 regulator-max-microvolt = <1500000>;
289 regulator-ramp-delay = <6001>;
290 regulator-state-mem {
291 regulator-off-in-suspend;
296 regulator-name = "vdd_cpu_l";
297 regulator-always-on;
298 regulator-boot-on;
299 regulator-min-microvolt = <700000>;
300 regulator-max-microvolt = <1500000>;
301 regulator-ramp-delay = <6001>;
302 regulator-state-mem {
303 regulator-off-in-suspend;
308 regulator-name = "vcc_ddr";
309 regulator-always-on;
310 regulator-boot-on;
311 regulator-state-mem {
312 regulator-on-in-suspend;
317 regulator-name = "vcc_1v8";
318 regulator-always-on;
319 regulator-boot-on;
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <3300000>;
322 regulator-state-mem {
323 regulator-on-in-suspend;
324 regulator-suspend-microvolt = <1800000>;
329 regulator-name = "vcc1v8_dvp";
330 regulator-always-on;
331 regulator-boot-on;
332 regulator-min-microvolt = <1800000>;
333 regulator-max-microvolt = <3400000>;
334 regulator-state-mem {
335 regulator-off-in-suspend;
340 regulator-name = "vcc3v0_tp";
341 regulator-always-on;
342 regulator-boot-on;
343 regulator-min-microvolt = <1800000>;
344 regulator-max-microvolt = <3400000>;
345 regulator-state-mem {
346 regulator-off-in-suspend;
351 regulator-name = "vcc1v8_pmupll";
352 regulator-always-on;
353 regulator-boot-on;
354 regulator-min-microvolt = <800000>;
355 regulator-max-microvolt = <2500000>;
356 regulator-state-mem {
357 regulator-on-in-suspend;
358 regulator-suspend-microvolt = <1800000>;
363 regulator-name = "vcc_sdio";
364 regulator-always-on;
365 regulator-boot-on;
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <3400000>;
368 regulator-state-mem {
369 regulator-on-in-suspend;
370 regulator-suspend-microvolt = <3000000>;
375 regulator-name = "vcca3v0_codec";
376 regulator-always-on;
377 regulator-boot-on;
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <3400000>;
380 regulator-state-mem {
381 regulator-off-in-suspend;
386 regulator-name = "vcc_1v5";
387 regulator-always-on;
388 regulator-boot-on;
389 regulator-min-microvolt = <800000>;
390 regulator-max-microvolt = <2500000>;
391 regulator-state-mem {
392 regulator-on-in-suspend;
393 regulator-suspend-microvolt = <1500000>;
398 regulator-name = "vcca1v8_codec";
399 regulator-always-on;
400 regulator-boot-on;
401 regulator-min-microvolt = <800000>;
402 regulator-max-microvolt = <2500000>;
403 regulator-state-mem {
404 regulator-off-in-suspend;
409 regulator-name = "vcc_3v0";
410 regulator-always-on;
411 regulator-boot-on;
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <3400000>;
414 regulator-state-mem {
415 regulator-on-in-suspend;
416 regulator-suspend-microvolt = <3000000>;
421 regulator-name = "vcc3v3_s3";
422 regulator-always-on;
423 regulator-boot-on;
424 regulator-state-mem {
425 regulator-off-in-suspend;
430 regulator-name = "vcc3v3_s0";
431 regulator-always-on;
432 regulator-boot-on;
433 regulator-state-mem {
434 regulator-off-in-suspend;
443 fcs,suspend-voltage-selector = <1>;
444 pinctrl-names = "default";
445 pinctrl-0 = <&cpu_b_sleep>;
446 regulator-name = "vdd_cpu_b";
447 regulator-min-microvolt = <712500>;
448 regulator-max-microvolt = <1500000>;
449 regulator-ramp-delay = <1000>;
450 regulator-always-on;
451 regulator-boot-on;
452 vin-supply = <&vcc3v3_sys>;
454 regulator-state-mem {
455 regulator-off-in-suspend;
462 fcs,suspend-voltage-selector = <1>;
463 pinctrl-names = "default";
464 pinctrl-0 = <&gpu_sleep>;
465 regulator-name = "vdd_gpu";
466 regulator-min-microvolt = <712500>;
467 regulator-max-microvolt = <1500000>;
468 regulator-ramp-delay = <1000>;
469 regulator-always-on;
470 regulator-boot-on;
471 vin-supply = <&vcc3v3_sys>;
473 regulator-state-mem {
474 regulator-off-in-suspend;
480 i2c-scl-rising-time-ns = <450>;
481 i2c-scl-falling-time-ns = <15>;
486 i2c-scl-rising-time-ns = <450>;
487 i2c-scl-falling-time-ns = <15>;
492 clock-frequency = <400000>;
493 i2c-scl-rising-time-ns = <450>;
494 i2c-scl-falling-time-ns = <15>;
498 compatible = "asahi-kasei,ak09911";
500 vdd-supply = <&vcc3v3_s3>;
501 vid-supply = <&vcc3v3_s3>;
507 interrupt-parent = <&gpio1>;
509 pinctrl-names = "default";
510 pinctrl-0 = <&gsensor_int_l>;
511 vddio-supply = <&vcc3v3_s3>;
517 interrupt-parent = <&gpio1>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&gyr_int_l>;
521 vdd-supply = <&vcc3v3_s3>;
522 vddio-supply = <&vcc3v3_s3>;
528 interrupt-parent = <&gpio4>;
530 pinctrl-names = "default";
531 pinctrl-0 = <&light_int_l>;
532 vdd-supply = <&vcc3v3_s3>;
538 interrupt-parent = <&gpio1>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&chg_cc_int_l>;
542 vbus-supply = <&vbus_typec>;
545 compatible = "usb-c-connector";
546 data-role = "host";
547 label = "USB-C";
548 op-sink-microwatt = <1000000>;
549 power-role = "dual";
550 sink-pdos =
552 source-pdos =
554 try-power-role = "sink";
557 #address-cells = <1>;
558 #size-cells = <0>;
563 remote-endpoint = <&u2phy0_typec_hs>;
569 remote-endpoint = <&tcphy0_typec_ss>;
575 remote-endpoint = <&tcphy0_typec_dp>;
585 bt656-supply = <&vcc_3v0>;
586 audio-supply = <&vcca1v8_codec>;
587 sdmmc-supply = <&vcc_sdio>;
588 gpio1830-supply = <&vcc_3v0>;
593 pmu1830-supply = <&vcc_3v0>;
598 pwr_btn: pwr-btn {
604 phy_intb: phy-intb {
608 phy_rstb: phy-rstb {
614 cpu_b_sleep: cpu-b-sleep {
618 gpu_sleep: gpu-sleep {
622 pmic_int_l: pmic-int-l {
629 sdmmc0_pwr_h: sdmmc0-pwr-h {
636 vcc5v0_host_en: vcc5v0-host-en {
641 vcc5v0_typec_en: vcc5v0-typec-en {
647 sdio-pwrseq {
648 wifi_reg_on_h: wifi-reg-on-h {
654 wifi_host_wake_l: wifi-host-wake-l {
660 bt_reg_on_h: bt-enable-h {
664 bt_host_wake_l: bt-host-wake-l {
668 bt_wake_l: bt-wake-l {
674 gsensor_int_l: gsensor-int-l {
680 gyr_int_l: gyr-int-l {
686 light_int_l: light-int-l {
692 chg_cc_int_l: chg-cc-int-l {
707 vref-supply = <&vcca1v8_s3>;
712 bus-width = <8>;
713 mmc-hs400-1_8v;
714 mmc-hs400-enhanced-strobe;
715 non-removable;
720 bus-width = <4>;
721 cap-sd-highspeed;
722 cap-sdio-irq;
723 clock-frequency = <50000000>;
724 disable-wp;
725 keep-power-in-suspend;
726 max-frequency = <50000000>;
727 mmc-pwrseq = <&sdio_pwrseq>;
728 non-removable;
729 pinctrl-names = "default";
730 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
731 sd-uhs-sdr104;
732 #address-cells = <1>;
733 #size-cells = <0>;
738 compatible = "brcm,bcm4329-fmac";
739 interrupt-parent = <&gpio0>;
741 interrupt-names = "host-wake";
742 pinctrl-names = "default";
743 pinctrl-0 = <&wifi_host_wake_l>;
748 bus-width = <4>;
749 cap-mmc-highspeed;
750 cap-sd-highspeed;
751 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
752 clock-frequency = <150000000>;
753 disable-wp;
754 max-frequency = <150000000>;
755 pinctrl-names = "default";
756 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
757 vmmc-supply = <&vcc3v0_sd>;
758 vqmmc-supply = <&vcc_sdio>;
769 remote-endpoint = <&typec_dp>;
777 remote-endpoint = <&typec_ss>;
787 rockchip,hw-tshut-mode = <1>;
788 rockchip,hw-tshut-polarity = <1>;
795 u2phy0_otg: otg-port {
796 phy-supply = <&vbus_typec>;
800 u2phy0_host: host-port {
801 phy-supply = <&vcc5v0_host>;
807 remote-endpoint = <&typec_hs>;
815 u2phy1_otg: otg-port {
819 u2phy1_host: host-port {
820 phy-supply = <&vcc5v0_host>;
826 pinctrl-names = "default";
827 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
831 compatible = "brcm,bcm43438-bt";
833 clock-names = "lpo";
834 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
835 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
836 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
837 pinctrl-names = "default";
838 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_reg_on_h>;
839 vbat-supply = <&vcc3v3_sys>;
840 vddio-supply = <&vcc_1v8>;