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 Ixora Carrier Board V1.1";
18 compatible = "toradex,apalis_imx6q-ixora-v1.1",
19 "toradex,apalis_imx6q-ixora", "toradex,apalis_imx6q",
31 stdout-path = "serial0:115200n8";
35 compatible = "gpio-keys";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_gpio_keys>;
41 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WAKEUP>;
43 debounce-interval = <10>;
49 compatible = "fsl,imx-parallel-display";
52 interface-pix-fmt = "rgb24";
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
60 lcd_display_in: endpoint {
61 remote-endpoint = <&ipu1_di1_disp1>;
68 lcd_display_out: endpoint {
69 remote-endpoint = <&lcd_panel_in>;
76 * edt,et057090dhu: EDT 5.7" LCD TFT
77 * edt,et070080dh6: EDT 7.0" LCD TFT
79 compatible = "edt,et057090dhu";
80 backlight = <&backlight>;
83 lcd_panel_in: endpoint {
84 remote-endpoint = <&lcd_display_out>;
90 compatible = "gpio-leds";
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_leds_ixora>;
96 label = "LED_4_GREEN";
97 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
102 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
106 label = "LED_5_GREEN";
107 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
112 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
118 brightness-levels = <0 127 191 223 239 247 251 255>;
119 default-brightness-level = <1>;
135 /* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
140 * Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
141 * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
144 compatible = "atmel,maxtouch";
146 interrupt-parent = <&gpio6>;
147 interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
148 reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>; /* SODIMM 13 */
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;
237 vbus-supply = <®_usb_host_vbus>;
242 vbus-supply = <®_usb_otg_vbus>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_mmc_cd>;
250 cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
257 * Mux the Apalis GPIOs
259 pinctrl-names = "default";
260 pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
261 &pinctrl_apalis_gpio3 &pinctrl_apalis_gpio4
262 &pinctrl_apalis_gpio5 &pinctrl_apalis_gpio6
263 &pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8
266 pinctrl_leds_ixora: ledsixoragrp {
268 MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x1b0b0
269 MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x1b0b0
270 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
271 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0