Lines Matching +full:bias +full:- +full:pull +full:- +full:down
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2021-2022 BayLibre, SAS.
10 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/pinctrl/mt8365-pinfunc.h>
20 compatible = "mediatek,mt8365-evk", "mediatek,mt8365";
28 stdout-path = "serial0:921600n8";
32 compatible = "hdmi-connector";
37 #address-cells = <1>;
38 #size-cells = <0>;
41 remote-endpoint = <&hdmi_connector_out>;
48 compatible = "linaro,optee-tz";
53 gpio-keys {
54 compatible = "gpio-keys";
55 pinctrl-names = "default";
56 pinctrl-0 = <&gpio_keys>;
58 key-volume-up {
62 wakeup-source;
63 debounce-interval = <15>;
72 usb_otg_vbus: regulator-0 {
73 compatible = "regulator-fixed";
74 regulator-name = "otg_vbus";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
78 enable-active-high;
81 reg_vsys: regulator-vsys {
82 compatible = "regulator-fixed";
83 regulator-name = "vsys";
84 regulator-always-on;
85 regulator-boot-on;
88 touch0_fixed_3v3: regulator-vio33tp {
89 compatible = "regulator-fixed";
90 regulator-name = "vio33_tp";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;
93 vin-supply = <®_vsys>;
96 reserved-memory {
97 #address-cells = <2>;
98 #size-cells = <2>;
103 no-map;
107 /* 12 MiB reserved for OP-TEE (BL32)
108 * +-----------------------+ 0x43e0_0000
110 * +-----------------------+ 0x43c0_0000
112 * + TZDRAM +--------------+ 0x4340_0000
114 * +-----------------------+ 0x4320_0000
117 no-map;
123 compatible = "mediatek,mt8365-mt6357";
124 pinctrl-names = "default",
130 pinctrl-0 = <&aud_default_pins>;
131 pinctrl-1 = <&aud_dmic_pins>;
132 pinctrl-2 = <&aud_miso_off_pins>;
133 pinctrl-3 = <&aud_miso_on_pins>;
134 pinctrl-4 = <&aud_mosi_off_pins>;
135 pinctrl-5 = <&aud_mosi_on_pins>;
139 vsys_lcm_reg: regulator-vsys-lcm {
140 compatible = "regulator-fixed";
141 enable-active-high;
143 regulator-max-microvolt = <5000000>;
144 regulator-min-microvolt = <5000000>;
145 regulator-name = "vsys_lcm";
151 mediatek,dmic-mode = <1>;
156 proc-supply = <&mt6357_vproc_reg>;
157 sram-supply = <&mt6357_vsram_proc_reg>;
161 proc-supply = <&mt6357_vproc_reg>;
162 sram-supply = <&mt6357_vsram_proc_reg>;
166 proc-supply = <&mt6357_vproc_reg>;
167 sram-supply = <&mt6357_vsram_proc_reg>;
171 proc-supply = <&mt6357_vproc_reg>;
172 sram-supply = <&mt6357_vsram_proc_reg>;
176 remote-endpoint = <&dsi0_in>;
180 pinctrl-0 = <&dpi_default_pins>;
181 pinctrl-1 = <&dpi_idle_pins>;
182 pinctrl-names = "default", "sleep";
191 #address-cells = <1>;
192 #size-cells = <0>;
195 #address-cells = <1>;
196 #size-cells = <0>;
200 remote-endpoint = <&rdma1_out>;
205 #address-cells = <1>;
206 #size-cells = <0>;
210 remote-endpoint = <&it66121_in>;
217 #address-cells = <1>;
218 #size-cells = <0>;
224 enable-gpios = <&pio 67 GPIO_ACTIVE_HIGH>;
225 reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>;
226 iovcc-supply = <&mt6357_vsim1_reg>;
227 power-supply = <&vsys_lcm_reg>;
230 #address-cells = <1>;
231 #size-cells = <0>;
234 remote-endpoint = <&dsi0_out>;
239 #address-cells = <1>;
240 #size-cells = <0>;
243 #address-cells = <1>;
244 #size-cells = <0>;
248 remote-endpoint = <&dither0_out>;
253 #address-cells = <1>;
254 #size-cells = <0>;
258 remote-endpoint = <&panel_in>;
265 pinctrl-0 = <ðernet_pins>;
266 pinctrl-names = "default";
267 phy-handle = <ð_phy>;
268 phy-mode = "rmii";
278 #address-cells = <1>;
279 #size-cells = <0>;
281 eth_phy: ethernet-phy@0 {
288 clock-frequency = <100000>;
289 pinctrl-0 = <&i2c0_pins>;
290 pinctrl-names = "default";
295 #address-cells = <1>;
296 #size-cells = <0>;
297 clock-div = <2>;
298 clock-frequency = <100000>;
299 pinctrl-0 = <&i2c1_pins>;
300 pinctrl-names = "default";
306 #sound-dai-cells = <0>;
307 interrupt-parent = <&pio>;
309 pinctrl-0 = <&ite_pins>;
310 pinctrl-names = "default";
311 reset-gpios = <&pio 69 GPIO_ACTIVE_LOW>;
312 vcn18-supply = <&mt6357_vsim2_reg>;
313 vcn33-supply = <&mt6357_vibr_reg>;
314 vrf12-supply = <&mt6357_vrf12_reg>;
317 #address-cells = <1>;
318 #size-cells = <0>;
321 #address-cells = <1>;
322 #size-cells = <0>;
326 bus-width = <12>;
327 remote-endpoint = <&dpi0_out>;
332 #address-cells = <1>;
333 #size-cells = <0>;
337 remote-endpoint = <&hdmi_connector_in>;
346 interrupts-extended = <&pio 78 IRQ_TYPE_EDGE_FALLING>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&touch_pins>;
349 irq-gpios = <&pio 78 GPIO_ACTIVE_HIGH>;
350 reset-gpios = <&pio 79 GPIO_ACTIVE_LOW>;
351 AVDD28-supply = <&touch0_fixed_3v3>;
352 VDDIO-supply = <&mt6357_vrf12_reg>;
357 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL>;
358 assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>;
359 bus-width = <8>;
360 cap-mmc-highspeed;
361 cap-mmc-hw-reset;
362 hs400-ds-delay = <0x12012>;
363 max-frequency = <200000000>;
364 mmc-hs200-1_8v;
365 mmc-hs400-1_8v;
366 no-sd;
367 no-sdio;
368 non-removable;
369 pinctrl-0 = <&mmc0_default_pins>;
370 pinctrl-1 = <&mmc0_uhs_pins>;
371 pinctrl-names = "default", "state_uhs";
372 vmmc-supply = <&mt6357_vemc_reg>;
373 vqmmc-supply = <&mt6357_vio18_reg>;
378 bus-width = <4>;
379 cap-sd-highspeed;
380 cd-gpios = <&pio 76 GPIO_ACTIVE_LOW>;
381 max-frequency = <200000000>;
382 pinctrl-0 = <&mmc1_default_pins>;
383 pinctrl-1 = <&mmc1_uhs_pins>;
384 pinctrl-names = "default", "state_uhs";
385 sd-uhs-sdr104;
386 sd-uhs-sdr50;
387 vmmc-supply = <&mt6357_vmch_reg>;
388 vqmmc-supply = <&mt6357_vmc_reg>;
393 interrupts-extended = <&pio 145 IRQ_TYPE_LEVEL_HIGH>;
394 interrupt-controller;
395 #interrupt-cells = <2>;
396 mediatek,micbias0-microvolt = <1900000>;
397 mediatek,micbias1-microvolt = <1700000>;
401 regulator-min-microvolt = <1800000>;
402 regulator-max-microvolt = <1800000>;
406 aud_default_pins: audiodefault-pins {
407 clk-dat-pins {
415 aud_dmic_pins: audiodmic-pins {
416 clk-dat-pins {
423 aud_miso_off_pins: misooff-pins {
424 clk-dat-pins {
429 input-enable;
430 bias-pull-down;
431 drive-strength = <2>;
435 aud_miso_on_pins: misoon-pins {
436 clk-dat-pins {
441 drive-strength = <6>;
445 aud_mosi_off_pins: mosioff-pins {
446 clk-dat-pins {
451 input-enable;
452 bias-pull-down;
453 drive-strength = <2>;
457 aud_mosi_on_pins: mosion-pins {
458 clk-dat-pins {
463 drive-strength = <6>;
467 dpi_default_pins: dpi-default-pins {
485 drive-strength = <4>;
489 dpi_idle_pins: dpi-idle-pins {
510 ethernet_pins: ethernet-pins {
535 gpio_keys: gpio-keys-pins {
538 bias-pull-up;
539 input-enable;
543 i2c0_pins: i2c0-pins {
547 bias-pull-up;
551 i2c1_pins: i2c1-pins {
555 bias-pull-up;
559 ite_pins: ite-pins {
562 input-enable;
563 bias-pull-up;
569 output-high;
574 output-high;
578 mmc0_default_pins: mmc0-default-pins {
579 clk-pins {
581 bias-pull-down;
584 cmd-dat-pins {
594 input-enable;
595 bias-pull-up;
598 rst-pins {
600 bias-pull-up;
604 mmc0_uhs_pins: mmc0-uhs-pins {
605 clk-pins {
607 drive-strength = <MTK_DRIVE_10mA>;
608 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
611 cmd-dat-pins {
621 input-enable;
622 drive-strength = <MTK_DRIVE_10mA>;
623 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
626 ds-pins {
628 drive-strength = <MTK_DRIVE_10mA>;
629 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
632 rst-pins {
634 drive-strength = <MTK_DRIVE_10mA>;
635 bias-pull-up;
639 mmc1_default_pins: mmc1-default-pins {
640 cd-pins {
642 bias-pull-up;
645 clk-pins {
647 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
650 cmd-dat-pins {
656 input-enable;
657 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
661 mmc1_uhs_pins: mmc1-uhs-pins {
662 clk-pins {
664 drive-strength = <8>;
665 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
668 cmd-dat-pins {
674 input-enable;
675 drive-strength = <6>;
676 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
680 touch_pins: touch-pins {
681 ctp-int1-pins {
683 input-enable;
684 bias-disable;
687 rst-pins {
689 output-low;
693 uart0_pins: uart0-pins {
700 uart1_pins: uart1-pins {
707 uart2_pins: uart2-pins {
714 usb_pins: usb-pins {
715 id-pins {
717 input-enable;
718 bias-pull-up;
721 usb0-vbus-pins {
723 output-high;
726 usb1-vbus-pins {
728 output-high;
732 pwm_pins: pwm-pins {
741 pinctrl-0 = <&pwm_pins>;
742 pinctrl-names = "default";
747 remote-endpoint = <&dpi0_in>;
752 maximum-speed = "high-speed";
753 pinctrl-0 = <&usb_pins>;
754 pinctrl-names = "default";
755 usb-role-switch;
756 vusb33-supply = <&mt6357_vusb33_reg>;
760 compatible = "gpio-usb-b-connector", "usb-b-connector";
761 id-gpios = <&pio 17 GPIO_ACTIVE_HIGH>;
763 vbus-supply = <&usb_otg_vbus>;
768 vusb33-supply = <&mt6357_vusb33_reg>;
773 pinctrl-0 = <&uart0_pins>;
774 pinctrl-names = "default";
779 pinctrl-0 = <&uart1_pins>;
780 pinctrl-names = "default";
785 pinctrl-0 = <&uart2_pins>;
786 pinctrl-names = "default";