Lines Matching +full:cmd +full:- +full:dat +full:- +full:pins
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Author: Chris Chen <chris-qj.chen@mediatek.com>
8 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h>
16 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
17 #include <dt-bindings/spmi/spmi.h>
18 #include <dt-bindings/usb/pd.h>
21 model = "MediaTek Genio-700 EVK";
22 compatible = "mediatek,mt8390-evk", "mediatek,mt8390",
30 stdout-path = "serial0:921600n8";
35 compatible = "linaro,optee-tz";
45 reserved-memory {
46 #address-cells = <2>;
47 #size-cells = <2>;
51 * 12 MiB reserved for OP-TEE (BL32)
52 * +-----------------------+ 0x43e0_0000
54 * +-----------------------+ 0x43c0_0000
56 * + TZDRAM +--------------+ 0x4340_0000
58 * +-----------------------+ 0x4320_0000
61 no-map;
66 compatible = "shared-dma-pool";
68 no-map;
73 no-map;
78 compatible = "shared-dma-pool";
83 compatible = "shared-dma-pool";
88 common_fixed_5v: regulator-0 {
89 compatible = "regulator-fixed";
90 regulator-name = "5v_en";
91 regulator-min-microvolt = <5000000>;
92 regulator-max-microvolt = <5000000>;
94 enable-active-high;
95 regulator-always-on;
98 edp_panel_fixed_3v3: regulator-1 {
99 compatible = "regulator-fixed";
100 regulator-name = "edp_panel_3v3";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
103 enable-active-high;
105 pinctrl-names = "default";
106 pinctrl-0 = <&edp_panel_3v3_en_pins>;
109 gpio_fixed_3v3: regulator-2 {
110 compatible = "regulator-fixed";
111 regulator-name = "gpio_3v3_en";
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
115 enable-active-high;
116 regulator-always-on;
119 sdio_fixed_1v8: regulator-3 {
120 compatible = "regulator-fixed";
121 regulator-name = "sdio_io";
122 regulator-min-microvolt = <1800000>;
123 regulator-max-microvolt = <1800000>;
124 enable-active-high;
125 regulator-always-on;
128 sdio_fixed_3v3: regulator-4 {
129 compatible = "regulator-fixed";
130 regulator-name = "sdio_card";
131 regulator-min-microvolt = <3300000>;
132 regulator-max-microvolt = <3300000>;
134 enable-active-high;
135 regulator-always-on;
138 touch0_fixed_3v3: regulator-5 {
139 compatible = "regulator-fixed";
140 regulator-name = "touch_3v3";
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
144 enable-active-high;
147 usb_hub_fixed_3v3: regulator-6 {
148 compatible = "regulator-fixed";
149 regulator-name = "usb_hub_3v3";
150 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>;
153 startup-delay-us = <10000>;
154 enable-active-high;
157 usb_hub_reset_1v8: regulator-7 {
158 compatible = "regulator-fixed";
159 regulator-name = "usb_hub_reset";
160 regulator-min-microvolt = <1800000>;
161 regulator-max-microvolt = <1800000>;
163 vin-supply = <&usb_hub_fixed_3v3>;
166 usb_p0_vbus: regulator-8 {
167 compatible = "regulator-fixed";
168 regulator-name = "usb_p0_vbus";
169 regulator-min-microvolt = <5000000>;
170 regulator-max-microvolt = <5000000>;
172 enable-active-high;
175 usb_p1_vbus: regulator-9 {
176 compatible = "regulator-fixed";
177 regulator-name = "usb_p1_vbus";
178 regulator-min-microvolt = <5000000>;
179 regulator-max-microvolt = <5000000>;
181 enable-active-high;
184 usb_p2_vbus: regulator-10 {
185 compatible = "regulator-fixed";
186 regulator-name = "usb_p2_vbus";
187 regulator-min-microvolt = <5000000>;
188 regulator-max-microvolt = <5000000>;
189 enable-active-high;
194 pinctrl-names = "default";
195 pinctrl-0 = <&i2c0_pins>;
196 clock-frequency = <400000>;
202 interrupt-parent = <&pio>;
203 interrupts-extended = <&pio 6 IRQ_TYPE_EDGE_RISING>;
204 irq-gpios = <&pio 6 GPIO_ACTIVE_HIGH>;
205 reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
206 AVDD28-supply = <&touch0_fixed_3v3>;
207 VDDIO-supply = <&mt6359_vio18_ldo_reg>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&touch_pins>;
214 pinctrl-names = "default";
215 pinctrl-0 = <&i2c1_pins>;
216 clock-frequency = <400000>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&i2c2_pins>;
223 clock-frequency = <400000>;
228 pinctrl-names = "default";
229 pinctrl-0 = <&i2c3_pins>;
230 clock-frequency = <400000>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&i2c4_pins>;
237 pinctrl-1 = <&rt1715_int_pins>;
238 clock-frequency = <1000000>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&i2c5_pins>;
245 clock-frequency = <400000>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&i2c6_pins>;
252 clock-frequency = <400000>;
258 pinctrl-names = "default", "state_uhs";
259 pinctrl-0 = <&mmc0_default_pins>;
260 pinctrl-1 = <&mmc0_uhs_pins>;
261 bus-width = <8>;
262 max-frequency = <200000000>;
263 cap-mmc-highspeed;
264 mmc-hs200-1_8v;
265 mmc-hs400-1_8v;
266 supports-cqe;
267 cap-mmc-hw-reset;
268 no-sdio;
269 no-sd;
270 hs400-ds-delay = <0x1481b>;
271 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
272 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
273 non-removable;
278 pinctrl-names = "default", "state_uhs";
279 pinctrl-0 = <&mmc1_default_pins>;
280 pinctrl-1 = <&mmc1_uhs_pins>;
281 bus-width = <4>;
282 max-frequency = <200000000>;
283 cap-sd-highspeed;
284 sd-uhs-sdr50;
285 sd-uhs-sdr104;
286 no-mmc;
287 no-sdio;
288 cd-gpios = <&pio 2 GPIO_ACTIVE_LOW>;
289 vmmc-supply = <&mt6359_vpa_buck_reg>;
290 vqmmc-supply = <&mt6359_vsim1_ldo_reg>;
294 regulator-always-on;
298 regulator-always-on;
302 regulator-always-on;
306 regulator-always-on;
310 regulator-always-on;
314 regulator-max-microvolt = <3100000>;
318 regulator-always-on;
322 regulator-always-on;
326 regulator-enable-ramp-delay = <480>;
330 regulator-always-on;
334 mediatek,mic-type-0 = <1>; /* ACC */
335 mediatek,mic-type-1 = <3>; /* DCC */
339 audio_default_pins: audio-default-pins {
340 pins-cmd-dat {
366 dptx_pins: dptx-pins {
367 pins-cmd-dat {
369 bias-pull-up;
373 edp_panel_3v3_en_pins: edp-panel-3v3-en-pins {
376 output-high;
380 eth_default_pins: eth-default-pins {
381 pins-cc {
386 drive-strength = <8>;
389 pins-mdio {
392 drive-strength = <8>;
393 input-enable;
396 pins-power {
399 output-high;
402 pins-rxd {
407 drive-strength = <8>;
410 pins-txd {
415 drive-strength = <8>;
419 eth_sleep_pins: eth-sleep-pins {
420 pins-cc {
427 pins-mdio {
430 input-disable;
431 bias-disable;
434 pins-rxd {
441 pins-txd {
449 i2c0_pins: i2c0-pins {
450 pins {
453 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
454 drive-strength-microamp = <1000>;
458 i2c1_pins: i2c1-pins {
459 pins {
462 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
463 drive-strength-microamp = <1000>;
467 i2c2_pins: i2c2-pins {
468 pins {
471 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
472 drive-strength-microamp = <1000>;
476 i2c3_pins: i2c3-pins {
477 pins {
480 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
481 drive-strength-microamp = <1000>;
485 i2c4_pins: i2c4-pins {
486 pins {
489 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
490 drive-strength-microamp = <1000>;
494 i2c5_pins: i2c5-pins {
495 pins {
498 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
499 drive-strength-microamp = <1000>;
503 i2c6_pins: i2c6-pins {
504 pins {
507 bias-pull-up = <MTK_PULL_SET_RSEL_011>;
508 drive-strength-microamp = <1000>;
512 gpio_key_pins: gpio-key-pins {
513 pins {
520 mmc0_default_pins: mmc0-default-pins {
521 pins-clk {
523 drive-strength = <6>;
524 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
527 pins-cmd-dat {
537 input-enable;
538 drive-strength = <6>;
539 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
542 pins-rst {
544 drive-strength = <6>;
545 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
549 mmc0_uhs_pins: mmc0-uhs-pins {
550 pins-clk {
552 drive-strength = <8>;
553 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
556 pins-cmd-dat {
566 input-enable;
567 drive-strength = <8>;
568 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
571 pins-ds {
573 drive-strength = <8>;
574 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
577 pins-rst {
579 drive-strength = <8>;
580 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
584 mmc1_default_pins: mmc1-default-pins {
585 pins-clk {
587 drive-strength = <6>;
588 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
591 pins-cmd-dat {
597 input-enable;
598 drive-strength = <6>;
599 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
602 pins-insert {
604 bias-pull-up;
608 mmc1_uhs_pins: mmc1-uhs-pins {
609 pins-clk {
611 drive-strength = <6>;
612 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
615 pins-cmd-dat {
621 input-enable;
622 drive-strength = <6>;
623 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
627 mmc2_default_pins: mmc2-default-pins {
628 pins-clk {
630 drive-strength = <4>;
631 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
634 pins-cmd-dat {
640 input-enable;
641 drive-strength = <6>;
642 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
645 pins-pcm {
650 mmc2_uhs_pins: mmc2-uhs-pins {
651 pins-clk {
653 drive-strength = <4>;
654 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
657 pins-cmd-dat {
663 input-enable;
664 drive-strength = <6>;
665 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
669 mmc2_eint_pins: mmc2-eint-pins {
670 pins-dat1 {
672 input-enable;
673 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
677 mmc2_dat1_pins: mmc2-dat1-pins {
678 pins-dat1 {
680 input-enable;
681 drive-strength = <6>;
682 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
686 panel_default_pins: panel-default-pins {
687 pins-dcdc {
689 output-low;
692 pins-en {
694 output-low;
697 pins-rst {
699 output-high;
703 rt1715_int_pins: rt1715-int-pins {
706 bias-pull-up;
707 input-enable;
711 spi0_pins: spi0-pins {
712 pins-spi {
717 bias-disable;
721 spi1_pins: spi1-pins {
722 pins-spi {
727 bias-disable;
731 spi2_pins: spi2-pins {
732 pins-spi {
737 bias-disable;
741 touch_pins: touch-pins {
742 pins-irq {
744 input-enable;
745 bias-disable;
748 pins-reset {
750 output-high;
754 uart0_pins: uart0-pins {
755 pins {
758 bias-pull-up;
762 uart1_pins: uart1-pins {
763 pins {
766 bias-pull-up;
770 uart2_pins: uart2-pins {
771 pins {
774 bias-pull-up;
778 usb_default_pins: usb-default-pins {
779 pins-iddig {
781 input-enable;
782 bias-pull-up;
785 pins-valid {
787 input-enable;
790 pins-vbus {
792 output-high;
797 usb1_default_pins: usb1-default-pins {
798 pins-valid {
800 input-enable;
803 pins-usb-hub-3v3-en {
805 output-high;
809 wifi_pwrseq_pins: wifi-pwrseq-pins {
810 pins-wifi-enable {
812 output-low;
818 interrupt-parent = <&pio>;
823 memory-region = <&scp_mem>;
828 pinctrl-0 = <&uart0_pins>;
829 pinctrl-names = "default";
834 pinctrl-0 = <&uart1_pins>;
835 pinctrl-names = "default";
840 pinctrl-0 = <&uart2_pins>;
841 pinctrl-names = "default";
846 pinctrl-0 = <&spi2_pins>;
847 pinctrl-names = "default";
848 mediatek,pad-select = <0>;
849 #address-cells = <1>;
850 #size-cells = <0>;
868 vusb33-supply = <&mt6359_vusb_ldo_reg>;
873 vusb33-supply = <&mt6359_vusb_ldo_reg>;
874 vbus-supply = <&usb_hub_reset_1v8>;
879 vusb33-supply = <&mt6359_vusb_ldo_reg>;