Lines Matching +full:nldo +full:- +full:reg2
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/pinctrl/rockchip.h>
13 #include <dt-bindings/soc/rockchip,vop2.h>
14 #include <dt-bindings/usb/pd.h>
18 model = "FriendlyElec NanoPC-T6";
19 compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588";
26 adc-keys-0 {
27 compatible = "adc-keys";
28 io-channels = <&saradc 0>;
29 io-channel-names = "buttons";
30 keyup-threshold-microvolt = <1800000>;
31 poll-interval = <100>;
33 button-maskrom {
36 press-threshold-microvolt = <2000>;
41 stdout-path = "serial2:1500000n8";
44 hdmi0-con {
45 compatible = "hdmi-connector";
50 remote-endpoint = <&hdmi0_out_con>;
55 hdmi1-con {
56 compatible = "hdmi-connector";
61 remote-endpoint = <&hdmi1_out_con>;
66 ir-receiver {
67 compatible = "gpio-ir-receiver";
69 pinctrl-names = "default";
70 pinctrl-0 = <&ir_receiver_pin>;
74 compatible = "gpio-leds";
76 sys_led: led-0 {
78 label = "system-led";
79 linux,default-trigger = "heartbeat";
80 pinctrl-names = "default";
81 pinctrl-0 = <&sys_led_pin>;
84 usr_led: led-1 {
86 label = "user-led";
87 pinctrl-names = "default";
88 pinctrl-0 = <&usr_led_pin>;
93 compatible = "simple-audio-card";
94 pinctrl-names = "default";
95 pinctrl-0 = <&hp_det>;
97 simple-audio-card,name = "realtek,rt5616-codec";
98 simple-audio-card,format = "i2s";
99 simple-audio-card,mclk-fs = <256>;
101 simple-audio-card,hp-det-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_LOW>;
103 simple-audio-card,widgets =
106 simple-audio-card,routing =
112 simple-audio-card,cpu {
113 sound-dai = <&i2s0_8ch>;
115 simple-audio-card,codec {
116 sound-dai = <&rt5616>;
120 vcc12v_dcin: regulator-vcc12v-dcin {
121 compatible = "regulator-fixed";
122 regulator-name = "vcc12v_dcin";
123 regulator-always-on;
124 regulator-boot-on;
125 regulator-min-microvolt = <12000000>;
126 regulator-max-microvolt = <12000000>;
130 vcc5v0_sys: regulator-vcc5v0-sys {
131 compatible = "regulator-fixed";
132 regulator-name = "vcc5v0_sys";
133 regulator-always-on;
134 regulator-boot-on;
135 regulator-min-microvolt = <5000000>;
136 regulator-max-microvolt = <5000000>;
137 vin-supply = <&vcc12v_dcin>;
141 vcc4v0_sys: regulator-vcc4v0-sys {
142 compatible = "regulator-fixed";
143 regulator-name = "vcc4v0_sys";
144 regulator-always-on;
145 regulator-boot-on;
146 regulator-min-microvolt = <4000000>;
147 regulator-max-microvolt = <4000000>;
148 vin-supply = <&vcc12v_dcin>;
151 vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 {
152 compatible = "regulator-fixed";
153 regulator-name = "vcc-1v1-nldo-s3";
154 regulator-always-on;
155 regulator-boot-on;
156 regulator-min-microvolt = <1100000>;
157 regulator-max-microvolt = <1100000>;
158 vin-supply = <&vcc4v0_sys>;
161 vcc_3v3_pcie20: regulator-vcc3v3-pcie20 {
162 compatible = "regulator-fixed";
163 regulator-name = "vcc_3v3_pcie20";
164 regulator-always-on;
165 regulator-boot-on;
166 regulator-min-microvolt = <3300000>;
167 regulator-max-microvolt = <3300000>;
168 vin-supply = <&vcc_3v3_s3>;
171 vbus5v0_typec: regulator-vbus5v0-typec {
172 compatible = "regulator-fixed";
173 enable-active-high;
175 pinctrl-names = "default";
176 pinctrl-0 = <&typec5v_pwren>;
177 regulator-name = "vbus5v0_typec";
178 regulator-min-microvolt = <5000000>;
179 regulator-max-microvolt = <5000000>;
180 vin-supply = <&vcc5v0_sys>;
183 vbus5v0_usb: regulator-vbus5v0-usb {
184 compatible = "regulator-fixed";
185 enable-active-high;
187 pinctrl-names = "default";
188 pinctrl-0 = <&usb5v_pwren>;
189 regulator-name = "vbus5v0_usb";
190 regulator-min-microvolt = <5000000>;
191 regulator-max-microvolt = <5000000>;
192 vin-supply = <&vcc5v0_sys>;
195 vcc3v3_pcie2x1l0: regulator-vcc3v3-pcie2x1l0 {
196 compatible = "regulator-fixed";
197 enable-active-high;
199 pinctrl-names = "default";
200 pinctrl-0 = <&pcie_m2_1_pwren>;
201 regulator-name = "vcc3v3_pcie2x1l0";
202 regulator-min-microvolt = <3300000>;
203 regulator-max-microvolt = <3300000>;
204 vin-supply = <&vcc5v0_sys>;
207 vcc3v3_pcie30: regulator-vcc3v3-pcie30 {
208 compatible = "regulator-fixed";
209 enable-active-high;
211 pinctrl-names = "default";
212 pinctrl-0 = <&pcie_m2_0_pwren>;
213 regulator-name = "vcc3v3_pcie30";
214 regulator-min-microvolt = <3300000>;
215 regulator-max-microvolt = <3300000>;
216 vin-supply = <&vcc5v0_sys>;
219 vcc3v3_sd_s0: regulator-vcc3v3-sd-s0 {
220 compatible = "regulator-fixed";
222 regulator-boot-on;
223 regulator-max-microvolt = <3300000>;
224 regulator-min-microvolt = <3300000>;
225 regulator-name = "vcc3v3_sd_s0";
226 vin-supply = <&vcc_3v3_s3>;
243 cpu-supply = <&vdd_cpu_lit_s0>;
247 cpu-supply = <&vdd_cpu_lit_s0>;
251 cpu-supply = <&vdd_cpu_lit_s0>;
255 cpu-supply = <&vdd_cpu_lit_s0>;
259 cpu-supply = <&vdd_cpu_big0_s0>;
263 cpu-supply = <&vdd_cpu_big0_s0>;
267 cpu-supply = <&vdd_cpu_big1_s0>;
271 cpu-supply = <&vdd_cpu_big1_s0>;
275 gpio-line-names = /* GPIO0 A0-A7 */
278 /* GPIO0 B0-B7 */
281 /* GPIO0 C0-C7 */
284 /* GPIO0 D0-D7 */
290 gpio-line-names = /* GPIO1 A0-A7 */
293 /* GPIO1 B0-B7 */
296 /* GPIO1 C0-C7 */
299 /* GPIO1 D0-D7 */
305 gpio-line-names = /* GPIO2 A0-A7 */
308 /* GPIO2 B0-B7 */
311 /* GPIO2 C0-C7 */
314 /* GPIO2 D0-D7 */
320 gpio-line-names = /* GPIO3 A0-A7 */
323 /* GPIO3 B0-B7 */
326 /* GPIO3 C0-C7 */
329 /* GPIO3 D0-D7 */
335 gpio-line-names = /* GPIO4 A0-A7 */
338 /* GPIO4 B0-B7 */
341 /* GPIO4 C0-C7 */
344 /* GPIO4 D0-D7 */
350 mali-supply = <&vdd_gpu_s0>;
360 remote-endpoint = <&vp0_out_hdmi0>;
366 remote-endpoint = <&hdmi0_con_in>;
380 remote-endpoint = <&vp1_out_hdmi1>;
386 remote-endpoint = <&hdmi1_con_in>;
403 pinctrl-names = "default";
404 pinctrl-0 = <&i2c0m2_xfer>;
410 fcs,suspend-voltage-selector = <1>;
411 regulator-name = "vdd_cpu_big0_s0";
412 regulator-always-on;
413 regulator-boot-on;
414 regulator-min-microvolt = <550000>;
415 regulator-max-microvolt = <1050000>;
416 regulator-ramp-delay = <2300>;
417 vin-supply = <&vcc4v0_sys>;
419 regulator-state-mem {
420 regulator-off-in-suspend;
427 fcs,suspend-voltage-selector = <1>;
428 regulator-name = "vdd_cpu_big1_s0";
429 regulator-always-on;
430 regulator-boot-on;
431 regulator-min-microvolt = <550000>;
432 regulator-max-microvolt = <1050000>;
433 regulator-ramp-delay = <2300>;
434 vin-supply = <&vcc4v0_sys>;
436 regulator-state-mem {
437 regulator-off-in-suspend;
448 fcs,suspend-voltage-selector = <1>;
449 regulator-name = "vdd_npu_s0";
450 regulator-always-on;
451 regulator-boot-on;
452 regulator-min-microvolt = <550000>;
453 regulator-max-microvolt = <950000>;
454 regulator-ramp-delay = <2300>;
455 vin-supply = <&vcc4v0_sys>;
457 regulator-state-mem {
458 regulator-off-in-suspend;
466 usbc0: usb-typec@22 {
469 interrupt-parent = <&gpio0>;
471 pinctrl-names = "default";
472 pinctrl-0 = <&usbc0_int>;
473 vbus-supply = <&vbus5v0_typec>;
477 compatible = "usb-c-connector";
478 data-role = "dual";
479 label = "USB-C";
480 op-sink-microwatt = <1000000>;
482 pd-revision = /bits/ 8 <0x2 0x0 0x1 0x2>;
483 power-role = "dual";
484 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
485 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
486 try-power-role = "source";
487 typec-power-opmode = "1.5A";
490 #address-cells = <1>;
491 #size-cells = <0>;
496 remote-endpoint = <&usb_host0_xhci_drd_sw>;
503 remote-endpoint = <&usbdp_phy0_typec_ss>;
510 remote-endpoint = <&usbdp_phy0_typec_sbu>;
520 #clock-cells = <0>;
521 clock-output-names = "hym8563";
522 pinctrl-names = "default";
523 pinctrl-0 = <&hym8563_int>;
524 interrupt-parent = <&gpio0>;
526 wakeup-source;
531 clock-frequency = <200000>;
538 clock-names = "mclk";
539 #sound-dai-cells = <0>;
540 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
541 assigned-clock-rates = <12288000>;
545 remote-endpoint = <&i2s0_8ch_p0_0>;
550 /* connected with MIPI-CSI1 */
554 pinctrl-0 = <&i2c8m2_xfer>;
558 pinctrl-names = "default";
559 pinctrl-0 = <&i2s0_lrck
568 dai-format = "i2s";
569 mclk-fs = <256>;
570 remote-endpoint = <&rt5616_p0_0>;
584 reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
585 vpcie3v3-supply = <&vcc_3v3_pcie20>;
586 pinctrl-names = "default";
587 pinctrl-0 = <&pcie2_0_rst>;
592 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
593 vpcie3v3-supply = <&vcc3v3_pcie2x1l0>;
594 pinctrl-names = "default";
595 pinctrl-0 = <&pcie2_1_rst>;
600 reset-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
601 vpcie3v3-supply = <&vcc_3v3_pcie20>;
602 pinctrl-names = "default";
603 pinctrl-0 = <&pcie2_2_rst>;
612 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
613 vpcie3v3-supply = <&vcc3v3_pcie30>;
618 domain-supply = <&vdd_gpu_s0>;
622 gpio-leds {
623 sys_led_pin: sys-led-pin {
627 usr_led_pin: usr-led-pin {
633 hp_det: hp-det {
639 hym8563_int: hym8563-int {
644 ir-receiver {
645 ir_receiver_pin: ir-receiver-pin {
651 pcie2_0_rst: pcie2-0-rst {
655 pcie2_1_rst: pcie2-1-rst {
659 pcie2_2_rst: pcie2-2-rst {
663 pcie_m2_0_pwren: pcie-m20-pwren {
667 pcie_m2_1_pwren: pcie-m21-pwren {
673 typec5v_pwren: typec5v-pwren {
681 usbc0_int: usbc0-int {
688 pinctrl-0 = <&pwm1m1_pins>;
693 vref-supply = <&avcc_1v8_s0>;
698 bus-width = <8>;
699 no-sdio;
700 no-sd;
701 non-removable;
702 max-frequency = <200000000>;
703 mmc-hs400-1_8v;
704 mmc-hs400-enhanced-strobe;
709 bus-width = <4>;
710 cap-mmc-highspeed;
711 cap-sd-highspeed;
712 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
713 disable-wp;
714 no-mmc;
715 no-sdio;
716 sd-uhs-sdr104;
717 vmmc-supply = <&vcc3v3_sd_s0>;
718 vqmmc-supply = <&vccio_sd_s0>;
722 /* optional on non-LTS, populated on LTS version */
724 pinctrl-names = "default";
725 pinctrl-0 = <&fspim1_pins>;
729 compatible = "jedec,spi-nor";
731 spi-max-frequency = <104000000>;
732 spi-rx-bus-width = <4>;
733 spi-tx-bus-width = <1>;
739 assigned-clocks = <&cru CLK_SPI2>;
740 assigned-clock-rates = <200000000>;
741 pinctrl-names = "default";
742 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
743 num-cs = <1>;
747 spi-max-frequency = <1000000>;
750 interrupt-parent = <&gpio0>;
753 pinctrl-names = "default";
754 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
757 system-power-controller;
759 vcc1-supply = <&vcc4v0_sys>;
760 vcc2-supply = <&vcc4v0_sys>;
761 vcc3-supply = <&vcc4v0_sys>;
762 vcc4-supply = <&vcc4v0_sys>;
763 vcc5-supply = <&vcc4v0_sys>;
764 vcc6-supply = <&vcc4v0_sys>;
765 vcc7-supply = <&vcc4v0_sys>;
766 vcc8-supply = <&vcc4v0_sys>;
767 vcc9-supply = <&vcc4v0_sys>;
768 vcc10-supply = <&vcc4v0_sys>;
769 vcc11-supply = <&vcc_2v0_pldo_s3>;
770 vcc12-supply = <&vcc4v0_sys>;
771 vcc13-supply = <&vcc_1v1_nldo_s3>;
772 vcc14-supply = <&vcc_1v1_nldo_s3>;
773 vcca-supply = <&vcc4v0_sys>;
775 gpio-controller;
776 #gpio-cells = <2>;
778 rk806_dvs1_null: dvs1-null-pins {
783 rk806_dvs2_null: dvs2-null-pins {
788 rk806_dvs3_null: dvs3-null-pins {
794 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
795 regulator-boot-on;
796 regulator-min-microvolt = <550000>;
797 regulator-max-microvolt = <950000>;
798 regulator-ramp-delay = <12500>;
799 regulator-name = "vdd_gpu_s0";
800 regulator-enable-ramp-delay = <400>;
802 regulator-state-mem {
803 regulator-off-in-suspend;
807 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
808 regulator-always-on;
809 regulator-boot-on;
810 regulator-min-microvolt = <550000>;
811 regulator-max-microvolt = <950000>;
812 regulator-ramp-delay = <12500>;
813 regulator-name = "vdd_cpu_lit_s0";
815 regulator-state-mem {
816 regulator-off-in-suspend;
820 vdd_log_s0: dcdc-reg3 {
821 regulator-always-on;
822 regulator-boot-on;
823 regulator-min-microvolt = <675000>;
824 regulator-max-microvolt = <750000>;
825 regulator-ramp-delay = <12500>;
826 regulator-name = "vdd_log_s0";
828 regulator-state-mem {
829 regulator-off-in-suspend;
830 regulator-suspend-microvolt = <750000>;
834 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
835 regulator-always-on;
836 regulator-boot-on;
837 regulator-min-microvolt = <550000>;
838 regulator-max-microvolt = <950000>;
839 regulator-ramp-delay = <12500>;
840 regulator-name = "vdd_vdenc_s0";
842 regulator-state-mem {
843 regulator-off-in-suspend;
847 vdd_ddr_s0: dcdc-reg5 {
848 regulator-always-on;
849 regulator-boot-on;
850 regulator-min-microvolt = <675000>;
851 regulator-max-microvolt = <900000>;
852 regulator-ramp-delay = <12500>;
853 regulator-name = "vdd_ddr_s0";
855 regulator-state-mem {
856 regulator-off-in-suspend;
857 regulator-suspend-microvolt = <850000>;
861 vdd2_ddr_s3: dcdc-reg6 {
862 regulator-always-on;
863 regulator-boot-on;
864 regulator-name = "vdd2_ddr_s3";
866 regulator-state-mem {
867 regulator-on-in-suspend;
871 vcc_2v0_pldo_s3: dcdc-reg7 {
872 regulator-always-on;
873 regulator-boot-on;
874 regulator-min-microvolt = <2000000>;
875 regulator-max-microvolt = <2000000>;
876 regulator-ramp-delay = <12500>;
877 regulator-name = "vdd_2v0_pldo_s3";
879 regulator-state-mem {
880 regulator-on-in-suspend;
881 regulator-suspend-microvolt = <2000000>;
885 vcc_3v3_s3: dcdc-reg8 {
886 regulator-always-on;
887 regulator-boot-on;
888 regulator-min-microvolt = <3300000>;
889 regulator-max-microvolt = <3300000>;
890 regulator-name = "vcc_3v3_s3";
892 regulator-state-mem {
893 regulator-on-in-suspend;
894 regulator-suspend-microvolt = <3300000>;
898 vddq_ddr_s0: dcdc-reg9 {
899 regulator-always-on;
900 regulator-boot-on;
901 regulator-name = "vddq_ddr_s0";
903 regulator-state-mem {
904 regulator-off-in-suspend;
908 vcc_1v8_s3: dcdc-reg10 {
909 regulator-always-on;
910 regulator-boot-on;
911 regulator-min-microvolt = <1800000>;
912 regulator-max-microvolt = <1800000>;
913 regulator-name = "vcc_1v8_s3";
915 regulator-state-mem {
916 regulator-on-in-suspend;
917 regulator-suspend-microvolt = <1800000>;
921 avcc_1v8_s0: pldo-reg1 {
922 regulator-always-on;
923 regulator-boot-on;
924 regulator-min-microvolt = <1800000>;
925 regulator-max-microvolt = <1800000>;
926 regulator-name = "avcc_1v8_s0";
928 regulator-state-mem {
929 regulator-off-in-suspend;
933 vcc_1v8_s0: pldo-reg2 {
934 regulator-always-on;
935 regulator-boot-on;
936 regulator-min-microvolt = <1800000>;
937 regulator-max-microvolt = <1800000>;
938 regulator-name = "vcc_1v8_s0";
940 regulator-state-mem {
941 regulator-off-in-suspend;
942 regulator-suspend-microvolt = <1800000>;
946 avdd_1v2_s0: pldo-reg3 {
947 regulator-always-on;
948 regulator-boot-on;
949 regulator-min-microvolt = <1200000>;
950 regulator-max-microvolt = <1200000>;
951 regulator-name = "avdd_1v2_s0";
953 regulator-state-mem {
954 regulator-off-in-suspend;
958 vcc_3v3_s0: pldo-reg4 {
959 regulator-always-on;
960 regulator-boot-on;
961 regulator-min-microvolt = <3300000>;
962 regulator-max-microvolt = <3300000>;
963 regulator-ramp-delay = <12500>;
964 regulator-name = "vcc_3v3_s0";
966 regulator-state-mem {
967 regulator-off-in-suspend;
971 vccio_sd_s0: pldo-reg5 {
972 regulator-always-on;
973 regulator-boot-on;
974 regulator-min-microvolt = <1800000>;
975 regulator-max-microvolt = <3300000>;
976 regulator-ramp-delay = <12500>;
977 regulator-name = "vccio_sd_s0";
979 regulator-state-mem {
980 regulator-off-in-suspend;
984 pldo6_s3: pldo-reg6 {
985 regulator-always-on;
986 regulator-boot-on;
987 regulator-min-microvolt = <1800000>;
988 regulator-max-microvolt = <1800000>;
989 regulator-name = "pldo6_s3";
991 regulator-state-mem {
992 regulator-on-in-suspend;
993 regulator-suspend-microvolt = <1800000>;
997 vdd_0v75_s3: nldo-reg1 {
998 regulator-always-on;
999 regulator-boot-on;
1000 regulator-min-microvolt = <750000>;
1001 regulator-max-microvolt = <750000>;
1002 regulator-name = "vdd_0v75_s3";
1004 regulator-state-mem {
1005 regulator-on-in-suspend;
1006 regulator-suspend-microvolt = <750000>;
1010 vdd_ddr_pll_s0: nldo-reg2 {
1011 regulator-always-on;
1012 regulator-boot-on;
1013 regulator-min-microvolt = <850000>;
1014 regulator-max-microvolt = <850000>;
1015 regulator-name = "vdd_ddr_pll_s0";
1017 regulator-state-mem {
1018 regulator-off-in-suspend;
1019 regulator-suspend-microvolt = <850000>;
1023 avdd_0v75_s0: nldo-reg3 {
1024 regulator-always-on;
1025 regulator-boot-on;
1026 regulator-min-microvolt = <750000>;
1027 regulator-max-microvolt = <750000>;
1028 regulator-name = "avdd_0v75_s0";
1030 regulator-state-mem {
1031 regulator-off-in-suspend;
1035 vdd_0v85_s0: nldo-reg4 {
1036 regulator-always-on;
1037 regulator-boot-on;
1038 regulator-min-microvolt = <850000>;
1039 regulator-max-microvolt = <850000>;
1040 regulator-name = "vdd_0v85_s0";
1042 regulator-state-mem {
1043 regulator-off-in-suspend;
1047 vdd_0v75_s0: nldo-reg5 {
1048 regulator-always-on;
1049 regulator-boot-on;
1050 regulator-min-microvolt = <750000>;
1051 regulator-max-microvolt = <750000>;
1052 regulator-name = "vdd_0v75_s0";
1054 regulator-state-mem {
1055 regulator-off-in-suspend;
1067 pinctrl-0 = <&uart2m0_xfer>;
1104 mode-switch;
1105 orientation-switch;
1106 sbu1-dc-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
1107 sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
1111 #address-cells = <1>;
1112 #size-cells = <0>;
1116 remote-endpoint = <&usbc0_ss>;
1121 remote-endpoint = <&usbc0_sbu>;
1127 phy-supply = <&vbus5v0_usb>;
1140 usb-role-switch;
1145 remote-endpoint = <&usbc0_hs>;
1174 remote-endpoint = <&hdmi0_in_vp0>;
1181 remote-endpoint = <&hdmi1_in_vp1>;