Lines Matching +full:pinmux +full:-
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 = <&bl_pp5000>;
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";
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
53 enable-active-high;
57 compatible = "regulator-fixed";
58 regulator-name = "lcd_pp3300";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
61 regulator-always-on;
62 regulator-boot-on;
66 compatible = "regulator-fixed";
67 regulator-name = "bl_pp5000";
68 regulator-min-microvolt = <5000000>;
69 regulator-max-microvolt = <5000000>;
70 regulator-always-on;
71 regulator-boot-on;
75 compatible = "regulator-fixed";
76 regulator-name = "mmc1_power";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
82 compatible = "regulator-fixed";
83 regulator-name = "mmc1_io";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <1800000>;
89 compatible = "regulator-fixed";
90 regulator-name = "pp1800_alw";
91 regulator-always-on;
92 regulator-boot-on;
93 regulator-min-microvolt = <1800000>;
94 regulator-max-microvolt = <1800000>;
98 compatible = "regulator-fixed";
99 regulator-name = "pp3300_alw";
100 regulator-always-on;
101 regulator-boot-on;
102 regulator-min-microvolt = <3300000>;
103 regulator-max-microvolt = <3300000>;
106 /* system wide semi-regulated power rail from charger */
107 reg_vsys: regulator-vsys {
108 compatible = "regulator-fixed";
109 regulator-name = "vsys";
110 regulator-always-on;
111 regulator-boot-on;
114 reserved_memory: reserved-memory {
115 #address-cells = <2>;
116 #size-cells = <2>;
120 compatible = "shared-dma-pool";
122 no-map;
126 sound: mt8183-sound {
128 pinctrl-names = "default",
131 pinctrl-0 = <&aud_pins_default>;
132 pinctrl-1 = <&aud_pins_tdm_out_on>;
133 pinctrl-2 = <&aud_pins_tdm_out_off>;
137 btsco: bt-sco {
138 compatible = "linux,bt-sco";
141 wifi_pwrseq: wifi-pwrseq {
142 compatible = "mmc-pwrseq-simple";
143 pinctrl-names = "default";
144 pinctrl-0 = <&wifi_pins_pwrseq>;
147 reset-gpios = <&pio 119 1>;
150 wifi_wakeup: wifi-wakeup {
151 compatible = "gpio-keys";
152 pinctrl-names = "default";
153 pinctrl-0 = <&wifi_pins_wakeup>;
155 button-wowlan {
159 wakeup-source;
163 tboard_thermistor1: thermal-sensor1 {
164 compatible = "generic-adc-thermal";
165 #thermal-sensor-cells = <0>;
166 io-channels = <&auxadc 0>;
167 io-channel-names = "sensor-channel";
168 temperature-lookup-table = < (-5000) 1553
197 tboard_thermistor2: thermal-sensor2 {
198 compatible = "generic-adc-thermal";
199 #thermal-sensor-cells = <0>;
200 io-channels = <&auxadc 1>;
201 io-channel-names = "sensor-channel";
202 temperature-lookup-table = < (-5000) 1553
237 proc-supply = <&mt6358_vproc12_reg>;
241 proc-supply = <&mt6358_vproc12_reg>;
245 proc-supply = <&mt6358_vproc12_reg>;
249 proc-supply = <&mt6358_vproc12_reg>;
253 proc-supply = <&mt6358_vproc12_reg>;
257 proc-supply = <&mt6358_vproc11_reg>;
261 proc-supply = <&mt6358_vproc11_reg>;
265 proc-supply = <&mt6358_vproc11_reg>;
269 proc-supply = <&mt6358_vproc11_reg>;
274 #address-cells = <1>;
275 #size-cells = <0>;
279 enable-gpios = <&pio 45 0>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&panel_pins_default>;
282 avdd-supply = <&ppvarn_lcd>;
283 avee-supply = <&ppvarp_lcd>;
284 pp1800-supply = <&pp1800_lcd>;
289 remote-endpoint = <&dsi_out>;
297 remote-endpoint = <&panel_in>;
304 mediatek,broken-save-restore-fw;
308 mali-supply = <&mt6358_vgpu_reg>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&i2c0_pins>;
315 clock-frequency = <400000>;
316 #address-cells = <1>;
317 #size-cells = <0>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&i2c1_pins>;
324 clock-frequency = <100000>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&i2c3_pins>;
331 clock-frequency = <100000>;
332 #address-cells = <1>;
333 #size-cells = <0>;
337 pinctrl-names = "default";
338 pinctrl-0 = <&i2c5_pins>;
340 clock-frequency = <100000>;
341 #address-cells = <1>;
342 #size-cells = <0>;
346 pinctrl-names = "default";
347 pinctrl-0 = <&i2c6_pins>;
349 clock-frequency = <100000>;
358 pinctrl-names = "default", "state_uhs";
359 pinctrl-0 = <&mmc0_pins_default>;
360 pinctrl-1 = <&mmc0_pins_uhs>;
361 bus-width = <8>;
362 max-frequency = <200000000>;
363 cap-mmc-highspeed;
364 mmc-hs200-1_8v;
365 mmc-hs400-1_8v;
366 cap-mmc-hw-reset;
367 no-sdio;
368 no-sd;
369 hs400-ds-delay = <0x12814>;
370 vmmc-supply = <&mt6358_vemc_reg>;
371 vqmmc-supply = <&mt6358_vio18_reg>;
372 assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>;
373 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_CK>;
374 non-removable;
379 pinctrl-names = "default", "state_uhs";
380 pinctrl-0 = <&mmc1_pins_default>;
381 pinctrl-1 = <&mmc1_pins_uhs>;
382 vmmc-supply = <&mmc1_fixed_power>;
383 vqmmc-supply = <&mmc1_fixed_io>;
384 mmc-pwrseq = <&wifi_pwrseq>;
385 bus-width = <4>;
386 max-frequency = <200000000>;
387 cap-sd-highspeed;
388 sd-uhs-sdr50;
389 sd-uhs-sdr104;
390 keep-power-in-suspend;
391 wakeup-source;
392 cap-sdio-irq;
393 non-removable;
394 no-mmc;
395 no-sd;
396 assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC30_1>;
397 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
398 #address-cells = <1>;
399 #size-cells = <0>;
401 qca_wifi: qca-wifi@1 {
408 regulator-always-on;
412 Avdd-supply = <&mt6358_vaud28_reg>;
416 vsys-ldo1-supply = <®_vsys>;
417 vsys-ldo2-supply = <®_vsys>;
418 vsys-ldo3-supply = <®_vsys>;
419 vsys-vcore-supply = <®_vsys>;
420 vsys-vdram1-supply = <®_vsys>;
421 vsys-vgpu-supply = <®_vsys>;
422 vsys-vmodem-supply = <®_vsys>;
423 vsys-vpa-supply = <®_vsys>;
424 vsys-vproc11-supply = <®_vsys>;
425 vsys-vproc12-supply = <®_vsys>;
426 vsys-vs1-supply = <®_vsys>;
427 vsys-vs2-supply = <®_vsys>;
428 vs1-ldo1-supply = <&mt6358_vs1_reg>;
429 vs2-ldo1-supply = <&mt6358_vdram1_reg>;
430 vs2-ldo2-supply = <&mt6358_vs2_reg>;
431 vs2-ldo3-supply = <&mt6358_vs2_reg>;
432 vs2-ldo4-supply = <&mt6358_vs2_reg>;
436 regulator-min-microvolt = <625000>;
437 regulator-max-microvolt = <900000>;
439 regulator-coupled-with = <&mt6358_vsram_gpu_reg>;
440 regulator-coupled-max-spread = <100000>;
444 regulator-min-microvolt = <2700000>;
445 regulator-max-microvolt = <2700000>;
449 regulator-min-microvolt = <2700000>;
450 regulator-max-microvolt = <2700000>;
454 regulator-min-microvolt = <850000>;
455 regulator-max-microvolt = <1000000>;
457 regulator-coupled-with = <&mt6358_vgpu_reg>;
458 regulator-coupled-max-spread = <100000>;
463 pins-bus {
464 pinmux = <PINMUX_GPIO97__FUNC_I2S2_MCK>,
485 pins-bus {
486 pinmux = <PINMUX_GPIO169__FUNC_TDM_BCK_2ND>,
491 <PINMUX_GPIO10__FUNC_TDM_DATA3>; /*8ch-i2s to it6505*/
492 drive-strength = <MTK_DRIVE_6mA>;
497 pins-bus {
498 pinmux = <PINMUX_GPIO169__FUNC_GPIO169>,
504 input-enable;
505 bias-pull-down;
506 drive-strength = <MTK_DRIVE_2mA>;
510 bt_pins: bt-pins {
511 pins-bt-en {
512 pinmux = <PINMUX_GPIO120__FUNC_GPIO120>;
513 output-low;
517 ec_ap_int_odl: ec-ap-int-odl {
519 pinmux = <PINMUX_GPIO151__FUNC_GPIO151>;
520 input-enable;
521 bias-pull-up;
525 h1_int_od_l: h1-int-od-l {
527 pinmux = <PINMUX_GPIO153__FUNC_GPIO153>;
528 input-enable;
533 pins-bus {
534 pinmux = <PINMUX_GPIO82__FUNC_SDA0>,
536 mediatek,pull-up-adv = <3>;
537 mediatek,drive-strength-adv = <00>;
542 pins-bus {
543 pinmux = <PINMUX_GPIO81__FUNC_SDA1>,
545 mediatek,pull-up-adv = <3>;
546 mediatek,drive-strength-adv = <00>;
551 pins-bus {
552 pinmux = <PINMUX_GPIO103__FUNC_SCL2>,
554 bias-disable;
555 mediatek,drive-strength-adv = <00>;
560 pins-bus {
561 pinmux = <PINMUX_GPIO50__FUNC_SCL3>,
563 mediatek,pull-up-adv = <3>;
564 mediatek,drive-strength-adv = <00>;
569 pins-bus {
570 pinmux = <PINMUX_GPIO105__FUNC_SCL4>,
572 bias-disable;
573 mediatek,drive-strength-adv = <00>;
578 pins-bus {
579 pinmux = <PINMUX_GPIO48__FUNC_SCL5>,
581 mediatek,pull-up-adv = <3>;
582 mediatek,drive-strength-adv = <00>;
587 pins-bus {
588 pinmux = <PINMUX_GPIO11__FUNC_SCL6>,
590 bias-disable;
594 mmc0_pins_default: mmc0-pins-default {
595 pins-cmd-dat {
596 pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
605 input-enable;
606 drive-strength = <MTK_DRIVE_14mA>;
607 mediatek,pull-up-adv = <01>;
610 pins-clk {
611 pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
612 drive-strength = <MTK_DRIVE_14mA>;
613 mediatek,pull-down-adv = <10>;
616 pins-rst {
617 pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
618 drive-strength = <MTK_DRIVE_14mA>;
619 mediatek,pull-down-adv = <01>;
623 mmc0_pins_uhs: mmc0-pins-uhs {
624 pins-cmd-dat {
625 pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
634 input-enable;
635 drive-strength = <MTK_DRIVE_14mA>;
636 mediatek,pull-up-adv = <01>;
639 pins-clk {
640 pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
641 drive-strength = <MTK_DRIVE_14mA>;
642 mediatek,pull-down-adv = <10>;
645 pins-ds {
646 pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>;
647 drive-strength = <MTK_DRIVE_14mA>;
648 mediatek,pull-down-adv = <10>;
651 pins-rst {
652 pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
653 drive-strength = <MTK_DRIVE_14mA>;
654 mediatek,pull-up-adv = <01>;
658 mmc1_pins_default: mmc1-pins-default {
659 pins-cmd-dat {
660 pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
665 input-enable;
666 mediatek,pull-up-adv = <10>;
669 pins-clk {
670 pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
671 input-enable;
672 mediatek,pull-down-adv = <10>;
676 mmc1_pins_uhs: mmc1-pins-uhs {
677 pins-cmd-dat {
678 pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
683 drive-strength = <MTK_DRIVE_6mA>;
684 input-enable;
685 mediatek,pull-up-adv = <10>;
688 pins-clk {
689 pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
690 drive-strength = <MTK_DRIVE_8mA>;
691 mediatek,pull-down-adv = <10>;
692 input-enable;
696 panel_pins_default: panel-pins-default {
697 panel-reset {
698 pinmux = <PINMUX_GPIO45__FUNC_GPIO45>;
699 output-low;
700 bias-pull-up;
704 pwm0_pin_default: pwm0-pin-default {
706 pinmux = <PINMUX_GPIO176__FUNC_GPIO176>;
707 output-high;
708 bias-pull-up;
711 pinmux = <PINMUX_GPIO43__FUNC_DISP_PWM>;
716 pins-scp-uart {
717 pinmux = <PINMUX_GPIO110__FUNC_TP_URXD1_AO>,
723 pins-spi {
724 pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>,
728 bias-disable;
733 pins-spi {
734 pinmux = <PINMUX_GPIO161__FUNC_SPI1_A_MI>,
738 bias-disable;
743 pins-spi {
744 pinmux = <PINMUX_GPIO0__FUNC_SPI2_CSB>,
747 bias-disable;
749 pins-spi-mi {
750 pinmux = <PINMUX_GPIO94__FUNC_SPI2_MI>;
751 mediatek,pull-down-adv = <00>;
756 pins-spi {
757 pinmux = <PINMUX_GPIO21__FUNC_SPI3_MI>,
761 bias-disable;
766 pins-spi {
767 pinmux = <PINMUX_GPIO17__FUNC_SPI4_MI>,
771 bias-disable;
776 pins-spi {
777 pinmux = <PINMUX_GPIO13__FUNC_SPI5_MI>,
781 bias-disable;
785 uart0_pins_default: uart0-pins-default {
786 pins-rx {
787 pinmux = <PINMUX_GPIO95__FUNC_URXD0>;
788 input-enable;
789 bias-pull-up;
791 pins-tx {
792 pinmux = <PINMUX_GPIO96__FUNC_UTXD0>;
796 uart1_pins_default: uart1-pins-default {
797 pins-rx {
798 pinmux = <PINMUX_GPIO121__FUNC_URXD1>;
799 input-enable;
800 bias-pull-up;
802 pins-tx {
803 pinmux = <PINMUX_GPIO115__FUNC_UTXD1>;
805 pins-rts {
806 pinmux = <PINMUX_GPIO47__FUNC_URTS1>;
807 output-enable;
809 pins-cts {
810 pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
811 input-enable;
815 uart1_pins_sleep: uart1-pins-sleep {
816 pins-rx {
817 pinmux = <PINMUX_GPIO121__FUNC_GPIO121>;
818 input-enable;
819 bias-pull-up;
821 pins-tx {
822 pinmux = <PINMUX_GPIO115__FUNC_UTXD1>;
824 pins-rts {
825 pinmux = <PINMUX_GPIO47__FUNC_URTS1>;
826 output-enable;
828 pins-cts {
829 pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
830 input-enable;
834 wifi_pins_pwrseq: wifi-pins-pwrseq {
835 pins-wifi-enable {
836 pinmux = <PINMUX_GPIO119__FUNC_GPIO119>;
837 output-low;
841 wifi_pins_wakeup: wifi-pins-wakeup {
842 pins-wifi-wakeup {
843 pinmux = <PINMUX_GPIO113__FUNC_GPIO113>;
844 input-enable;
850 interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
855 pinctrl-names = "default";
856 pinctrl-0 = <&pwm0_pin_default>;
862 firmware-name = "mediatek/mt8183/scp.img";
863 pinctrl-names = "default";
864 pinctrl-0 = <&scp_pins>;
866 cros-ec-rpmsg {
867 compatible = "google,cros-ec-rpmsg";
868 mediatek,rpmsg-name = "cros-ec-rpmsg";
873 domain-supply = <&mt6358_vsram_gpu_reg>;
877 domain-supply = <&mt6358_vgpu_reg>;
885 pinctrl-names = "default";
886 pinctrl-0 = <&spi0_pins>;
887 mediatek,pad-select = <0>;
889 cs-gpios = <&pio 86 GPIO_ACTIVE_LOW>;
894 spi-max-frequency = <1000000>;
895 pinctrl-names = "default";
896 pinctrl-0 = <&h1_int_od_l>;
897 interrupts-extended = <&pio 153 IRQ_TYPE_EDGE_RISING>;
902 pinctrl-names = "default";
903 pinctrl-0 = <&spi1_pins>;
904 mediatek,pad-select = <0>;
908 compatible = "winbond,w25q64dw", "jedec,spi-nor";
910 spi-max-frequency = <25000000>;
915 pinctrl-names = "default";
916 pinctrl-0 = <&spi2_pins>;
917 mediatek,pad-select = <0>;
920 cros_ec: cros-ec@0 {
921 compatible = "google,cros-ec-spi";
923 spi-max-frequency = <3000000>;
924 interrupts-extended = <&pio 151 IRQ_TYPE_LEVEL_LOW>;
925 pinctrl-names = "default";
926 pinctrl-0 = <&ec_ap_int_odl>;
928 i2c_tunnel: i2c-tunnel {
929 compatible = "google,cros-ec-i2c-tunnel";
930 google,remote-bus = <1>;
931 #address-cells = <1>;
932 #size-cells = <0>;
936 compatible = "google,extcon-usbc-cros-ec";
937 google,usb-port-id = <0>;
941 compatible = "google,cros-cbas";
945 compatible = "google,cros-ec-typec";
946 #address-cells = <1>;
947 #size-cells = <0>;
950 compatible = "usb-c-connector";
952 power-role = "dual";
953 data-role = "host";
954 try-power-role = "sink";
961 pinctrl-names = "default";
962 pinctrl-0 = <&spi3_pins>;
963 mediatek,pad-select = <0>;
968 pinctrl-names = "default";
969 pinctrl-0 = <&spi4_pins>;
970 mediatek,pad-select = <0>;
975 pinctrl-names = "default";
976 pinctrl-0 = <&spi5_pins>;
977 mediatek,pad-select = <0>;
983 wakeup-source;
984 vusb33-supply = <&mt6358_vusb_reg>;
990 polling-delay = <1000>; /* milliseconds */
991 polling-delay-passive = <0>; /* milliseconds */
992 thermal-sensors = <&tboard_thermistor1>;
996 polling-delay = <1000>; /* milliseconds */
997 polling-delay-passive = <0>; /* milliseconds */
998 thermal-sensors = <&tboard_thermistor2>;
1007 pinctrl-names = "default";
1008 pinctrl-0 = <&uart0_pins_default>;
1013 pinctrl-names = "default", "sleep";
1014 pinctrl-0 = <&uart1_pins_default>;
1015 pinctrl-1 = <&uart1_pins_sleep>;
1017 /delete-property/ interrupts;
1018 interrupts-extended = <&sysirq GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>,
1022 pinctrl-names = "default";
1023 pinctrl-0 = <&bt_pins>;
1025 compatible = "qcom,qca6174-bt";
1026 enable-gpios = <&pio 120 0>;
1028 firmware-name = "nvm_00440302_i2s.bin";
1033 #address-cells = <1>;
1034 #size-cells = <0>;
1035 vusb33-supply = <&mt6358_vusb_reg>;
1044 #include <arm/cros-ec-sbs.dtsi>