Lines Matching +full:cmd +full:- +full:max +full:- +full:name
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Author: Chris Chen <chris-[email protected]>
9 * Louis-Alexis Eyraud <[email protected]>
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";
43 compatible = "linaro,optee-tz";
47 reserved-memory {
48 #address-cells = <2>;
49 #size-cells = <2>;
53 * 12 MiB reserved for OP-TEE (BL32)
54 * +-----------------------+ 0x43e0_0000
56 * +-----------------------+ 0x43c0_0000
58 * + TZDRAM +--------------+ 0x4340_0000
60 * +-----------------------+ 0x4320_0000
63 no-map;
68 compatible = "shared-dma-pool";
70 no-map;
75 no-map;
80 compatible = "shared-dma-pool";
85 compatible = "shared-dma-pool";
90 compatible = "shared-dma-pool";
92 no-map;
96 compatible = "shared-dma-pool";
98 no-map;
102 compatible = "shared-dma-pool";
104 no-map;
108 common_fixed_5v: regulator-0 {
109 compatible = "regulator-fixed";
110 regulator-name = "vdd_5v";
111 regulator-min-microvolt = <5000000>;
112 regulator-max-microvolt = <5000000>;
114 enable-active-high;
115 regulator-always-on;
116 vin-supply = <®_vsys>;
119 edp_panel_fixed_3v3: regulator-1 {
120 compatible = "regulator-fixed";
121 regulator-name = "vedp_3v3";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
124 enable-active-high;
126 pinctrl-names = "default";
127 pinctrl-0 = <&edp_panel_3v3_en_pins>;
128 vin-supply = <®_vsys>;
131 gpio_fixed_3v3: regulator-2 {
132 compatible = "regulator-fixed";
133 regulator-name = "ext_3v3";
134 regulator-min-microvolt = <3300000>;
135 regulator-max-microvolt = <3300000>;
137 enable-active-high;
138 regulator-always-on;
139 vin-supply = <®_vsys>;
143 reg_vsys: regulator-vsys {
144 compatible = "regulator-fixed";
145 regulator-name = "vsys";
146 regulator-always-on;
147 regulator-boot-on;
151 sdio_fixed_1v8: regulator-3 {
152 compatible = "regulator-fixed";
153 regulator-name = "vio18_conn";
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
156 enable-active-high;
157 regulator-always-on;
161 sdio_fixed_3v3: regulator-4 {
162 compatible = "regulator-fixed";
163 regulator-name = "wifi_3v3";
164 regulator-min-microvolt = <3300000>;
165 regulator-max-microvolt = <3300000>;
167 enable-active-high;
168 regulator-always-on;
169 vin-supply = <®_vsys>;
172 touch0_fixed_3v3: regulator-5 {
173 compatible = "regulator-fixed";
174 regulator-name = "vio33_tp1";
175 regulator-min-microvolt = <3300000>;
176 regulator-max-microvolt = <3300000>;
178 enable-active-high;
179 vin-supply = <®_vsys>;
182 usb_hub_fixed_3v3: regulator-6 {
183 compatible = "regulator-fixed";
184 regulator-name = "vhub_3v3";
185 regulator-min-microvolt = <3300000>;
186 regulator-max-microvolt = <3300000>;
188 startup-delay-us = <10000>;
189 enable-active-high;
190 vin-supply = <®_vsys>;
193 usb_p0_vbus: regulator-7 {
194 compatible = "regulator-fixed";
195 regulator-name = "vbus_p0";
196 regulator-min-microvolt = <5000000>;
197 regulator-max-microvolt = <5000000>;
199 enable-active-high;
200 vin-supply = <®_vsys>;
203 usb_p1_vbus: regulator-8 {
204 compatible = "regulator-fixed";
205 regulator-name = "vbus_p1";
206 regulator-min-microvolt = <5000000>;
207 regulator-max-microvolt = <5000000>;
209 enable-active-high;
210 vin-supply = <®_vsys>;
214 usb_p2_vbus: regulator-9 {
215 compatible = "regulator-fixed";
216 regulator-name = "vbus_p2";
217 regulator-min-microvolt = <5000000>;
218 regulator-max-microvolt = <5000000>;
219 enable-active-high;
224 memory-region = <&adsp_dma_mem>, <&adsp_mem>;
229 memory-region = <&afe_dma_mem>;
234 mali-supply = <&mt6359_vproc2_buck_reg>;
239 pinctrl-names = "default";
240 pinctrl-0 = <&i2c0_pins>;
241 clock-frequency = <400000>;
247 interrupt-parent = <&pio>;
248 interrupts-extended = <&pio 6 IRQ_TYPE_EDGE_RISING>;
249 irq-gpios = <&pio 6 GPIO_ACTIVE_HIGH>;
250 reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
251 AVDD28-supply = <&touch0_fixed_3v3>;
252 VDDIO-supply = <&mt6359_vio18_ldo_reg>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&touch_pins>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&i2c1_pins>;
261 clock-frequency = <400000>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&i2c2_pins>;
268 clock-frequency = <400000>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&i2c3_pins>;
275 clock-frequency = <400000>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&i2c4_pins>;
282 clock-frequency = <1000000>;
287 pinctrl-names = "default";
288 pinctrl-0 = <&i2c5_pins>;
289 clock-frequency = <400000>;
294 pinctrl-names = "default";
295 pinctrl-0 = <&i2c6_pins>;
296 clock-frequency = <400000>;
301 domain-supply = <&mt6359_vproc2_buck_reg>;
305 domain-supply = <&mt6359_vsram_others_ldo_reg>;
310 pinctrl-names = "default", "state_uhs";
311 pinctrl-0 = <&mmc0_default_pins>;
312 pinctrl-1 = <&mmc0_uhs_pins>;
313 bus-width = <8>;
314 max-frequency = <200000000>;
315 cap-mmc-highspeed;
316 mmc-hs200-1_8v;
317 mmc-hs400-1_8v;
318 supports-cqe;
319 cap-mmc-hw-reset;
320 no-sdio;
321 no-sd;
322 hs400-ds-delay = <0x1481b>;
323 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
324 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
325 non-removable;
330 pinctrl-names = "default", "state_uhs";
331 pinctrl-0 = <&mmc1_default_pins>;
332 pinctrl-1 = <&mmc1_uhs_pins>;
333 bus-width = <4>;
334 max-frequency = <200000000>;
335 cap-sd-highspeed;
336 sd-uhs-sdr50;
337 sd-uhs-sdr104;
338 no-mmc;
339 no-sdio;
340 cd-gpios = <&pio 2 GPIO_ACTIVE_LOW>;
341 vmmc-supply = <&mt6359_vpa_buck_reg>;
342 vqmmc-supply = <&mt6359_vsim1_ldo_reg>;
346 regulator-always-on;
350 regulator-name = "vcn18_pmu";
351 regulator-always-on;
355 regulator-name = "vcn33_2_pmu";
356 regulator-always-on;
360 regulator-name = "dvdd_proc_l";
361 regulator-always-on;
365 regulator-name = "dvdd_core";
366 regulator-always-on;
370 regulator-name = "vpa_pmu";
371 regulator-max-microvolt = <3100000>;
375 /* The name "vgpu" is required by mtk-regulator-coupler */
376 regulator-name = "vgpu";
377 regulator-min-microvolt = <550000>;
378 regulator-max-microvolt = <800000>;
379 regulator-coupled-with = <&mt6359_vsram_others_ldo_reg>;
380 regulator-coupled-max-spread = <6250>;
384 regulator-name = "dvdd_adsp";
385 regulator-always-on;
389 regulator-name = "va12_abb2_pmu";
390 regulator-always-on;
394 regulator-name = "vsim1_pmu";
395 regulator-enable-ramp-delay = <480>;
399 /* The name "vsram_gpu" is required by mtk-regulator-coupler */
400 regulator-name = "vsram_gpu";
401 regulator-min-microvolt = <750000>;
402 regulator-max-microvolt = <800000>;
403 regulator-coupled-with = <&mt6359_vproc2_buck_reg>;
404 regulator-coupled-max-spread = <6250>;
408 regulator-name = "vufs18_pmu";
409 regulator-always-on;
413 mediatek,mic-type-0 = <1>; /* ACC */
414 mediatek,mic-type-1 = <3>; /* DCC */
418 pinctrl-names = "default";
419 pinctrl-0 = <&pcie_pins_default>;
428 audio_default_pins: audio-default-pins {
429 pins-cmd-dat {
455 dptx_pins: dptx-pins {
456 pins-cmd-dat {
458 bias-pull-up;
462 edp_panel_3v3_en_pins: edp-panel-3v3-en-pins {
465 output-high;
469 eth_default_pins: eth-default-pins {
470 pins-cc {
475 drive-strength = <8>;
478 pins-mdio {
481 drive-strength = <8>;
482 input-enable;
485 pins-power {
488 output-high;
491 pins-rxd {
496 drive-strength = <8>;
499 pins-txd {
504 drive-strength = <8>;
508 eth_sleep_pins: eth-sleep-pins {
509 pins-cc {
516 pins-mdio {
519 input-disable;
520 bias-disable;
523 pins-rxd {
530 pins-txd {
538 i2c0_pins: i2c0-pins {
542 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
543 drive-strength-microamp = <1000>;
547 i2c1_pins: i2c1-pins {
551 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
552 drive-strength-microamp = <1000>;
556 i2c2_pins: i2c2-pins {
560 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
561 drive-strength-microamp = <1000>;
565 i2c3_pins: i2c3-pins {
569 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
570 drive-strength-microamp = <1000>;
574 i2c4_pins: i2c4-pins {
578 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
579 drive-strength-microamp = <1000>;
583 i2c5_pins: i2c5-pins {
587 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
588 drive-strength-microamp = <1000>;
592 i2c6_pins: i2c6-pins {
596 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
597 drive-strength-microamp = <1000>;
601 gpio_key_pins: gpio-key-pins {
609 mmc0_default_pins: mmc0-default-pins {
610 pins-clk {
612 drive-strength = <6>;
613 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
616 pins-cmd-dat {
626 input-enable;
627 drive-strength = <6>;
628 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
631 pins-rst {
633 drive-strength = <6>;
634 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
638 mmc0_uhs_pins: mmc0-uhs-pins {
639 pins-clk {
641 drive-strength = <8>;
642 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
645 pins-cmd-dat {
655 input-enable;
656 drive-strength = <8>;
657 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
660 pins-ds {
662 drive-strength = <8>;
663 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
666 pins-rst {
668 drive-strength = <8>;
669 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
673 mmc1_default_pins: mmc1-default-pins {
674 pins-clk {
676 drive-strength = <6>;
677 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
680 pins-cmd-dat {
686 input-enable;
687 drive-strength = <6>;
688 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
691 pins-insert {
693 bias-pull-up;
697 mmc1_uhs_pins: mmc1-uhs-pins {
698 pins-clk {
700 drive-strength = <6>;
701 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
704 pins-cmd-dat {
710 input-enable;
711 drive-strength = <6>;
712 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
716 mmc2_default_pins: mmc2-default-pins {
717 pins-clk {
719 drive-strength = <4>;
720 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
723 pins-cmd-dat {
729 input-enable;
730 drive-strength = <6>;
731 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
734 pins-pcm {
739 mmc2_uhs_pins: mmc2-uhs-pins {
740 pins-clk {
742 drive-strength = <4>;
743 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
746 pins-cmd-dat {
752 input-enable;
753 drive-strength = <6>;
754 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
758 mmc2_eint_pins: mmc2-eint-pins {
759 pins-dat1 {
761 input-enable;
762 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
766 mmc2_dat1_pins: mmc2-dat1-pins {
767 pins-dat1 {
769 input-enable;
770 drive-strength = <6>;
771 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
775 panel_default_pins: panel-default-pins {
776 pins-dcdc {
778 output-low;
781 pins-en {
783 output-low;
786 pins-rst {
788 output-high;
792 pcie_pins_default: pcie-default {
797 bias-pull-up;
801 rt1715_int_pins: rt1715-int-pins {
804 bias-pull-up;
805 input-enable;
809 spi0_pins: spi0-pins {
810 pins-spi {
815 bias-disable;
819 spi1_pins: spi1-pins {
820 pins-spi {
825 bias-disable;
829 spi2_pins: spi2-pins {
830 pins-spi {
835 bias-disable;
839 touch_pins: touch-pins {
840 pins-irq {
842 input-enable;
843 bias-disable;
846 pins-reset {
848 output-high;
852 uart0_pins: uart0-pins {
856 bias-pull-up;
860 uart1_pins: uart1-pins {
864 bias-pull-up;
868 uart2_pins: uart2-pins {
872 bias-pull-up;
876 usb_default_pins: usb-default-pins {
877 pins-iddig {
879 input-enable;
880 bias-pull-up;
883 pins-valid {
885 input-enable;
888 pins-vbus {
890 output-high;
895 usb1_default_pins: usb1-default-pins {
896 pins-valid {
898 input-enable;
901 pins-usb-hub-3v3-en {
903 output-high;
907 wifi_pwrseq_pins: wifi-pwrseq-pins {
908 pins-wifi-enable {
910 output-low;
916 phy-mode ="rgmii-id";
917 phy-handle = <ðernet_phy0>;
918 pinctrl-names = "default", "sleep";
919 pinctrl-0 = <ð_default_pins>;
920 pinctrl-1 = <ð_sleep_pins>;
921 mediatek,mac-wol;
922 snps,reset-gpio = <&pio 147 GPIO_ACTIVE_HIGH>;
923 snps,reset-delays-us = <0 10000 10000>;
928 ethernet_phy0: ethernet-phy@1 {
929 compatible = "ethernet-phy-id001c.c916";
935 interrupt-parent = <&pio>;
939 compatible = "mediatek,mt6359-keys";
940 mediatek,long-press-mode = <1>;
941 power-off-time-sec = <0>;
943 power-key {
945 wakeup-source;
951 memory-region = <&scp_mem>;
956 compatible = "mediatek,mt8390-mt6359-evk", "mediatek,mt8188-mt6359-evb";
957 model = "mt8390-evk";
958 pinctrl-names = "default";
959 pinctrl-0 = <&audio_default_pins>;
960 audio-routing =
966 dai-link-0 {
967 link-name = "DL_SRC_BE";
970 sound-dai = <&pmic 0>;
976 pinctrl-0 = <&spi2_pins>;
977 pinctrl-names = "default";
978 mediatek,pad-select = <0>;
979 #address-cells = <1>;
980 #size-cells = <0>;
985 pinctrl-0 = <&uart0_pins>;
986 pinctrl-names = "default";
991 pinctrl-0 = <&uart1_pins>;
992 pinctrl-names = "default";
997 pinctrl-0 = <&uart2_pins>;
998 pinctrl-names = "default";
1016 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1021 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1022 #address-cells = <1>;
1023 #size-cells = <0>;
1028 peer-hub = <&hub_3_0>;
1029 reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
1030 vdd-supply = <&usb_hub_fixed_3v3>;
1036 peer-hub = <&hub_2_0>;
1037 reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
1038 vdd-supply = <&usb_hub_fixed_3v3>;
1044 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1045 vbus-supply = <&sdio_fixed_3v3>; /* wifi_3v3 */