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 Ixora Carrier Board";
18 compatible = "toradex,apalis_imx6q-ixora", "toradex,apalis_imx6q",
30 stdout-path = "serial0:115200n8";
34 compatible = "gpio-leds";
35 pinctrl-names = "default";
36 pinctrl-0 = <&pinctrl_leds_ixora>;
39 gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
40 label = "LED_4_GREEN";
44 gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
49 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
50 label = "LED_5_GREEN";
54 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
68 /* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
73 compatible = "atmel,24c02";
77 /* M41T0M6 real time clock on carrier board */
79 compatible = "st,m41t0";
85 * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_reset_moci>;
95 /* active-high meaning opposite of regular PERST# active-low polarity */
96 reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
97 reset-gpio-active-high;
154 disable-over-current;
155 vbus-supply = <®_usb_host_vbus>;
160 disable-over-current;
161 vbus-supply = <®_usb_otg_vbus>;
167 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
174 pinctrl_leds_ixora: ledsixoragrp {
176 MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0x1b0b0
177 MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x1b0b0
178 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
179 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0