Debian Codegraph @

arch/arm/boot/dts/nxp/imx/imx6q-apalis-eval.dts

raw
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3 * Copyright 2014-2022 Toradex
4 * Copyright 2012 Freescale Semiconductor, Inc.
5 * Copyright 2011 Linaro Ltd.
6 */
7
8 /dts-v1/;
9
10 #include "imx6q-apalis-eval.dtsi"
11
12 / {
13 model = "Toradex Apalis iMX6Q/D Module on Apalis Evaluation Board";
14 compatible = "toradex,apalis_imx6q-eval", "toradex,apalis_imx6q",
15 "fsl,imx6q";
16
17 reg_pcie_switch: regulator-pcie-switch {
18 compatible = "regulator-fixed";
19 enable-active-high;
20 gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
21 regulator-max-microvolt = <1800000>;
22 regulator-min-microvolt = <1800000>;
23 regulator-name = "pcie_switch";
24 startup-delay-us = <100000>;
25 status = "okay";
26 };
27 };
28
29 &can1 {
30 xceiver-supply = <&reg_3v3_sw>;
31 status = "okay";
32 };
33
34 &can2 {
35 xceiver-supply = <&reg_3v3_sw>;
36 status = "okay";
37 };
38
39 &pcie {
40 vpcie-supply = <&reg_pcie_switch>;
41 status = "okay";
42 };
43
44 &sound_spdif {
45 status = "okay";
46 };
47
48 /* MMC1 */
49 &usdhc1 {
50 status = "okay";
51 };
52
53 /* SD1 */
54 &usdhc2 {
55 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
58 status = "okay";
59 };