1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2014-2022 Toradex
4 * Copyright 2012 Freescale Semiconductor, Inc.
5 * Copyright 2011 Linaro Ltd.
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
14 #include "imx6qdl-apalis.dtsi"
17 model = "Toradex Apalis iMX6Q/D Module on Apalis Evaluation Board";
18 compatible = "toradex,apalis_imx6q-eval", "toradex,apalis_imx6q",
30 stdout-path = "serial0:115200n8";
34 compatible = "gpio-keys";
35 pinctrl-names = "default";
36 pinctrl-0 = <&pinctrl_gpio_keys>;
40 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WAKEUP>;
42 debounce-interval = <10>;
47 reg_pcie_switch: regulator-pcie-switch {
48 compatible = "regulator-fixed";
49 regulator-name = "pcie_switch";
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
52 gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
53 startup-delay-us = <100000>;
58 reg_3v3_sw: regulator-3v3-sw {
59 compatible = "regulator-fixed";
60 regulator-name = "3.3V_SW";
61 regulator-min-microvolt = <3300000>;
62 regulator-max-microvolt = <3300000>;
68 xceiver-supply = <®_3v3_sw>;
73 xceiver-supply = <®_3v3_sw>;
81 /* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
86 * Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
87 * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
90 compatible = "atmel,maxtouch";
92 interrupt-parent = <&gpio6>;
93 interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
94 reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>; /* SODIMM 13 */
99 compatible = "plx,pex8605";
103 /* M41T0M6 real time clock on carrier board */
105 compatible = "st,m41t0";
111 * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_reset_moci>;
125 /* active-high meaning opposite of regular PERST# active-low polarity */
126 reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
127 reset-gpio-active-high;
128 vpcie-supply = <®_pcie_switch>;
185 vbus-supply = <®_usb_host_vbus>;
190 vbus-supply = <®_usb_otg_vbus>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit &pinctrl_mmc_cd>;
198 cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
206 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
212 * Mux the Apalis GPIOs
214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
216 &pinctrl_apalis_gpio3 &pinctrl_apalis_gpio4
217 &pinctrl_apalis_gpio5 &pinctrl_apalis_gpio6
218 &pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8