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";
33 reg_pcie_switch: regulator-pcie-switch {
34 compatible = "regulator-fixed";
36 gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
37 regulator-max-microvolt = <1800000>;
38 regulator-min-microvolt = <1800000>;
39 regulator-name = "pcie_switch";
40 startup-delay-us = <100000>;
44 reg_3v3_sw: regulator-3v3-sw {
45 compatible = "regulator-fixed";
47 regulator-max-microvolt = <3300000>;
48 regulator-min-microvolt = <3300000>;
49 regulator-name = "3.3V_SW";
54 xceiver-supply = <®_3v3_sw>;
59 xceiver-supply = <®_3v3_sw>;
63 /* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
68 compatible = "plx,pex8605";
72 /* M41T0M6 real time clock on carrier board */
74 compatible = "st,m41t0";
80 * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_reset_moci>;
90 /* active-high meaning opposite of regular PERST# active-low polarity */
91 reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
92 reset-gpio-active-high;
93 vpcie-supply = <®_pcie_switch>;
150 vbus-supply = <®_usb_host_vbus>;
155 vbus-supply = <®_usb_otg_vbus>;
166 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;