Lines Matching +full:touch +full:- +full:det +full:- +full:delay
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2014-2022 Toradex
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pwm/pwm.h>
19 /delete-property/ mmc3;
29 compatible = "pwm-backlight";
30 brightness-levels = <0 45 63 88 119 158 203 255>;
31 default-brightness-level = <4>;
32 enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_gpio_bl_on>;
35 power-supply = <®_module_3v3>;
40 clk_ov5640_osc: clk-ov5640-osc {
41 compatible = "fixed-clock";
42 #clock-cells = <0>;
43 clock-frequency = <24000000>;
46 gpio-keys {
47 compatible = "gpio-keys";
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_gpio_keys>;
51 key-wakeup {
52 debounce-interval = <10>;
54 label = "Wake-Up";
56 wakeup-source;
61 compatible = "fsl,imx-parallel-display";
62 #address-cells = <1>;
63 #size-cells = <0>;
64 interface-pix-fmt = "rgb24";
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
73 remote-endpoint = <&ipu1_di1_disp1>;
81 remote-endpoint = <&lcd_panel_in>;
86 panel_dpi: panel-dpi {
94 remote-endpoint = <&lcd_display_out>;
99 panel_lvds: panel-lvds {
100 compatible = "panel-lvds";
106 remote-endpoint = <&lvds0_out>;
111 reg_module_3v3: regulator-module-3v3 {
112 compatible = "regulator-fixed";
113 regulator-always-on;
114 regulator-max-microvolt = <3300000>;
115 regulator-min-microvolt = <3300000>;
116 regulator-name = "+V3.3";
119 reg_module_3v3_audio: regulator-module-3v3-audio {
120 compatible = "regulator-fixed";
121 regulator-always-on;
122 regulator-max-microvolt = <3300000>;
123 regulator-min-microvolt = <3300000>;
124 regulator-name = "+V3.3_AUDIO";
127 reg_ov5640_1v8_d_o_vdd: regulator-ov5640-1v8-d-o-vdd {
128 compatible = "regulator-fixed";
129 regulator-always-on;
130 regulator-max-microvolt = <1800000>;
131 regulator-min-microvolt = <1800000>;
132 regulator-name = "DOVDD/DVDD_1.8V";
133 /* Note: The CSI module uses on-board 3.3V_SW supply */
134 vin-supply = <®_module_3v3>;
137 reg_ov5640_2v8_a_vdd: regulator-ov5640-2v8-a-vdd {
138 compatible = "regulator-fixed";
139 regulator-always-on;
140 regulator-max-microvolt = <2800000>;
141 regulator-min-microvolt = <2800000>;
142 regulator-name = "AVDD/AFVDD_2.8V";
143 /* Note: The CSI module uses on-board 3.3V_SW supply */
144 vin-supply = <®_module_3v3>;
147 reg_usb_otg_vbus: regulator-usb-otg-vbus {
148 compatible = "regulator-fixed";
149 enable-active-high;
151 pinctrl-names = "default";
152 pinctrl-0 = <&pinctrl_regulator_usbotg_pwr>;
153 regulator-max-microvolt = <5000000>;
154 regulator-min-microvolt = <5000000>;
155 regulator-name = "usb_otg_vbus";
160 reg_usb_host_vbus_hub: regulator-usb-host-vbus-hub {
161 compatible = "regulator-fixed";
162 enable-active-high;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_regulator_usbhub_pwr>;
166 regulator-max-microvolt = <5000000>;
167 regulator-min-microvolt = <5000000>;
168 regulator-name = "usb_host_vbus_hub";
169 startup-delay-us = <2000>;
173 reg_usb_host_vbus: regulator-usb-host-vbus {
174 compatible = "regulator-fixed";
175 enable-active-high;
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_regulator_usbh_pwr>;
179 regulator-max-microvolt = <5000000>;
180 regulator-min-microvolt = <5000000>;
181 regulator-name = "usb_host_vbus";
182 vin-supply = <®_usb_host_vbus_hub>;
187 compatible = "fsl,imx-audio-sgtl5000";
188 audio-codec = <&codec>;
189 audio-routing =
194 model = "imx6q-apalis-sgtl5000";
195 mux-ext-port = <4>;
196 mux-int-port = <1>;
197 ssi-controller = <&ssi1>;
200 spdif_out: spdif-out {
201 compatible = "linux,spdif-dit";
202 #sound-dai-cells = <0>;
205 spdif_in: spdif-in {
206 compatible = "linux,spdif-dir";
207 #sound-dai-cells = <0>;
210 sound_spdif: sound-spdif {
211 compatible = "fsl,imx-audio-spdif";
212 audio-cpu = <&spdif>;
213 audio-codec = <&spdif_out>, <&spdif_in>;
214 model = "imx-spdif";
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_audmux>;
226 pinctrl-names = "default", "sleep";
227 pinctrl-0 = <&pinctrl_flexcan1_default>;
228 pinctrl-1 = <&pinctrl_flexcan1_sleep>;
233 pinctrl-names = "default", "sleep";
234 pinctrl-0 = <&pinctrl_flexcan2_default>;
235 pinctrl-1 = <&pinctrl_flexcan2_sleep>;
240 fsl,pmic-stby-poweroff;
245 cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_ecspi1>;
253 cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
254 pinctrl-names = "default";
255 pinctrl-0 = <&pinctrl_ecspi2>;
260 gpio-line-names = "MXM3_84",
288 gpio-line-names = "MXM3_148",
323 gpio-line-names = "MXM3_271",
358 gpio-line-names = "",
382 gpio-line-names = "MXM3_159",
417 gpio-line-names = "MXM3_183",
437 gpio-line-names = "",
454 #address-cells = <1>;
455 #size-cells = <0>;
461 remote-endpoint = <&adv7280_to_ipu1_csi0_mux>;
468 pinctrl-names = "default";
469 pinctrl-0 = <&pinctrl_enet>;
470 phy-mode = "rgmii-id";
471 phy-handle = <ðphy>;
472 phy-reset-duration = <10>;
473 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
477 #address-cells = <1>;
478 #size-cells = <0>;
480 ethphy: ethernet-phy@7 {
481 interrupt-parent = <&gpio1>;
489 pinctrl-names = "default";
490 pinctrl-0 = <&pinctrl_hdmi_ddc &pinctrl_hdmi_cec>;
496 clock-frequency = <100000>;
497 pinctrl-names = "default", "gpio";
498 pinctrl-0 = <&pinctrl_i2c1>;
499 pinctrl-1 = <&pinctrl_i2c1_gpio>;
500 scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
501 sda-gpios = <&gpio5 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
507 interrupt-parent = <&gpio6>;
510 reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>; /* MXM3_13 */
517 * touch screen controller
520 clock-frequency = <100000>;
521 pinctrl-names = "default", "gpio";
522 pinctrl-0 = <&pinctrl_i2c2>;
523 pinctrl-1 = <&pinctrl_i2c2_gpio>;
524 scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
525 sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
530 fsl,pmic-stby-poweroff;
535 regulator-always-on;
536 regulator-boot-on;
537 regulator-max-microvolt = <1875000>;
538 regulator-min-microvolt = <300000>;
539 regulator-ramp-delay = <6250>;
543 regulator-always-on;
544 regulator-boot-on;
545 regulator-max-microvolt = <1875000>;
546 regulator-min-microvolt = <300000>;
547 regulator-ramp-delay = <6250>;
551 regulator-always-on;
552 regulator-boot-on;
553 regulator-max-microvolt = <1975000>;
554 regulator-min-microvolt = <400000>;
558 regulator-always-on;
559 regulator-boot-on;
560 regulator-max-microvolt = <5150000>;
561 regulator-min-microvolt = <5000000>;
565 regulator-always-on;
566 regulator-boot-on;
567 regulator-max-microvolt = <3000000>;
568 regulator-min-microvolt = <1000000>;
572 regulator-always-on;
573 regulator-boot-on;
577 regulator-always-on;
578 regulator-boot-on;
579 regulator-max-microvolt = <1550000>;
580 regulator-min-microvolt = <800000>;
584 regulator-always-on;
585 regulator-boot-on;
586 regulator-max-microvolt = <1550000>;
587 regulator-min-microvolt = <800000>;
591 regulator-always-on;
592 regulator-boot-on;
593 regulator-max-microvolt = <3300000>;
594 regulator-min-microvolt = <1800000>;
598 regulator-always-on;
599 regulator-boot-on;
600 regulator-max-microvolt = <1800000>;
601 regulator-min-microvolt = <1800000>;
605 regulator-always-on;
606 regulator-boot-on;
607 regulator-max-microvolt = <3300000>;
608 regulator-min-microvolt = <1800000>;
612 regulator-always-on;
613 regulator-boot-on;
614 regulator-max-microvolt = <3300000>;
615 regulator-min-microvolt = <1800000>;
622 #sound-dai-cells = <0>;
624 pinctrl-names = "default";
625 pinctrl-0 = <&pinctrl_sgtl5000>;
627 VDDA-supply = <®_module_3v3_audio>;
628 VDDIO-supply = <®_module_3v3>;
629 VDDD-supply = <&vgen4_reg>;
632 /* STMPE811 touch screen controller */
638 interrupt-parent = <&gpio4>;
639 irq-trigger = <0x1>;
640 pinctrl-names = "default";
641 pinctrl-0 = <&pinctrl_touch_int>;
644 st,adc-freq = <1>;
645 /* 12-bit ADC */
646 st,mod-12b = <1>;
648 st,ref-sel = <0>;
650 st,sample-time = <4>;
653 compatible = "st,stmpe-ts";
655 st,ave-ctrl = <3>;
657 st,fraction-z = <7>;
662 st,i-drive = <1>;
665 /* 5 ms touch detect interrupt delay */
666 st,touch-det-delay = <5>;
671 compatible = "st,stmpe-adc";
672 #io-channel-cells = <1>;
673 /* forbid to use ADC channels 3-0 (touch) */
674 st,norequest-mask = <0x0F>;
684 clock-frequency = <100000>;
685 pinctrl-names = "default", "gpio";
686 pinctrl-0 = <&pinctrl_i2c3>;
687 pinctrl-1 = <&pinctrl_i2c3_gpio>;
688 scl-gpios = <&gpio3 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
689 sda-gpios = <&gpio3 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
694 adv,force-bt656-4;
695 pinctrl-names = "default";
696 pinctrl-0 = <&pinctrl_ipu1_csi0>;
702 bus-width = <8>;
703 remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
710 AVDD-supply = <®_ov5640_2v8_a_vdd>;
711 DOVDD-supply = <®_ov5640_1v8_d_o_vdd>;
712 DVDD-supply = <®_ov5640_1v8_d_o_vdd>;
713 clock-names = "xclk";
715 pinctrl-names = "default";
716 pinctrl-0 = <&pinctrl_cam_mclk>;
718 powerdown-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
720 reset-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
725 clock-lanes = <0>;
726 data-lanes = <1 2>;
727 remote-endpoint = <&mipi_csi_from_ov5640>;
734 remote-endpoint = <&lcd_display_in>;
738 lvds-channel@0 {
743 remote-endpoint = <&lvds_panel_in>;
748 lvds-channel@1 {
749 fsl,data-mapping = "spwg";
750 fsl,data-width = <18>;
762 #address-cells = <1>;
763 #size-cells = <0>;
770 clock-lanes = <0>;
771 data-lanes = <1 2>;
772 remote-endpoint = <&ov5640_to_mipi_csi2>;
778 pinctrl-names = "default";
779 pinctrl-0 = <&pinctrl_pwm1>;
784 pinctrl-names = "default";
785 pinctrl-0 = <&pinctrl_pwm2>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&pinctrl_pwm3>;
796 pinctrl-names = "default";
797 pinctrl-0 = <&pinctrl_pwm4>;
802 pinctrl-names = "default";
803 pinctrl-0 = <&pinctrl_spdif>;
812 fsl,dte-mode;
813 pinctrl-names = "default";
814 pinctrl-0 = <&pinctrl_uart1_dte &pinctrl_uart1_ctrl>;
815 uart-has-rtscts;
820 fsl,dte-mode;
821 pinctrl-names = "default";
822 pinctrl-0 = <&pinctrl_uart2_dte>;
823 uart-has-rtscts;
828 fsl,dte-mode;
829 pinctrl-names = "default";
830 pinctrl-0 = <&pinctrl_uart4_dte>;
835 fsl,dte-mode;
836 pinctrl-names = "default";
837 pinctrl-0 = <&pinctrl_uart5_dte>;
842 pinctrl-names = "default";
843 pinctrl-0 = <&pinctrl_usbotg>;
849 bus-width = <8>;
850 cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
851 disable-wp;
852 no-1-8-v;
853 pinctrl-names = "default";
854 pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit &pinctrl_mmc_cd>;
855 vqmmc-supply = <®_module_3v3>;
861 bus-width = <4>;
862 disable-wp;
863 no-1-8-v;
864 pinctrl-names = "default";
865 pinctrl-0 = <&pinctrl_usdhc2>;
866 vqmmc-supply = <®_module_3v3>;
872 bus-width = <8>;
873 no-1-8-v;
874 non-removable;
875 pinctrl-names = "default";
876 pinctrl-0 = <&pinctrl_usdhc3>;
877 vqmmc-supply = <®_module_3v3>;
887 pinctrl-names = "default";
888 pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
1339 pinctrl_usdhc1_4bit: usdhc1-4bitgrp {
1350 pinctrl_usdhc1_8bit: usdhc1-8bitgrp {