1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 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>;
48 compatible = "fsl,imx-parallel-display";
51 interface-pix-fmt = "rgb24";
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
59 lcd_display_in: endpoint {
60 remote-endpoint = <&ipu1_di1_disp1>;
67 lcd_display_out: endpoint {
68 remote-endpoint = <&lcd_panel_in>;
75 * edt,et057090dhu: EDT 5.7" LCD TFT
76 * edt,et070080dh6: EDT 7.0" LCD TFT
78 compatible = "edt,et057090dhu";
79 backlight = <&backlight>;
80 power-supply = <®_3v3_sw>;
83 lcd_panel_in: endpoint {
84 remote-endpoint = <&lcd_display_out>;
89 reg_pcie_switch: regulator-pcie-switch {
90 compatible = "regulator-fixed";
91 regulator-name = "pcie_switch";
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
94 gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
95 startup-delay-us = <100000>;
100 reg_3v3_sw: regulator-3v3-sw {
101 compatible = "regulator-fixed";
102 regulator-name = "3.3V_SW";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
110 brightness-levels = <0 127 191 223 239 247 251 255>;
111 default-brightness-level = <1>;
112 power-supply = <®_3v3_sw>;
117 xceiver-supply = <®_3v3_sw>;
122 xceiver-supply = <®_3v3_sw>;
130 /* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
135 * Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
136 * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
139 compatible = "atmel,maxtouch";
141 interrupt-parent = <&gpio6>;
142 interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
143 reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>; /* SODIMM 13 */
148 compatible = "plx,pex8605";
152 /* M41T0M6 real time clock on carrier board */
154 compatible = "st,m41t0";
160 * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
168 remote-endpoint = <&lcd_display_in>;
176 pinctrl-names = "default";
177 pinctrl-0 = <&pinctrl_reset_moci>;
178 /* active-high meaning opposite of regular PERST# active-low polarity */
179 reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
180 reset-gpio-active-high;
181 vpcie-supply = <®_pcie_switch>;
238 vbus-supply = <®_usb_host_vbus>;
243 vbus-supply = <®_usb_otg_vbus>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit &pinctrl_mmc_cd>;
251 cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
259 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
265 * Mux the Apalis GPIOs
267 pinctrl-names = "default";
268 pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
269 &pinctrl_apalis_gpio3 &pinctrl_apalis_gpio4
270 &pinctrl_apalis_gpio5 &pinctrl_apalis_gpio6
271 &pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8