xref: /linux/arch/arm/boot/dts/nxp/imx/imx6q-apalis-eval.dtsi (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2014-2024 Toradex
4 */
5
6#include <dt-bindings/gpio/gpio.h>
7#include <dt-bindings/input/input.h>
8#include <dt-bindings/interrupt-controller/irq.h>
9#include "imx6q.dtsi"
10#include "imx6qdl-apalis.dtsi"
11
12/ {
13	aliases {
14		i2c0 = &i2c1;
15		i2c1 = &i2c3;
16		i2c2 = &i2c2;
17		rtc0 = &rtc_i2c;
18		rtc1 = &snvs_rtc;
19	};
20
21	chosen {
22		stdout-path = "serial0:115200n8";
23	};
24
25	reg_3v3_sw: regulator-3v3-sw {
26		compatible = "regulator-fixed";
27		regulator-always-on;
28		regulator-max-microvolt = <3300000>;
29		regulator-min-microvolt = <3300000>;
30		regulator-name = "3.3V_SW";
31	};
32};
33
34&i2c1 {
35	#address-cells = <1>;
36	#size-cells = <0>;
37	status = "okay";
38
39	/* M41T0M6 real time clock on carrier board */
40	rtc_i2c: rtc@68 {
41		compatible = "st,m41t0";
42		reg = <0x68>;
43	};
44};
45
46/*
47 * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
48 * board)
49 */
50&i2c3 {
51	status = "okay";
52};
53
54&pcie {
55	pinctrl-names = "default";
56	pinctrl-0 = <&pinctrl_reset_moci>;
57	/* active-high meaning opposite of regular PERST# active-low polarity */
58	reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
59	reset-gpio-active-high;
60};
61
62&pwm1 {
63	status = "okay";
64};
65
66&pwm2 {
67	status = "okay";
68};
69
70&pwm3 {
71	status = "okay";
72};
73
74&pwm4 {
75	status = "okay";
76};
77
78&reg_usb_host_vbus {
79	status = "okay";
80};
81
82&reg_usb_otg_vbus {
83	status = "okay";
84};
85
86&sata {
87	status = "okay";
88};
89
90&spdif {
91	status = "okay";
92};
93
94&uart1 {
95	status = "okay";
96};
97
98&uart2 {
99	status = "okay";
100};
101
102&uart4 {
103	status = "okay";
104};
105
106&uart5 {
107	status = "okay";
108};
109
110&usbh1 {
111	disable-over-current;
112	vbus-supply = <&reg_usb_host_vbus>;
113	status = "okay";
114};
115
116&usbotg {
117	disable-over-current;
118	vbus-supply = <&reg_usb_otg_vbus>;
119	status = "okay";
120};
121