summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/nxp/imx/imx6q-apalis-eval.dts
blob: e1077e2da5f42652f5ec07c29174f34e21fd7231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2014-2022 Toradex
 * Copyright 2012 Freescale Semiconductor, Inc.
 * Copyright 2011 Linaro Ltd.
 */

/dts-v1/;

#include "imx6q-apalis-eval.dtsi"

/ {
	model = "Toradex Apalis iMX6Q/D Module on Apalis Evaluation Board";
	compatible = "toradex,apalis_imx6q-eval", "toradex,apalis_imx6q",
		     "fsl,imx6q";

	reg_pcie_switch: regulator-pcie-switch {
		compatible = "regulator-fixed";
		enable-active-high;
		gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
		regulator-max-microvolt = <1800000>;
		regulator-min-microvolt = <1800000>;
		regulator-name = "pcie_switch";
		startup-delay-us = <100000>;
		status = "okay";
	};
};

&can1 {
	xceiver-supply = <&reg_3v3_sw>;
	status = "okay";
};

&can2 {
	xceiver-supply = <&reg_3v3_sw>;
	status = "okay";
};

/* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
&i2c1 {
	/* PCIe Switch */
	pcie-switch@58 {
		compatible = "plx,pex8605";
		reg = <0x58>;
	};
};

&pcie {
	vpcie-supply = <&reg_pcie_switch>;
	status = "okay";
};

&sound_spdif {
	status = "okay";
};

/* MMC1 */
&usdhc1 {
	status = "okay";
};

/* SD1 */
&usdhc2 {
	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
	status = "okay";
};