xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6q-apalis-eval.dts (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2014-2022 Toradex
4f126890aSEmmanuel Vadot * Copyright 2012 Freescale Semiconductor, Inc.
5f126890aSEmmanuel Vadot * Copyright 2011 Linaro Ltd.
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/dts-v1/;
9f126890aSEmmanuel Vadot
10*01950c46SEmmanuel Vadot#include "imx6q-apalis-eval.dtsi"
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	model = "Toradex Apalis iMX6Q/D Module on Apalis Evaluation Board";
14f126890aSEmmanuel Vadot	compatible = "toradex,apalis_imx6q-eval", "toradex,apalis_imx6q",
15f126890aSEmmanuel Vadot		     "fsl,imx6q";
16f126890aSEmmanuel Vadot
17f126890aSEmmanuel Vadot	reg_pcie_switch: regulator-pcie-switch {
18f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
19f126890aSEmmanuel Vadot		enable-active-high;
20f126890aSEmmanuel Vadot		gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
21f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
22f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
23f126890aSEmmanuel Vadot		regulator-name = "pcie_switch";
24f126890aSEmmanuel Vadot		startup-delay-us = <100000>;
25f126890aSEmmanuel Vadot		status = "okay";
26f126890aSEmmanuel Vadot	};
27f126890aSEmmanuel Vadot};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot&can1 {
30f126890aSEmmanuel Vadot	xceiver-supply = <&reg_3v3_sw>;
31f126890aSEmmanuel Vadot	status = "okay";
32f126890aSEmmanuel Vadot};
33f126890aSEmmanuel Vadot
34f126890aSEmmanuel Vadot&can2 {
35f126890aSEmmanuel Vadot	xceiver-supply = <&reg_3v3_sw>;
36f126890aSEmmanuel Vadot	status = "okay";
37f126890aSEmmanuel Vadot};
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot/* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
40f126890aSEmmanuel Vadot&i2c1 {
41*01950c46SEmmanuel Vadot	/* PCIe Switch */
42f126890aSEmmanuel Vadot	pcie-switch@58 {
43f126890aSEmmanuel Vadot		compatible = "plx,pex8605";
44f126890aSEmmanuel Vadot		reg = <0x58>;
45f126890aSEmmanuel Vadot	};
46f126890aSEmmanuel Vadot};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot&pcie {
49f126890aSEmmanuel Vadot	vpcie-supply = <&reg_pcie_switch>;
50f126890aSEmmanuel Vadot	status = "okay";
51f126890aSEmmanuel Vadot};
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot&sound_spdif {
54f126890aSEmmanuel Vadot	status = "okay";
55f126890aSEmmanuel Vadot};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot/* MMC1 */
58f126890aSEmmanuel Vadot&usdhc1 {
59f126890aSEmmanuel Vadot	status = "okay";
60f126890aSEmmanuel Vadot};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot/* SD1 */
63f126890aSEmmanuel Vadot&usdhc2 {
64f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
65f126890aSEmmanuel Vadot	pinctrl-names = "default";
66f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
67f126890aSEmmanuel Vadot	status = "okay";
68f126890aSEmmanuel Vadot};
69