Lines Matching +full:regulator +full:- +full:state +full:- +full:mem
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/usb/pd.h>
14 compatible = "xunlong,orangepi-5", "rockchip,rk3588s";
22 stdout-path = "serial2:1500000n8";
25 adc-keys {
26 compatible = "adc-keys";
27 io-channels = <&saradc 1>;
28 io-channel-names = "buttons";
29 keyup-threshold-microvolt = <1800000>;
30 poll-interval = <100>;
32 button-recovery {
35 press-threshold-microvolt = <1800>;
40 compatible = "gpio-leds";
41 pinctrl-names = "default";
42 pinctrl-0 = <&leds_gpio>;
44 led-1 {
47 linux,default-trigger = "heartbeat";
51 vbus_typec: vbus-typec-regulator {
52 compatible = "regulator-fixed";
53 enable-active-high;
55 pinctrl-names = "default";
56 pinctrl-0 = <&typec5v_pwren>;
57 regulator-name = "vbus_typec";
58 regulator-min-microvolt = <5000000>;
59 regulator-max-microvolt = <5000000>;
60 vin-supply = <&vcc5v0_sys>;
63 vcc5v0_sys: vcc5v0-sys-regulator {
64 compatible = "regulator-fixed";
65 regulator-name = "vcc5v0_sys";
66 regulator-always-on;
67 regulator-boot-on;
68 regulator-min-microvolt = <5000000>;
69 regulator-max-microvolt = <5000000>;
72 vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator {
73 compatible = "regulator-fixed";
74 enable-active-low;
76 regulator-name = "vcc_3v3_sd_s0";
77 regulator-boot-on;
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
80 vin-supply = <&vcc_3v3_s3>;
83 vcc3v3_pcie20: vcc3v3-pcie20-regulator {
84 compatible = "regulator-fixed";
85 enable-active-high;
87 regulator-name = "vcc3v3_pcie20";
88 regulator-boot-on;
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 startup-delay-us = <50000>;
92 vin-supply = <&vcc5v0_sys>;
105 cpu-supply = <&vdd_cpu_big0_s0>;
109 cpu-supply = <&vdd_cpu_big0_s0>;
113 cpu-supply = <&vdd_cpu_big1_s0>;
117 cpu-supply = <&vdd_cpu_big1_s0>;
121 cpu-supply = <&vdd_cpu_lit_s0>;
125 cpu-supply = <&vdd_cpu_lit_s0>;
129 cpu-supply = <&vdd_cpu_lit_s0>;
133 cpu-supply = <&vdd_cpu_lit_s0>;
138 phy-handle = <&rgmii_phy1>;
139 phy-mode = "rgmii-rxid";
140 pinctrl-0 = <&gmac1_miim
145 pinctrl-names = "default";
151 mali-supply = <&vdd_gpu_s0>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&i2c0m2_xfer>;
160 vdd_cpu_big0_s0: regulator@42 {
163 fcs,suspend-voltage-selector = <1>;
164 regulator-name = "vdd_cpu_big0_s0";
165 regulator-always-on;
166 regulator-boot-on;
167 regulator-min-microvolt = <550000>;
168 regulator-max-microvolt = <1050000>;
169 regulator-ramp-delay = <2300>;
170 vin-supply = <&vcc5v0_sys>;
172 regulator-state-mem {
173 regulator-off-in-suspend;
177 vdd_cpu_big1_s0: regulator@43 {
180 fcs,suspend-voltage-selector = <1>;
181 regulator-name = "vdd_cpu_big1_s0";
182 regulator-always-on;
183 regulator-boot-on;
184 regulator-min-microvolt = <550000>;
185 regulator-max-microvolt = <1050000>;
186 regulator-ramp-delay = <2300>;
187 vin-supply = <&vcc5v0_sys>;
189 regulator-state-mem {
190 regulator-off-in-suspend;
198 vdd_npu_s0: regulator@42 {
201 fcs,suspend-voltage-selector = <1>;
202 regulator-name = "vdd_npu_s0";
203 regulator-always-on;
204 regulator-boot-on;
205 regulator-min-microvolt = <550000>;
206 regulator-max-microvolt = <950000>;
207 regulator-ramp-delay = <2300>;
208 vin-supply = <&vcc5v0_sys>;
210 regulator-state-mem {
211 regulator-off-in-suspend;
217 pinctrl-names = "default";
218 pinctrl-0 = <&i2c6m3_xfer>;
221 usbc0: usb-typec@22 {
224 interrupt-parent = <&gpio0>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&usbc0_int>;
228 vbus-supply = <&vbus_typec>;
232 compatible = "usb-c-connector";
233 label = "USB-C";
234 data-role = "dual";
235 op-sink-microwatt = <1000000>;
236 power-role = "dual";
237 sink-pdos =
239 source-pdos =
241 try-power-role = "source";
244 #address-cells = <1>;
245 #size-cells = <0>;
250 remote-endpoint = <&usb_host0_xhci_drd_sw>;
257 remote-endpoint = <&usbdp_phy0_typec_ss>;
264 remote-endpoint = <&usbdp_phy0_typec_sbu>;
274 #clock-cells = <0>;
275 clock-output-names = "hym8563";
276 pinctrl-names = "default";
277 pinctrl-0 = <&hym8563_int>;
278 interrupt-parent = <&gpio0>;
280 wakeup-source;
285 rgmii_phy1: ethernet-phy@1 {
286 compatible = "ethernet-phy-ieee802.3-c22";
288 reset-assert-us = <20000>;
289 reset-deassert-us = <100000>;
290 reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>;
295 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
296 vpcie3v3-supply = <&vcc3v3_pcie20>;
301 gpio-func {
302 leds_gpio: leds-gpio {
308 hym8563_int: hym8563-int {
313 usb-typec {
314 usbc0_int: usbc0-int {
318 typec5v_pwren: typec5v-pwren {
325 vref-supply = <&avcc_1v8_s0>;
330 bus-width = <4>;
331 cap-sd-highspeed;
332 disable-wp;
333 max-frequency = <150000000>;
334 no-mmc;
335 no-sdio;
336 sd-uhs-sdr104;
337 vmmc-supply = <&vcc_3v3_sd_s0>;
338 vqmmc-supply = <&vccio_sd_s0>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&fspim0_pins>;
348 compatible = "jedec,spi-nor";
350 spi-max-frequency = <100000000>;
351 spi-rx-bus-width = <4>;
352 spi-tx-bus-width = <1>;
358 assigned-clocks = <&cru CLK_SPI2>;
359 assigned-clock-rates = <200000000>;
360 num-cs = <1>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
367 interrupt-parent = <&gpio0>;
369 pinctrl-names = "default";
370 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
372 spi-max-frequency = <1000000>;
373 system-power-controller;
375 vcc1-supply = <&vcc5v0_sys>;
376 vcc2-supply = <&vcc5v0_sys>;
377 vcc3-supply = <&vcc5v0_sys>;
378 vcc4-supply = <&vcc5v0_sys>;
379 vcc5-supply = <&vcc5v0_sys>;
380 vcc6-supply = <&vcc5v0_sys>;
381 vcc7-supply = <&vcc5v0_sys>;
382 vcc8-supply = <&vcc5v0_sys>;
383 vcc9-supply = <&vcc5v0_sys>;
384 vcc10-supply = <&vcc5v0_sys>;
385 vcc11-supply = <&vcc_2v0_pldo_s3>;
386 vcc12-supply = <&vcc5v0_sys>;
387 vcc13-supply = <&vcc_1v1_nldo_s3>;
388 vcc14-supply = <&vcc_1v1_nldo_s3>;
389 vcca-supply = <&vcc5v0_sys>;
391 gpio-controller;
392 #gpio-cells = <2>;
394 rk806_dvs1_null: dvs1-null-pins {
399 rk806_dvs2_null: dvs2-null-pins {
404 rk806_dvs3_null: dvs3-null-pins {
410 vdd_gpu_s0: dcdc-reg1 {
411 regulator-name = "vdd_gpu_s0";
412 regulator-boot-on;
413 regulator-min-microvolt = <550000>;
414 regulator-max-microvolt = <950000>;
415 regulator-ramp-delay = <12500>;
416 regulator-enable-ramp-delay = <400>;
418 regulator-state-mem {
419 regulator-off-in-suspend;
423 vdd_cpu_lit_s0: dcdc-reg2 {
424 regulator-name = "vdd_cpu_lit_s0";
425 regulator-always-on;
426 regulator-boot-on;
427 regulator-min-microvolt = <550000>;
428 regulator-max-microvolt = <950000>;
429 regulator-ramp-delay = <12500>;
431 regulator-state-mem {
432 regulator-off-in-suspend;
436 vdd_log_s0: dcdc-reg3 {
437 regulator-name = "vdd_log_s0";
438 regulator-always-on;
439 regulator-boot-on;
440 regulator-min-microvolt = <675000>;
441 regulator-max-microvolt = <750000>;
442 regulator-ramp-delay = <12500>;
444 regulator-state-mem {
445 regulator-off-in-suspend;
446 regulator-suspend-microvolt = <750000>;
450 vdd_vdenc_s0: dcdc-reg4 {
451 regulator-name = "vdd_vdenc_s0";
452 regulator-always-on;
453 regulator-boot-on;
454 regulator-min-microvolt = <550000>;
455 regulator-max-microvolt = <950000>;
456 regulator-ramp-delay = <12500>;
458 regulator-state-mem {
459 regulator-off-in-suspend;
463 vdd_ddr_s0: dcdc-reg5 {
464 regulator-name = "vdd_ddr_s0";
465 regulator-always-on;
466 regulator-boot-on;
467 regulator-min-microvolt = <675000>;
468 regulator-max-microvolt = <900000>;
469 regulator-ramp-delay = <12500>;
471 regulator-state-mem {
472 regulator-off-in-suspend;
473 regulator-suspend-microvolt = <850000>;
477 vcc_1v1_nldo_s3: vdd2_ddr_s3: dcdc-reg6 {
478 regulator-name = "vdd2_ddr_s3";
479 regulator-always-on;
480 regulator-boot-on;
481 regulator-max-microvolt = <1100000>;
482 regulator-min-microvolt = <1100000>;
484 regulator-state-mem {
485 regulator-on-in-suspend;
489 vcc_2v0_pldo_s3: dcdc-reg7 {
490 regulator-name = "vdd_2v0_pldo_s3";
491 regulator-always-on;
492 regulator-boot-on;
493 regulator-min-microvolt = <2000000>;
494 regulator-max-microvolt = <2000000>;
495 regulator-ramp-delay = <12500>;
497 regulator-state-mem {
498 regulator-on-in-suspend;
499 regulator-suspend-microvolt = <2000000>;
503 vcc_3v3_s3: dcdc-reg8 {
504 regulator-name = "vcc_3v3_s3";
505 regulator-always-on;
506 regulator-boot-on;
507 regulator-min-microvolt = <3300000>;
508 regulator-max-microvolt = <3300000>;
510 regulator-state-mem {
511 regulator-on-in-suspend;
512 regulator-suspend-microvolt = <3300000>;
516 vddq_ddr_s0: dcdc-reg9 {
517 regulator-name = "vddq_ddr_s0";
518 regulator-always-on;
519 regulator-boot-on;
521 regulator-state-mem {
522 regulator-off-in-suspend;
526 vcc_1v8_s3: dcdc-reg10 {
527 regulator-name = "vcc_1v8_s3";
528 regulator-always-on;
529 regulator-boot-on;
530 regulator-min-microvolt = <1800000>;
531 regulator-max-microvolt = <1800000>;
533 regulator-state-mem {
534 regulator-on-in-suspend;
535 regulator-suspend-microvolt = <1800000>;
539 avcc_1v8_s0: pldo-reg1 {
540 regulator-name = "avcc_1v8_s0";
541 regulator-always-on;
542 regulator-boot-on;
543 regulator-min-microvolt = <1800000>;
544 regulator-max-microvolt = <1800000>;
546 regulator-state-mem {
547 regulator-off-in-suspend;
551 vcc_1v8_s0: pldo-reg2 {
552 regulator-name = "vcc_1v8_s0";
553 regulator-always-on;
554 regulator-boot-on;
555 regulator-min-microvolt = <1800000>;
556 regulator-max-microvolt = <1800000>;
558 regulator-state-mem {
559 regulator-off-in-suspend;
560 regulator-suspend-microvolt = <1800000>;
564 avdd_1v2_s0: pldo-reg3 {
565 regulator-name = "avdd_1v2_s0";
566 regulator-always-on;
567 regulator-boot-on;
568 regulator-min-microvolt = <1200000>;
569 regulator-max-microvolt = <1200000>;
571 regulator-state-mem {
572 regulator-off-in-suspend;
576 vcc_3v3_s0: pldo-reg4 {
577 regulator-name = "vcc_3v3_s0";
578 regulator-always-on;
579 regulator-boot-on;
580 regulator-min-microvolt = <3300000>;
581 regulator-max-microvolt = <3300000>;
582 regulator-ramp-delay = <12500>;
584 regulator-state-mem {
585 regulator-off-in-suspend;
589 vccio_sd_s0: pldo-reg5 {
590 regulator-name = "vccio_sd_s0";
591 regulator-always-on;
592 regulator-boot-on;
593 regulator-min-microvolt = <1800000>;
594 regulator-max-microvolt = <3300000>;
595 regulator-ramp-delay = <12500>;
597 regulator-state-mem {
598 regulator-off-in-suspend;
602 pldo6_s3: pldo-reg6 {
603 regulator-name = "pldo6_s3";
604 regulator-always-on;
605 regulator-boot-on;
606 regulator-min-microvolt = <1800000>;
607 regulator-max-microvolt = <1800000>;
609 regulator-state-mem {
610 regulator-on-in-suspend;
611 regulator-suspend-microvolt = <1800000>;
615 vdd_0v75_s3: nldo-reg1 {
616 regulator-name = "vdd_0v75_s3";
617 regulator-always-on;
618 regulator-boot-on;
619 regulator-min-microvolt = <750000>;
620 regulator-max-microvolt = <750000>;
622 regulator-state-mem {
623 regulator-on-in-suspend;
624 regulator-suspend-microvolt = <750000>;
628 vdd_ddr_pll_s0: nldo-reg2 {
629 regulator-name = "vdd_ddr_pll_s0";
630 regulator-always-on;
631 regulator-boot-on;
632 regulator-min-microvolt = <850000>;
633 regulator-max-microvolt = <850000>;
635 regulator-state-mem {
636 regulator-off-in-suspend;
637 regulator-suspend-microvolt = <850000>;
641 avdd_0v75_s0: nldo-reg3 {
642 regulator-name = "avdd_0v75_s0";
643 regulator-always-on;
644 regulator-boot-on;
645 regulator-min-microvolt = <750000>;
646 regulator-max-microvolt = <750000>;
648 regulator-state-mem {
649 regulator-off-in-suspend;
653 vdd_0v85_s0: nldo-reg4 {
654 regulator-name = "vdd_0v85_s0";
655 regulator-always-on;
656 regulator-boot-on;
657 regulator-min-microvolt = <850000>;
658 regulator-max-microvolt = <850000>;
660 regulator-state-mem {
661 regulator-off-in-suspend;
665 vdd_0v75_s0: nldo-reg5 {
666 regulator-name = "vdd_0v75_s0";
667 regulator-always-on;
668 regulator-boot-on;
669 regulator-min-microvolt = <750000>;
670 regulator-max-microvolt = <750000>;
672 regulator-state-mem {
673 regulator-off-in-suspend;
709 pinctrl-0 = <&uart2m0_xfer>;
714 mode-switch;
715 orientation-switch;
716 sbu1-dc-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
717 sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
721 #address-cells = <1>;
722 #size-cells = <0>;
726 remote-endpoint = <&usbc0_ss>;
731 remote-endpoint = <&usbc0_sbu>;
746 usb-role-switch;
751 remote-endpoint = <&usbc0_hs>;