Lines Matching +full:cmd +full:- +full:max +full:- +full:name
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Author: Chris Chen <chris-qj.chen@mediatek.com>
9 * Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h>
18 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
19 #include <dt-bindings/spmi/spmi.h>
20 #include <dt-bindings/usb/pd.h>
38 stdout-path = "serial0:921600n8";
41 dmic_codec: dmic-codec {
42 #sound-dai-cells = <0>;
43 compatible = "dmic-codec";
44 num-channels = <2>;
45 wakeup-delay-ms = <30>;
50 compatible = "linaro,optee-tz";
54 reserved-memory {
55 #address-cells = <2>;
56 #size-cells = <2>;
60 * 12 MiB reserved for OP-TEE (BL32)
61 * +-----------------------+ 0x43e0_0000
63 * +-----------------------+ 0x43c0_0000
65 * + TZDRAM +--------------+ 0x4340_0000
67 * +-----------------------+ 0x4320_0000
70 no-map;
75 compatible = "shared-dma-pool";
77 no-map;
82 no-map;
87 compatible = "shared-dma-pool";
92 compatible = "shared-dma-pool";
97 compatible = "shared-dma-pool";
99 no-map;
103 compatible = "shared-dma-pool";
105 no-map;
109 compatible = "shared-dma-pool";
111 no-map;
115 common_fixed_5v: regulator-0 {
116 compatible = "regulator-fixed";
117 regulator-name = "vdd_5v";
118 regulator-min-microvolt = <5000000>;
119 regulator-max-microvolt = <5000000>;
121 enable-active-high;
122 regulator-always-on;
123 vin-supply = <®_vsys>;
126 edp_panel_fixed_3v3: regulator-1 {
127 compatible = "regulator-fixed";
128 regulator-name = "vedp_3v3";
129 regulator-min-microvolt = <3300000>;
130 regulator-max-microvolt = <3300000>;
131 enable-active-high;
133 pinctrl-names = "default";
134 pinctrl-0 = <&edp_panel_3v3_en_pins>;
135 vin-supply = <®_vsys>;
138 gpio_fixed_3v3: regulator-2 {
139 compatible = "regulator-fixed";
140 regulator-name = "ext_3v3";
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
144 enable-active-high;
145 regulator-always-on;
146 vin-supply = <®_vsys>;
150 reg_vsys: regulator-vsys {
151 compatible = "regulator-fixed";
152 regulator-name = "vsys";
153 regulator-always-on;
154 regulator-boot-on;
158 sdio_fixed_1v8: regulator-3 {
159 compatible = "regulator-fixed";
160 regulator-name = "vio18_conn";
161 regulator-min-microvolt = <1800000>;
162 regulator-max-microvolt = <1800000>;
163 enable-active-high;
164 regulator-always-on;
168 sdio_fixed_3v3: regulator-4 {
169 compatible = "regulator-fixed";
170 regulator-name = "wifi_3v3";
171 regulator-min-microvolt = <3300000>;
172 regulator-max-microvolt = <3300000>;
174 enable-active-high;
175 regulator-always-on;
176 vin-supply = <®_vsys>;
179 touch0_fixed_3v3: regulator-5 {
180 compatible = "regulator-fixed";
181 regulator-name = "vio33_tp1";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
185 enable-active-high;
186 vin-supply = <®_vsys>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&touch_vreg_pins>;
191 usb_hub_fixed_3v3: regulator-6 {
192 compatible = "regulator-fixed";
193 regulator-name = "vhub_3v3";
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
197 startup-delay-us = <10000>;
198 enable-active-high;
199 vin-supply = <®_vsys>;
202 usb_p0_vbus: regulator-7 {
203 compatible = "regulator-fixed";
204 regulator-name = "vbus_p0";
205 regulator-min-microvolt = <5000000>;
206 regulator-max-microvolt = <5000000>;
208 enable-active-high;
209 vin-supply = <®_vsys>;
212 usb_p1_vbus: regulator-8 {
213 compatible = "regulator-fixed";
214 regulator-name = "vbus_p1";
215 regulator-min-microvolt = <5000000>;
216 regulator-max-microvolt = <5000000>;
218 enable-active-high;
219 vin-supply = <®_vsys>;
223 usb_p2_vbus: regulator-9 {
224 compatible = "regulator-fixed";
225 regulator-name = "vbus_p2";
226 regulator-min-microvolt = <5000000>;
227 regulator-max-microvolt = <5000000>;
228 enable-active-high;
233 memory-region = <&adsp_dma_mem>, <&adsp_mem>;
238 memory-region = <&afe_dma_mem>;
243 mali-supply = <&mt6359_vproc2_buck_reg>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&i2c0_pins>;
250 clock-frequency = <400000>;
256 interrupt-parent = <&pio>;
257 interrupts-extended = <&pio 6 IRQ_TYPE_EDGE_RISING>;
258 irq-gpios = <&pio 6 GPIO_ACTIVE_HIGH>;
259 reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
260 AVDD28-supply = <&touch0_fixed_3v3>;
261 VDDIO-supply = <&mt6359_vio18_ldo_reg>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&touch_pins>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&i2c1_pins>;
270 clock-frequency = <400000>;
273 typec-mux@48 {
277 mode-switch;
278 orientation-switch;
280 vcc-supply = <&mt6359_vcn33_1_bt_ldo_reg>;
284 remote-endpoint = <&typec_sbu_out>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&i2c2_pins>;
293 clock-frequency = <400000>;
298 pinctrl-names = "default";
299 pinctrl-0 = <&i2c3_pins>;
300 clock-frequency = <400000>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&i2c4_pins>;
307 clock-frequency = <1000000>;
313 interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&tcpci_int_pins>;
316 vbus-supply = <&usb_p1_vbus>;
319 compatible = "usb-c-connector";
320 label = "USB-C";
321 data-role = "dual";
322 op-sink-microwatt = <10000000>;
323 power-role = "dual";
324 try-power-role = "sink";
325 pd-revision = /bits/ 8 <0x03 0x00 0x01 0x08>;
327 sink-pdos = <PDO_FIXED(5000, 2000,
330 source-pdos = <PDO_FIXED(5000, 2000,
342 #address-cells = <1>;
343 #size-cells = <0>;
348 remote-endpoint = <&mtu3_hs1_role_sw>;
355 remote-endpoint = <&xhci_ss_ep>;
362 remote-endpoint = <&it5205_sbu_mux>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&i2c5_pins>;
374 clock-frequency = <400000>;
379 pinctrl-names = "default";
380 pinctrl-0 = <&i2c6_pins>;
381 clock-frequency = <400000>;
386 domain-supply = <&mt6359_vproc2_buck_reg>;
390 domain-supply = <&mt6359_vsram_others_ldo_reg>;
395 pinctrl-names = "default", "state_uhs";
396 pinctrl-0 = <&mmc0_default_pins>;
397 pinctrl-1 = <&mmc0_uhs_pins>;
398 bus-width = <8>;
399 max-frequency = <200000000>;
400 cap-mmc-highspeed;
401 mmc-hs200-1_8v;
402 mmc-hs400-1_8v;
403 supports-cqe;
404 cap-mmc-hw-reset;
405 no-sdio;
406 no-sd;
407 hs400-ds-delay = <0x1481b>;
408 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
409 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
410 non-removable;
415 pinctrl-names = "default", "state_uhs";
416 pinctrl-0 = <&mmc1_default_pins>;
417 pinctrl-1 = <&mmc1_uhs_pins>;
418 bus-width = <4>;
419 max-frequency = <200000000>;
420 cap-sd-highspeed;
421 sd-uhs-sdr50;
422 sd-uhs-sdr104;
423 no-mmc;
424 no-sdio;
425 cd-gpios = <&pio 2 GPIO_ACTIVE_LOW>;
426 vmmc-supply = <&mt6359_vpa_buck_reg>;
427 vqmmc-supply = <&mt6359_vsim1_ldo_reg>;
431 regulator-always-on;
435 regulator-name = "vcn18_pmu";
436 regulator-always-on;
440 regulator-name = "vcn33_2_pmu";
441 regulator-always-on;
445 regulator-name = "dvdd_proc_l";
446 regulator-always-on;
450 regulator-name = "dvdd_core";
451 regulator-always-on;
455 regulator-name = "vpa_pmu";
456 regulator-max-microvolt = <3100000>;
460 /* The name "vgpu" is required by mtk-regulator-coupler */
461 regulator-name = "vgpu";
462 regulator-min-microvolt = <550000>;
463 regulator-max-microvolt = <800000>;
464 regulator-coupled-with = <&mt6359_vsram_others_ldo_reg>;
465 regulator-coupled-max-spread = <6250>;
469 regulator-name = "dvdd_adsp";
470 regulator-always-on;
474 regulator-name = "va12_abb2_pmu";
475 regulator-always-on;
479 regulator-name = "vsim1_pmu";
480 regulator-enable-ramp-delay = <480>;
484 /* The name "vsram_gpu" is required by mtk-regulator-coupler */
485 regulator-name = "vsram_gpu";
486 regulator-min-microvolt = <750000>;
487 regulator-max-microvolt = <800000>;
488 regulator-coupled-with = <&mt6359_vproc2_buck_reg>;
489 regulator-coupled-max-spread = <6250>;
493 regulator-name = "vufs18_pmu";
494 regulator-always-on;
498 mediatek,mic-type-0 = <1>; /* ACC */
499 mediatek,mic-type-1 = <3>; /* DCC */
503 pinctrl-names = "default";
504 pinctrl-0 = <&pcie_pins_default>;
513 audio_default_pins: audio-default-pins {
514 pins-cmd-dat {
540 dptx_pins: dptx-pins {
541 pins-cmd-dat {
543 bias-pull-up;
547 edp_panel_3v3_en_pins: edp-panel-3v3-en-pins {
550 output-high;
554 eth_default_pins: eth-default-pins {
555 pins-cc {
560 drive-strength = <8>;
563 pins-mdio {
566 drive-strength = <8>;
567 input-enable;
570 pins-power {
573 output-high;
576 pins-rxd {
581 drive-strength = <8>;
584 pins-txd {
589 drive-strength = <8>;
593 eth_sleep_pins: eth-sleep-pins {
594 pins-cc {
601 pins-mdio {
604 input-disable;
605 bias-disable;
608 pins-rxd {
615 pins-txd {
623 i2c0_pins: i2c0-pins {
627 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
628 drive-strength-microamp = <1000>;
632 i2c1_pins: i2c1-pins {
636 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
637 drive-strength-microamp = <1000>;
641 i2c2_pins: i2c2-pins {
645 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
646 drive-strength-microamp = <1000>;
650 i2c3_pins: i2c3-pins {
654 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
655 drive-strength-microamp = <1000>;
659 i2c4_pins: i2c4-pins {
663 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
664 drive-strength-microamp = <1000>;
668 i2c5_pins: i2c5-pins {
672 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
673 drive-strength-microamp = <1000>;
677 i2c6_pins: i2c6-pins {
681 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
682 drive-strength-microamp = <1000>;
686 gpio_key_pins: gpio-key-pins {
694 mmc0_default_pins: mmc0-default-pins {
695 pins-clk {
697 drive-strength = <6>;
698 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
701 pins-cmd-dat {
711 input-enable;
712 drive-strength = <6>;
713 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
716 pins-rst {
718 drive-strength = <6>;
719 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
723 mmc0_uhs_pins: mmc0-uhs-pins {
724 pins-clk {
726 drive-strength = <8>;
727 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
730 pins-cmd-dat {
740 input-enable;
741 drive-strength = <8>;
742 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
745 pins-ds {
747 drive-strength = <8>;
748 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
751 pins-rst {
753 drive-strength = <8>;
754 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
758 mmc1_default_pins: mmc1-default-pins {
759 pins-clk {
761 drive-strength = <6>;
762 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
765 pins-cmd-dat {
771 input-enable;
772 drive-strength = <6>;
773 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
776 pins-insert {
778 bias-pull-up;
782 mmc1_uhs_pins: mmc1-uhs-pins {
783 pins-clk {
785 drive-strength = <6>;
786 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
789 pins-cmd-dat {
795 input-enable;
796 drive-strength = <6>;
797 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
801 mmc2_default_pins: mmc2-default-pins {
802 pins-clk {
804 drive-strength = <4>;
805 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
808 pins-cmd-dat {
814 input-enable;
815 drive-strength = <6>;
816 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
819 pins-pcm {
824 mmc2_uhs_pins: mmc2-uhs-pins {
825 pins-clk {
827 drive-strength = <4>;
828 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
831 pins-cmd-dat {
837 input-enable;
838 drive-strength = <6>;
839 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
843 mmc2_eint_pins: mmc2-eint-pins {
844 pins-dat1 {
846 input-enable;
847 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
851 mmc2_dat1_pins: mmc2-dat1-pins {
852 pins-dat1 {
854 input-enable;
855 drive-strength = <6>;
856 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
860 panel_default_pins: panel-default-pins {
861 pins-dcdc {
863 output-low;
866 pins-en {
868 output-low;
871 pins-rst {
873 output-high;
877 pcie_pins_default: pcie-default {
882 bias-pull-up;
886 rt1715_int_pins: rt1715-int-pins {
889 bias-pull-up;
890 input-enable;
894 spi0_pins: spi0-pins {
895 pins-spi {
900 bias-disable;
904 spi1_pins: spi1-pins {
905 pins-spi {
910 bias-disable;
914 spi2_pins: spi2-pins {
915 pins-spi {
920 bias-disable;
924 touch_vreg_pins: touch-avdd-pins {
925 pins-power {
927 output-high;
931 touch_pins: touch-pins {
932 pins-irq {
934 input-enable;
935 bias-disable;
938 pins-reset {
940 output-high;
944 tcpci_int_pins: tcpci-int-pins {
945 pins-int-n {
947 bias-pull-up;
948 input-enable;
952 uart0_pins: uart0-pins {
956 bias-pull-up;
960 uart1_pins: uart1-pins {
964 bias-pull-up;
968 uart2_pins: uart2-pins {
972 bias-pull-up;
976 usb_default_pins: usb-default-pins {
977 pins-iddig {
979 input-enable;
980 bias-pull-up;
983 pins-valid {
985 input-enable;
988 pins-vbus {
990 output-high;
995 usb1_default_pins: usb1-default-pins {
996 pins-valid {
998 input-enable;
1001 pins-usb-hub-3v3-en {
1003 output-high;
1007 usb2_default_pins: usb2-default-pins {
1008 pins-iddig {
1010 input-enable;
1011 bias-pull-up;
1015 wifi_pwrseq_pins: wifi-pwrseq-pins {
1016 pins-wifi-enable {
1018 output-low;
1024 phy-mode ="rgmii-id";
1025 phy-handle = <ðernet_phy0>;
1026 pinctrl-names = "default", "sleep";
1027 pinctrl-0 = <ð_default_pins>;
1028 pinctrl-1 = <ð_sleep_pins>;
1029 mediatek,mac-wol;
1030 snps,reset-gpio = <&pio 147 GPIO_ACTIVE_HIGH>;
1031 snps,reset-delays-us = <0 10000 10000>;
1036 ethernet_phy0: ethernet-phy@1 {
1037 compatible = "ethernet-phy-id001c.c916";
1043 interrupt-parent = <&pio>;
1047 compatible = "mediatek,mt6359-keys";
1048 mediatek,long-press-mode = <1>;
1049 power-off-time-sec = <0>;
1051 power-key {
1053 wakeup-source;
1059 memory-region = <&scp_mem>;
1064 compatible = "mediatek,mt8390-mt6359-evk", "mediatek,mt8188-mt6359-evb";
1065 model = "mt8390-evk";
1066 pinctrl-names = "default";
1067 pinctrl-0 = <&audio_default_pins>;
1068 audio-routing =
1078 dai-link-0 {
1079 link-name = "DL_SRC_BE";
1082 sound-dai = <&pmic 0>;
1086 dai-link-1 {
1087 link-name = "DMIC_BE";
1090 sound-dai = <&dmic_codec>;
1096 pinctrl-0 = <&spi2_pins>;
1097 pinctrl-names = "default";
1098 mediatek,pad-select = <0>;
1099 #address-cells = <1>;
1100 #size-cells = <0>;
1105 pinctrl-0 = <&uart0_pins>;
1106 pinctrl-names = "default";
1111 pinctrl-0 = <&uart1_pins>;
1112 pinctrl-names = "default";
1117 pinctrl-0 = <&uart2_pins>;
1118 pinctrl-names = "default";
1136 maximum-speed = "high-speed";
1137 usb-role-switch;
1138 wakeup-source;
1139 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1140 pinctrl-0 = <&usb_default_pins>;
1141 pinctrl-names = "default";
1145 compatible = "gpio-usb-b-connector", "usb-b-connector";
1147 id-gpios = <&pio 83 GPIO_ACTIVE_HIGH>;
1148 vbus-supply = <&usb_p0_vbus>;
1158 usb-role-switch;
1159 wakeup-source;
1160 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1161 pinctrl-0 = <&usb1_default_pins>;
1162 pinctrl-names = "default";
1167 remote-endpoint = <&typec_con_hs>;
1174 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1175 #address-cells = <1>;
1176 #size-cells = <0>;
1181 peer-hub = <&hub_3_0>;
1182 reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
1183 vdd-supply = <&usb_hub_fixed_3v3>;
1189 peer-hub = <&hub_2_0>;
1190 reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
1191 vdd-supply = <&usb_hub_fixed_3v3>;
1196 remote-endpoint = <&typec_con_ss>;
1203 maximum-speed = "high-speed";
1204 usb-role-switch;
1205 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1206 wakeup-source;
1207 pinctrl-names = "default";
1208 pinctrl-0 = <&usb2_default_pins>;
1212 compatible = "gpio-usb-b-connector", "usb-b-connector";
1214 id-gpios = <&pio 89 GPIO_ACTIVE_HIGH>;
1215 vbus-supply = <&usb_p2_vbus>;
1220 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1221 vbus-supply = <&sdio_fixed_3v3>; /* wifi_3v3 */