xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-prti6q.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (c) 2014 Protonic Holland
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
7*724ba675SRob Herring#include <dt-bindings/input/input.h>
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	chosen {
11*724ba675SRob Herring		stdout-path = &uart4;
12*724ba675SRob Herring	};
13*724ba675SRob Herring
14*724ba675SRob Herring	reg_3v3: regulator-3v3 {
15*724ba675SRob Herring		compatible = "regulator-fixed";
16*724ba675SRob Herring		regulator-name = "3v3";
17*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
18*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
19*724ba675SRob Herring	};
20*724ba675SRob Herring
21*724ba675SRob Herring	reg_usb_h1_vbus: regulator-h1-vbus {
22*724ba675SRob Herring		compatible = "regulator-fixed";
23*724ba675SRob Herring		regulator-name = "h1-vbus";
24*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
25*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
26*724ba675SRob Herring	};
27*724ba675SRob Herring
28*724ba675SRob Herring	reg_usb_otg_vbus: regulator-otg-vbus {
29*724ba675SRob Herring		compatible = "regulator-fixed";
30*724ba675SRob Herring		regulator-name = "otg-vbus";
31*724ba675SRob Herring		regulator-min-microvolt = <5000000>;
32*724ba675SRob Herring		regulator-max-microvolt = <5000000>;
33*724ba675SRob Herring		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
34*724ba675SRob Herring		enable-active-high;
35*724ba675SRob Herring	};
36*724ba675SRob Herring};
37*724ba675SRob Herring
38*724ba675SRob Herring&can1 {
39*724ba675SRob Herring	pinctrl-names = "default";
40*724ba675SRob Herring	status = "okay";
41*724ba675SRob Herring};
42*724ba675SRob Herring
43*724ba675SRob Herring&i2c1 {
44*724ba675SRob Herring	clock-frequency = <100000>;
45*724ba675SRob Herring	pinctrl-names = "default";
46*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
47*724ba675SRob Herring	status = "okay";
48*724ba675SRob Herring};
49*724ba675SRob Herring
50*724ba675SRob Herring&i2c3 {
51*724ba675SRob Herring	clock-frequency = <100000>;
52*724ba675SRob Herring	pinctrl-names = "default";
53*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
54*724ba675SRob Herring	status = "okay";
55*724ba675SRob Herring
56*724ba675SRob Herring	temperature-sensor@70 {
57*724ba675SRob Herring		compatible = "ti,tmp103";
58*724ba675SRob Herring		reg = <0x70>;
59*724ba675SRob Herring	};
60*724ba675SRob Herring};
61*724ba675SRob Herring
62*724ba675SRob Herring&uart4 {
63*724ba675SRob Herring	pinctrl-names = "default";
64*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart4>;
65*724ba675SRob Herring	status = "okay";
66*724ba675SRob Herring};
67*724ba675SRob Herring
68*724ba675SRob Herring&usbh1 {
69*724ba675SRob Herring	vbus-supply = <&reg_usb_h1_vbus>;
70*724ba675SRob Herring	phy_type = "utmi";
71*724ba675SRob Herring	dr_mode = "host";
72*724ba675SRob Herring	disable-over-current;
73*724ba675SRob Herring	status = "okay";
74*724ba675SRob Herring};
75*724ba675SRob Herring
76*724ba675SRob Herring&usbotg {
77*724ba675SRob Herring	vbus-supply = <&reg_usb_otg_vbus>;
78*724ba675SRob Herring	pinctrl-names = "default";
79*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
80*724ba675SRob Herring	phy_type = "utmi";
81*724ba675SRob Herring	dr_mode = "host";
82*724ba675SRob Herring	over-current-active-low;
83*724ba675SRob Herring	status = "okay";
84*724ba675SRob Herring};
85*724ba675SRob Herring
86*724ba675SRob Herring&usbphynop1 {
87*724ba675SRob Herring	status = "disabled";
88*724ba675SRob Herring};
89*724ba675SRob Herring
90*724ba675SRob Herring&usbphynop2 {
91*724ba675SRob Herring	status = "disabled";
92*724ba675SRob Herring};
93*724ba675SRob Herring
94*724ba675SRob Herring&usdhc1 {
95*724ba675SRob Herring	pinctrl-names = "default";
96*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc1>;
97*724ba675SRob Herring	cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
98*724ba675SRob Herring	status = "okay";
99*724ba675SRob Herring};
100*724ba675SRob Herring
101*724ba675SRob Herring&usdhc3 {
102*724ba675SRob Herring	pinctrl-names = "default";
103*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3>;
104*724ba675SRob Herring	bus-width = <8>;
105*724ba675SRob Herring	non-removable;
106*724ba675SRob Herring	no-1-8-v;
107*724ba675SRob Herring	no-sd;
108*724ba675SRob Herring	no-sdio;
109*724ba675SRob Herring	status = "okay";
110*724ba675SRob Herring};
111*724ba675SRob Herring
112*724ba675SRob Herring&iomuxc {
113*724ba675SRob Herring	pinctrl_can1: can1grp {
114*724ba675SRob Herring		fsl,pins = <
115*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x1b008
116*724ba675SRob Herring			MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX	0x1b008
117*724ba675SRob Herring		>;
118*724ba675SRob Herring	};
119*724ba675SRob Herring
120*724ba675SRob Herring	pinctrl_i2c1: i2c1grp {
121*724ba675SRob Herring		fsl,pins = <
122*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA		0x4001f8b1
123*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL		0x4001f8b1
124*724ba675SRob Herring		>;
125*724ba675SRob Herring	};
126*724ba675SRob Herring
127*724ba675SRob Herring	pinctrl_i2c3: i2c3grp {
128*724ba675SRob Herring		fsl,pins = <
129*724ba675SRob Herring			MX6QDL_PAD_GPIO_5__I2C3_SCL		0x4001b8b1
130*724ba675SRob Herring			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
131*724ba675SRob Herring		>;
132*724ba675SRob Herring	};
133*724ba675SRob Herring
134*724ba675SRob Herring	pinctrl_uart4: uart4grp {
135*724ba675SRob Herring		fsl,pins = <
136*724ba675SRob Herring			MX6QDL_PAD_KEY_COL0__UART4_TX_DATA	0x1b0b1
137*724ba675SRob Herring			MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA	0x1b0b1
138*724ba675SRob Herring		>;
139*724ba675SRob Herring	};
140*724ba675SRob Herring
141*724ba675SRob Herring	pinctrl_usdhc1: usdhc1grp {
142*724ba675SRob Herring		fsl,pins = <
143*724ba675SRob Herring			MX6QDL_PAD_SD1_CMD__SD1_CMD		0x170f9
144*724ba675SRob Herring			MX6QDL_PAD_SD1_CLK__SD1_CLK		0x100f9
145*724ba675SRob Herring			MX6QDL_PAD_SD1_DAT0__SD1_DATA0		0x170f9
146*724ba675SRob Herring			MX6QDL_PAD_SD1_DAT1__SD1_DATA1		0x170f9
147*724ba675SRob Herring			MX6QDL_PAD_SD1_DAT2__SD1_DATA2		0x170f9
148*724ba675SRob Herring			MX6QDL_PAD_SD1_DAT3__SD1_DATA3		0x170f9
149*724ba675SRob Herring			MX6QDL_PAD_GPIO_1__GPIO1_IO01		0x1b0b0
150*724ba675SRob Herring		>;
151*724ba675SRob Herring	};
152*724ba675SRob Herring
153*724ba675SRob Herring	pinctrl_usdhc3: usdhc3grp {
154*724ba675SRob Herring		fsl,pins = <
155*724ba675SRob Herring			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17099
156*724ba675SRob Herring			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10099
157*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17099
158*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17099
159*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17099
160*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17099
161*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT4__SD3_DATA4		0x17099
162*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__SD3_DATA5		0x17099
163*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT6__SD3_DATA6		0x17099
164*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT7__SD3_DATA7		0x17099
165*724ba675SRob Herring			MX6QDL_PAD_SD3_RST__SD3_RESET		0x1b0b1
166*724ba675SRob Herring		>;
167*724ba675SRob Herring	};
168*724ba675SRob Herring
169*724ba675SRob Herring	pinctrl_usbotg: usbotggrp {
170*724ba675SRob Herring		fsl,pins = <
171*724ba675SRob Herring			MX6QDL_PAD_EIM_D21__USB_OTG_OC	0x1b0b0
172*724ba675SRob Herring			MX6QDL_PAD_EIM_D22__GPIO3_IO22	0x1b0b0
173*724ba675SRob Herring		>;
174*724ba675SRob Herring	};
175*724ba675SRob Herring};
176