Lines Matching +full:regulator +full:- +full:pull +full:- +full:down
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
21 stdout-path = "serial0:115200n8";
25 compatible = "pwm-backlight";
27 power-supply = <®_vsys>;
28 enable-gpios = <&pio 176 0>;
29 brightness-levels = <0 1023>;
30 num-interpolated-steps = <1023>;
31 default-brightness-level = <576>;
41 compatible = "fixed-clock";
42 #clock-cells = <0>;
43 clock-frequency = <32768>;
44 clock-output-names = "clk32k";
48 compatible = "regulator-fixed";
49 regulator-name = "it6505_pp18";
51 enable-active-high;
52 vin-supply = <&pp1800_alw>;
56 compatible = "regulator-fixed";
57 regulator-name = "pp1800_alw";
58 regulator-always-on;
59 regulator-boot-on;
60 regulator-min-microvolt = <1800000>;
61 regulator-max-microvolt = <1800000>;
62 vin-supply = <®_vsys>;
66 compatible = "regulator-fixed";
67 regulator-name = "pp3300_alw";
68 regulator-always-on;
69 regulator-boot-on;
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 vin-supply = <®_vsys>;
75 /* system wide semi-regulated power rail from charger */
76 reg_vsys: regulator-vsys {
77 compatible = "regulator-fixed";
78 regulator-name = "vsys";
79 regulator-always-on;
80 regulator-boot-on;
83 reserved_memory: reserved-memory {
84 #address-cells = <2>;
85 #size-cells = <2>;
88 afe_dma_mem: audio-dma-pool {
89 compatible = "shared-dma-pool";
92 no-map;
96 compatible = "shared-dma-pool";
98 no-map;
102 sound: mt8183-sound {
104 pinctrl-names = "default",
107 pinctrl-0 = <&aud_pins_default>;
108 pinctrl-1 = <&aud_pins_tdm_out_on>;
109 pinctrl-2 = <&aud_pins_tdm_out_off>;
113 btsco: bt-sco {
114 compatible = "linux,bt-sco";
115 #sound-dai-cells = <0>;
118 wifi_pwrseq: wifi-pwrseq {
119 compatible = "mmc-pwrseq-simple";
120 pinctrl-names = "default";
121 pinctrl-0 = <&wifi_pins_pwrseq>;
124 reset-gpios = <&pio 119 1>;
127 wifi_wakeup: wifi-wakeup {
128 compatible = "gpio-keys";
129 pinctrl-names = "default";
130 pinctrl-0 = <&wifi_pins_wakeup>;
132 wifi_wakeup_event: event-wowlan {
136 wakeup-source;
140 tboard_thermistor1: thermal-sensor1 {
141 compatible = "generic-adc-thermal";
142 #thermal-sensor-cells = <0>;
143 io-channels = <&auxadc 0>;
144 io-channel-names = "sensor-channel";
145 temperature-lookup-table = < (-5000) 1553
174 tboard_thermistor2: thermal-sensor2 {
175 compatible = "generic-adc-thermal";
176 #thermal-sensor-cells = <0>;
177 io-channels = <&auxadc 1>;
178 io-channel-names = "sensor-channel";
179 temperature-lookup-table = < (-5000) 1553
210 memory-region = <&afe_dma_mem>;
218 proc-supply = <&mt6358_vproc12_reg>;
222 proc-supply = <&mt6358_vproc12_reg>;
226 proc-supply = <&mt6358_vproc12_reg>;
230 proc-supply = <&mt6358_vproc12_reg>;
234 proc-supply = <&mt6358_vproc12_reg>;
238 proc-supply = <&mt6358_vproc11_reg>;
242 proc-supply = <&mt6358_vproc11_reg>;
246 proc-supply = <&mt6358_vproc11_reg>;
250 proc-supply = <&mt6358_vproc11_reg>;
255 #address-cells = <1>;
256 #size-cells = <0>;
260 enable-gpios = <&pio 45 0>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&panel_pins_default>;
263 avdd-supply = <&ppvarn_lcd>;
264 avee-supply = <&ppvarp_lcd>;
265 pp1800-supply = <&pp1800_lcd>;
270 remote-endpoint = <&dsi_out>;
277 remote-endpoint = <&panel_in>;
281 mediatek,broken-save-restore-fw;
285 mali-supply = <&mt6358_vgpu_reg>;
289 pinctrl-names = "default";
290 pinctrl-0 = <&i2c0_pins>;
292 clock-frequency = <400000>;
293 #address-cells = <1>;
294 #size-cells = <0>;
298 pinctrl-names = "default";
299 pinctrl-0 = <&i2c1_pins>;
301 clock-frequency = <100000>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&i2c3_pins>;
308 clock-frequency = <100000>;
309 #address-cells = <1>;
310 #size-cells = <0>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&i2c5_pins>;
317 clock-frequency = <100000>;
318 #address-cells = <1>;
319 #size-cells = <0>;
323 pinctrl-names = "default";
324 pinctrl-0 = <&i2c6_pins>;
326 clock-frequency = <100000>;
335 pinctrl-names = "default", "state_uhs";
336 pinctrl-0 = <&mmc0_pins_default>;
337 pinctrl-1 = <&mmc0_pins_uhs>;
338 bus-width = <8>;
339 max-frequency = <200000000>;
340 cap-mmc-highspeed;
341 mmc-hs200-1_8v;
342 mmc-hs400-1_8v;
343 cap-mmc-hw-reset;
344 no-sdio;
345 no-sd;
346 hs400-ds-delay = <0x12814>;
347 vmmc-supply = <&mt6358_vemc_reg>;
348 vqmmc-supply = <&mt6358_vio18_reg>;
349 assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>;
350 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_CK>;
351 non-removable;
356 pinctrl-names = "default", "state_uhs";
357 pinctrl-0 = <&mmc1_pins_default>;
358 pinctrl-1 = <&mmc1_pins_uhs>;
359 vmmc-supply = <&pp3300_alw>;
360 vqmmc-supply = <&pp1800_alw>;
361 mmc-pwrseq = <&wifi_pwrseq>;
362 bus-width = <4>;
363 max-frequency = <200000000>;
364 cap-sd-highspeed;
365 sd-uhs-sdr50;
366 sd-uhs-sdr104;
367 keep-power-in-suspend;
368 wakeup-source;
369 cap-sdio-irq;
370 non-removable;
371 no-mmc;
372 no-sd;
373 assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC30_1>;
374 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
375 #address-cells = <1>;
376 #size-cells = <0>;
378 qca_wifi: qca-wifi@1 {
385 regulator-always-on;
389 Avdd-supply = <&mt6358_vaud28_reg>;
393 vsys-ldo1-supply = <®_vsys>;
394 vsys-ldo2-supply = <®_vsys>;
395 vsys-ldo3-supply = <®_vsys>;
396 vsys-vcore-supply = <®_vsys>;
397 vsys-vdram1-supply = <®_vsys>;
398 vsys-vgpu-supply = <®_vsys>;
399 vsys-vmodem-supply = <®_vsys>;
400 vsys-vpa-supply = <®_vsys>;
401 vsys-vproc11-supply = <®_vsys>;
402 vsys-vproc12-supply = <®_vsys>;
403 vsys-vs1-supply = <®_vsys>;
404 vsys-vs2-supply = <®_vsys>;
405 vs1-ldo1-supply = <&mt6358_vs1_reg>;
406 vs2-ldo1-supply = <&mt6358_vdram1_reg>;
407 vs2-ldo2-supply = <&mt6358_vs2_reg>;
408 vs2-ldo3-supply = <&mt6358_vs2_reg>;
409 vs2-ldo4-supply = <&mt6358_vs2_reg>;
413 regulator-max-microvolt = <900000>;
415 regulator-coupled-with = <&mt6358_vsram_gpu_reg>;
416 regulator-coupled-max-spread = <100000>;
420 regulator-min-microvolt = <2700000>;
421 regulator-max-microvolt = <2700000>;
425 regulator-min-microvolt = <2700000>;
426 regulator-max-microvolt = <2700000>;
430 regulator-min-microvolt = <850000>;
431 regulator-max-microvolt = <1000000>;
433 regulator-coupled-with = <&mt6358_vgpu_reg>;
434 regulator-coupled-max-spread = <100000>;
439 pins-bus {
461 pins-bus {
467 <PINMUX_GPIO10__FUNC_TDM_DATA3>; /*8ch-i2s to it6505*/
468 drive-strength = <6>;
473 pins-bus {
480 input-enable;
481 bias-pull-down;
482 drive-strength = <2>;
486 bt_pins: bt-pins {
487 pins-bt-en {
489 output-low;
493 ec_ap_int_odl: ec-ap-int-odl {
496 input-enable;
497 bias-pull-up;
501 h1_int_od_l: h1-int-od-l {
504 input-enable;
509 pins-bus {
512 mediatek,pull-up-adv = <3>;
517 pins-bus {
520 mediatek,pull-up-adv = <3>;
525 pins-bus {
528 bias-disable;
533 pins-bus {
536 mediatek,pull-up-adv = <3>;
541 pins-bus {
544 bias-disable;
549 pins-bus {
552 mediatek,pull-up-adv = <3>;
557 pins-bus {
560 bias-disable;
564 mmc0_pins_default: mmc0-pins-default {
565 pins-cmd-dat {
575 input-enable;
576 drive-strength = <MTK_DRIVE_14mA>;
577 mediatek,pull-up-adv = <01>;
580 pins-clk {
582 drive-strength = <MTK_DRIVE_14mA>;
583 mediatek,pull-down-adv = <10>;
586 pins-rst {
588 drive-strength = <MTK_DRIVE_14mA>;
589 mediatek,pull-down-adv = <01>;
593 mmc0_pins_uhs: mmc0-pins-uhs {
594 pins-cmd-dat {
604 input-enable;
605 drive-strength = <MTK_DRIVE_14mA>;
606 mediatek,pull-up-adv = <01>;
609 pins-clk {
611 drive-strength = <MTK_DRIVE_14mA>;
612 mediatek,pull-down-adv = <10>;
615 pins-ds {
617 drive-strength = <MTK_DRIVE_14mA>;
618 mediatek,pull-down-adv = <10>;
621 pins-rst {
623 drive-strength = <MTK_DRIVE_14mA>;
624 mediatek,pull-up-adv = <01>;
628 mmc1_pins_default: mmc1-pins-default {
629 pins-cmd-dat {
635 input-enable;
636 mediatek,pull-up-adv = <10>;
639 pins-clk {
641 input-enable;
642 mediatek,pull-down-adv = <10>;
646 mmc1_pins_uhs: mmc1-pins-uhs {
647 pins-cmd-dat {
653 drive-strength = <6>;
654 input-enable;
655 mediatek,pull-up-adv = <10>;
658 pins-clk {
660 drive-strength = <8>;
661 mediatek,pull-down-adv = <10>;
662 input-enable;
666 panel_pins_default: panel-pins-default {
667 panel-reset {
669 output-low;
670 bias-pull-up;
674 pwm0_pin_default: pwm0-pin-default {
677 output-high;
678 bias-pull-up;
686 pins-scp-uart {
693 pins-spi {
698 bias-disable;
703 pins-spi {
708 bias-disable;
713 pins-spi {
717 bias-disable;
719 pins-spi-mi {
721 mediatek,pull-down-adv = <00>;
726 pins-spi {
731 bias-disable;
736 pins-spi {
741 bias-disable;
746 pins-spi {
751 bias-disable;
755 uart0_pins_default: uart0-pins-default {
756 pins-rx {
758 input-enable;
759 bias-pull-up;
761 pins-tx {
766 uart1_pins_default: uart1-pins-default {
767 pins-rx {
769 input-enable;
770 bias-pull-up;
772 pins-tx {
775 pins-rts {
778 pins-cts {
780 input-enable;
784 uart1_pins_sleep: uart1-pins-sleep {
785 pins-rx {
787 input-enable;
788 bias-pull-up;
790 pins-tx {
793 pins-rts {
796 pins-cts {
798 input-enable;
802 wifi_pins_pwrseq: wifi-pins-pwrseq {
803 pins-wifi-enable {
805 output-low;
809 wifi_pins_wakeup: wifi-pins-wakeup {
810 pins-wifi-wakeup {
812 input-enable;
818 interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
823 pinctrl-names = "default";
824 pinctrl-0 = <&pwm0_pin_default>;
830 firmware-name = "mediatek/mt8183/scp.img";
831 pinctrl-names = "default";
832 pinctrl-0 = <&scp_pins>;
834 cros-ec-rpmsg {
835 compatible = "google,cros-ec-rpmsg";
836 mediatek,rpmsg-name = "cros-ec-rpmsg";
841 domain-supply = <&mt6358_vsram_gpu_reg>;
845 domain-supply = <&mt6358_vgpu_reg>;
849 pinctrl-names = "default";
850 pinctrl-0 = <&spi0_pins>;
851 mediatek,pad-select = <0>;
853 cs-gpios = <&pio 86 GPIO_ACTIVE_LOW>;
858 spi-max-frequency = <1000000>;
859 pinctrl-names = "default";
860 pinctrl-0 = <&h1_int_od_l>;
861 interrupts-extended = <&pio 153 IRQ_TYPE_EDGE_RISING>;
866 pinctrl-names = "default";
867 pinctrl-0 = <&spi1_pins>;
868 mediatek,pad-select = <0>;
872 compatible = "winbond,w25q64dw", "jedec,spi-nor";
874 spi-max-frequency = <25000000>;
879 pinctrl-names = "default";
880 pinctrl-0 = <&spi2_pins>;
881 mediatek,pad-select = <0>;
884 cros_ec: cros-ec@0 {
885 compatible = "google,cros-ec-spi";
887 spi-max-frequency = <3000000>;
888 interrupts-extended = <&pio 151 IRQ_TYPE_LEVEL_LOW>;
889 pinctrl-names = "default";
890 pinctrl-0 = <&ec_ap_int_odl>;
891 wakeup-source;
893 i2c_tunnel: i2c-tunnel {
894 compatible = "google,cros-ec-i2c-tunnel";
895 google,remote-bus = <1>;
896 #address-cells = <1>;
897 #size-cells = <0>;
901 compatible = "google,extcon-usbc-cros-ec";
902 google,usb-port-id = <0>;
906 compatible = "google,cros-ec-typec";
907 #address-cells = <1>;
908 #size-cells = <0>;
911 compatible = "usb-c-connector";
913 power-role = "dual";
914 data-role = "host";
915 try-power-role = "sink";
922 pinctrl-names = "default";
923 pinctrl-0 = <&spi3_pins>;
924 mediatek,pad-select = <0>;
929 pinctrl-names = "default";
930 pinctrl-0 = <&spi4_pins>;
931 mediatek,pad-select = <0>;
936 pinctrl-names = "default";
937 pinctrl-0 = <&spi5_pins>;
938 mediatek,pad-select = <0>;
944 wakeup-source;
945 vusb33-supply = <&mt6358_vusb_reg>;
950 tboard1-thermal {
951 polling-delay = <1000>; /* milliseconds */
952 polling-delay-passive = <0>; /* milliseconds */
953 thermal-sensors = <&tboard_thermistor1>;
956 tboard2-thermal {
957 polling-delay = <1000>; /* milliseconds */
958 polling-delay-passive = <0>; /* milliseconds */
959 thermal-sensors = <&tboard_thermistor2>;
968 pinctrl-names = "default";
969 pinctrl-0 = <&uart0_pins_default>;
974 pinctrl-names = "default", "sleep";
975 pinctrl-0 = <&uart1_pins_default>;
976 pinctrl-1 = <&uart1_pins_sleep>;
978 /delete-property/ interrupts;
979 interrupts-extended = <&sysirq GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>,
983 pinctrl-names = "default";
984 pinctrl-0 = <&bt_pins>;
986 compatible = "qcom,qca6174-bt";
987 enable-gpios = <&pio 120 0>;
989 firmware-name = "nvm_00440302_i2s.bin";
994 #address-cells = <1>;
995 #size-cells = <0>;
996 vusb33-supply = <&mt6358_vusb_reg>;
1005 #include <arm/cros-ec-sbs.dtsi>