xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6sx-udoo-neo.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (c) 2016 Andreas Färber
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include "imx6sx.dtsi"
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	compatible = "fsl,imx6sx";
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot	chosen {
12*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
13*f126890aSEmmanuel Vadot	};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	leds {
16*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot		led-red {
19*f126890aSEmmanuel Vadot			label = "udoo-neo:red:mmc";
20*f126890aSEmmanuel Vadot			gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
21*f126890aSEmmanuel Vadot			default-state = "off";
22*f126890aSEmmanuel Vadot			linux,default-trigger = "mmc0";
23*f126890aSEmmanuel Vadot		};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot		led-orange {
26*f126890aSEmmanuel Vadot			label = "udoo-neo:orange:user";
27*f126890aSEmmanuel Vadot			gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
28*f126890aSEmmanuel Vadot			default-state = "keep";
29*f126890aSEmmanuel Vadot		};
30*f126890aSEmmanuel Vadot	};
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot	reg_sdio_pwr: regulator-sdio-pwr {
33*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
34*f126890aSEmmanuel Vadot		gpio = <&gpio6 1 GPIO_ACTIVE_HIGH>;
35*f126890aSEmmanuel Vadot		enable-active-high;
36*f126890aSEmmanuel Vadot		regulator-name = "SDIO_PWR";
37*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
38*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
39*f126890aSEmmanuel Vadot		regulator-boot-on;
40*f126890aSEmmanuel Vadot	};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot	reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
43*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
44*f126890aSEmmanuel Vadot		pinctrl-names = "default";
45*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_otg1_reg>;
46*f126890aSEmmanuel Vadot		regulator-name = "usb_otg1_vbus";
47*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
48*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
49*f126890aSEmmanuel Vadot		gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
50*f126890aSEmmanuel Vadot		enable-active-high;
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot	reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
54*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
55*f126890aSEmmanuel Vadot		pinctrl-names = "default";
56*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_otg2_reg>;
57*f126890aSEmmanuel Vadot		regulator-name = "usb_otg2_vbus";
58*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
59*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
60*f126890aSEmmanuel Vadot		gpio = <&gpio4 12 GPIO_ACTIVE_HIGH>;
61*f126890aSEmmanuel Vadot		enable-active-high;
62*f126890aSEmmanuel Vadot	};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot	reg_wlan: regulator-wlan {
65*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
66*f126890aSEmmanuel Vadot		regulator-name = "wlan-en-regulator";
67*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
68*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
69*f126890aSEmmanuel Vadot		gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
70*f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
71*f126890aSEmmanuel Vadot		enable-active-high;
72*f126890aSEmmanuel Vadot	};
73*f126890aSEmmanuel Vadot};
74*f126890aSEmmanuel Vadot
75*f126890aSEmmanuel Vadot&fec1 {
76*f126890aSEmmanuel Vadot	pinctrl-names = "default";
77*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet1>;
78*f126890aSEmmanuel Vadot	phy-mode = "rmii";
79*f126890aSEmmanuel Vadot	phy-reset-duration = <10>;
80*f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
81*f126890aSEmmanuel Vadot};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot&i2c1 {
84*f126890aSEmmanuel Vadot	pinctrl-names = "default";
85*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
86*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
87*f126890aSEmmanuel Vadot	status = "okay";
88*f126890aSEmmanuel Vadot
89*f126890aSEmmanuel Vadot	pmic: pmic@8 {
90*f126890aSEmmanuel Vadot		compatible = "fsl,pfuze3000";
91*f126890aSEmmanuel Vadot		reg = <0x08>;
92*f126890aSEmmanuel Vadot
93*f126890aSEmmanuel Vadot		regulators {
94*f126890aSEmmanuel Vadot			sw1a_reg: sw1a {
95*f126890aSEmmanuel Vadot				regulator-min-microvolt = <700000>;
96*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1475000>;
97*f126890aSEmmanuel Vadot				regulator-boot-on;
98*f126890aSEmmanuel Vadot				regulator-always-on;
99*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
100*f126890aSEmmanuel Vadot			};
101*f126890aSEmmanuel Vadot
102*f126890aSEmmanuel Vadot			sw1c_reg: sw1b {
103*f126890aSEmmanuel Vadot				regulator-min-microvolt = <700000>;
104*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1475000>;
105*f126890aSEmmanuel Vadot				regulator-boot-on;
106*f126890aSEmmanuel Vadot				regulator-always-on;
107*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
108*f126890aSEmmanuel Vadot			};
109*f126890aSEmmanuel Vadot
110*f126890aSEmmanuel Vadot			sw2_reg: sw2 {
111*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1500000>;
112*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1850000>;
113*f126890aSEmmanuel Vadot				regulator-boot-on;
114*f126890aSEmmanuel Vadot				regulator-always-on;
115*f126890aSEmmanuel Vadot			};
116*f126890aSEmmanuel Vadot
117*f126890aSEmmanuel Vadot			sw3a_reg: sw3 {
118*f126890aSEmmanuel Vadot				regulator-min-microvolt = <900000>;
119*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1650000>;
120*f126890aSEmmanuel Vadot				regulator-boot-on;
121*f126890aSEmmanuel Vadot				regulator-always-on;
122*f126890aSEmmanuel Vadot			};
123*f126890aSEmmanuel Vadot
124*f126890aSEmmanuel Vadot			swbst_reg: swbst {
125*f126890aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
126*f126890aSEmmanuel Vadot				regulator-max-microvolt = <5150000>;
127*f126890aSEmmanuel Vadot			};
128*f126890aSEmmanuel Vadot
129*f126890aSEmmanuel Vadot			snvs_reg: vsnvs {
130*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
131*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
132*f126890aSEmmanuel Vadot				regulator-boot-on;
133*f126890aSEmmanuel Vadot				regulator-always-on;
134*f126890aSEmmanuel Vadot			};
135*f126890aSEmmanuel Vadot
136*f126890aSEmmanuel Vadot			vref_reg: vrefddr {
137*f126890aSEmmanuel Vadot				regulator-boot-on;
138*f126890aSEmmanuel Vadot				regulator-always-on;
139*f126890aSEmmanuel Vadot			};
140*f126890aSEmmanuel Vadot
141*f126890aSEmmanuel Vadot			vgen1_reg: vldo1 {
142*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
143*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
144*f126890aSEmmanuel Vadot				regulator-always-on;
145*f126890aSEmmanuel Vadot			};
146*f126890aSEmmanuel Vadot
147*f126890aSEmmanuel Vadot			vgen2_reg: vldo2 {
148*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
149*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
150*f126890aSEmmanuel Vadot			};
151*f126890aSEmmanuel Vadot
152*f126890aSEmmanuel Vadot			vgen3_reg: vccsd {
153*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2850000>;
154*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
155*f126890aSEmmanuel Vadot				regulator-always-on;
156*f126890aSEmmanuel Vadot			};
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot			vgen4_reg: v33 {
159*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2850000>;
160*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
161*f126890aSEmmanuel Vadot				regulator-always-on;
162*f126890aSEmmanuel Vadot			};
163*f126890aSEmmanuel Vadot
164*f126890aSEmmanuel Vadot			vgen5_reg: vldo3 {
165*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
166*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
167*f126890aSEmmanuel Vadot				regulator-always-on;
168*f126890aSEmmanuel Vadot			};
169*f126890aSEmmanuel Vadot
170*f126890aSEmmanuel Vadot			vgen6_reg: vldo4 {
171*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
172*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
173*f126890aSEmmanuel Vadot				regulator-always-on;
174*f126890aSEmmanuel Vadot			};
175*f126890aSEmmanuel Vadot		};
176*f126890aSEmmanuel Vadot	};
177*f126890aSEmmanuel Vadot};
178*f126890aSEmmanuel Vadot
179*f126890aSEmmanuel Vadot&i2c2 { /* Brick snap in sensors connector */
180*f126890aSEmmanuel Vadot	pinctrl-names = "default";
181*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
182*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
183*f126890aSEmmanuel Vadot	status = "okay";
184*f126890aSEmmanuel Vadot};
185*f126890aSEmmanuel Vadot
186*f126890aSEmmanuel Vadot&i2c3 {
187*f126890aSEmmanuel Vadot	pinctrl-names = "default";
188*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
189*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
190*f126890aSEmmanuel Vadot	status = "okay";
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot	hdmi-transmitter@70 {
193*f126890aSEmmanuel Vadot		compatible = "nxp,tda998x";
194*f126890aSEmmanuel Vadot		reg = <0x70>;
195*f126890aSEmmanuel Vadot		interrupts-extended = <&gpio3 27 IRQ_TYPE_LEVEL_LOW>;
196*f126890aSEmmanuel Vadot
197*f126890aSEmmanuel Vadot		ports {
198*f126890aSEmmanuel Vadot			port {
199*f126890aSEmmanuel Vadot				hdmi: endpoint {
200*f126890aSEmmanuel Vadot					remote-endpoint = <&lcdc>;
201*f126890aSEmmanuel Vadot				};
202*f126890aSEmmanuel Vadot			};
203*f126890aSEmmanuel Vadot		};
204*f126890aSEmmanuel Vadot	};
205*f126890aSEmmanuel Vadot};
206*f126890aSEmmanuel Vadot
207*f126890aSEmmanuel Vadot&i2c4 { /* Onboard Motion sensors */
208*f126890aSEmmanuel Vadot	pinctrl-names = "default";
209*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c4>;
210*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
211*f126890aSEmmanuel Vadot	status = "disabled";
212*f126890aSEmmanuel Vadot};
213*f126890aSEmmanuel Vadot
214*f126890aSEmmanuel Vadot&lcdif1 {
215*f126890aSEmmanuel Vadot	pinctrl-names = "default";
216*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_lcd>;
217*f126890aSEmmanuel Vadot	status = "okay";
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot	port {
220*f126890aSEmmanuel Vadot		lcdc: endpoint {
221*f126890aSEmmanuel Vadot			remote-endpoint = <&hdmi>;
222*f126890aSEmmanuel Vadot		};
223*f126890aSEmmanuel Vadot	};
224*f126890aSEmmanuel Vadot};
225*f126890aSEmmanuel Vadot
226*f126890aSEmmanuel Vadot&iomuxc {
227*f126890aSEmmanuel Vadot	pinctrl_bt_reg: btreggrp {
228*f126890aSEmmanuel Vadot		fsl,pins =
229*f126890aSEmmanuel Vadot			<MX6SX_PAD_KEY_ROW2__GPIO2_IO_17	0x15059>;
230*f126890aSEmmanuel Vadot	};
231*f126890aSEmmanuel Vadot
232*f126890aSEmmanuel Vadot	pinctrl_enet1: enet1grp {
233*f126890aSEmmanuel Vadot		fsl,pins =
234*f126890aSEmmanuel Vadot			<MX6SX_PAD_ENET1_CRS__GPIO2_IO_1	0xa0b1>,
235*f126890aSEmmanuel Vadot			<MX6SX_PAD_ENET1_MDC__ENET1_MDC		0xa0b1>,
236*f126890aSEmmanuel Vadot			<MX6SX_PAD_ENET1_MDIO__ENET1_MDIO	0xa0b1>,
237*f126890aSEmmanuel Vadot			<MX6SX_PAD_RGMII1_TD0__ENET1_TX_DATA_0	0xa0b1>,
238*f126890aSEmmanuel Vadot			<MX6SX_PAD_RGMII1_TD1__ENET1_TX_DATA_1	0xa0b1>,
239*f126890aSEmmanuel Vadot			<MX6SX_PAD_RGMII1_TX_CTL__ENET1_TX_EN	0xa0b1>,
240*f126890aSEmmanuel Vadot
241*f126890aSEmmanuel Vadot			<MX6SX_PAD_ENET1_TX_CLK__ENET1_REF_CLK1	0x3081>,
242*f126890aSEmmanuel Vadot			<MX6SX_PAD_ENET2_TX_CLK__GPIO2_IO_9	0x3081>,
243*f126890aSEmmanuel Vadot			<MX6SX_PAD_RGMII1_RD0__ENET1_RX_DATA_0	0x3081>,
244*f126890aSEmmanuel Vadot			<MX6SX_PAD_RGMII1_RD1__ENET1_RX_DATA_1	0x3081>,
245*f126890aSEmmanuel Vadot			<MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN	0x3081>,
246*f126890aSEmmanuel Vadot			<MX6SX_PAD_RGMII1_RXC__ENET1_RX_ER	0x3081>,
247*f126890aSEmmanuel Vadot
248*f126890aSEmmanuel Vadot			<MX6SX_PAD_ENET2_RX_CLK__ENET2_REF_CLK_25M	0x91>;
249*f126890aSEmmanuel Vadot	};
250*f126890aSEmmanuel Vadot
251*f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
252*f126890aSEmmanuel Vadot		fsl,pins =
253*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO00__I2C1_SCL		0x4001b8b1>,
254*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO01__I2C1_SDA		0x4001b8b1>;
255*f126890aSEmmanuel Vadot	};
256*f126890aSEmmanuel Vadot
257*f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
258*f126890aSEmmanuel Vadot		fsl,pins =
259*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO03__I2C2_SDA		0x4001b8b1>,
260*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO02__I2C2_SCL		0x4001b8b1>;
261*f126890aSEmmanuel Vadot	};
262*f126890aSEmmanuel Vadot
263*f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
264*f126890aSEmmanuel Vadot		fsl,pins =
265*f126890aSEmmanuel Vadot			<MX6SX_PAD_KEY_ROW4__I2C3_SDA			0x4001b8b1>,
266*f126890aSEmmanuel Vadot			<MX6SX_PAD_KEY_COL4__I2C3_SCL			0x4001b8b1>;
267*f126890aSEmmanuel Vadot	};
268*f126890aSEmmanuel Vadot
269*f126890aSEmmanuel Vadot	pinctrl_i2c4: i2c4grp {
270*f126890aSEmmanuel Vadot		fsl,pins =
271*f126890aSEmmanuel Vadot			<MX6SX_PAD_USB_H_DATA__I2C4_SDA		0x4001b8b1>,
272*f126890aSEmmanuel Vadot			<MX6SX_PAD_USB_H_STROBE__I2C4_SCL	0x4001b8b1>;
273*f126890aSEmmanuel Vadot	};
274*f126890aSEmmanuel Vadot
275*f126890aSEmmanuel Vadot	pinctrl_lcd: lcdgrp {
276*f126890aSEmmanuel Vadot		fsl,pins = <
277*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA00__LCDIF1_DATA_0		0x4001b0b0
278*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA01__LCDIF1_DATA_1		0x4001b0b0
279*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA02__LCDIF1_DATA_2		0x4001b0b0
280*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA03__LCDIF1_DATA_3		0x4001b0b0
281*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA04__LCDIF1_DATA_4		0x4001b0b0
282*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA05__LCDIF1_DATA_5		0x4001b0b0
283*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA06__LCDIF1_DATA_6		0x4001b0b0
284*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA07__LCDIF1_DATA_7		0x4001b0b0
285*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA08__LCDIF1_DATA_8		0x4001b0b0
286*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA09__LCDIF1_DATA_9		0x4001b0b0
287*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA10__LCDIF1_DATA_10		0x4001b0b0
288*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA11__LCDIF1_DATA_11		0x4001b0b0
289*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA12__LCDIF1_DATA_12		0x4001b0b0
290*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA13__LCDIF1_DATA_13		0x4001b0b0
291*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA14__LCDIF1_DATA_14		0x4001b0b0
292*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA15__LCDIF1_DATA_15		0x4001b0b0
293*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA16__LCDIF1_DATA_16		0x4001b0b0
294*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA17__LCDIF1_DATA_17		0x4001b0b0
295*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA18__LCDIF1_DATA_18		0x4001b0b0
296*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA19__LCDIF1_DATA_19		0x4001b0b0
297*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA20__LCDIF1_DATA_20		0x4001b0b0
298*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA21__LCDIF1_DATA_21		0x4001b0b0
299*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA22__LCDIF1_DATA_22		0x4001b0b0
300*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_DATA23__LCDIF1_DATA_23		0x4001b0b0
301*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_CLK__LCDIF1_CLK		0x4001b0b0
302*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_ENABLE__LCDIF1_ENABLE		0x4001b0b0
303*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_VSYNC__LCDIF1_VSYNC		0x4001b0b0
304*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_HSYNC__LCDIF1_HSYNC		0x4001b0b0
305*f126890aSEmmanuel Vadot			MX6SX_PAD_LCD1_RESET__GPIO3_IO_27		0x4001b0b0
306*f126890aSEmmanuel Vadot		>;
307*f126890aSEmmanuel Vadot	};
308*f126890aSEmmanuel Vadot
309*f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
310*f126890aSEmmanuel Vadot		fsl,pins =
311*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX	0x1b0b1>,
312*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO05__UART1_DCE_RX	0x1b0b1>;
313*f126890aSEmmanuel Vadot	};
314*f126890aSEmmanuel Vadot
315*f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
316*f126890aSEmmanuel Vadot		fsl,pins =
317*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO06__UART2_DCE_TX	0x1b0b1>,
318*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO07__UART2_DCE_RX	0x1b0b1>;
319*f126890aSEmmanuel Vadot	};
320*f126890aSEmmanuel Vadot
321*f126890aSEmmanuel Vadot	pinctrl_uart3: uart3grp {
322*f126890aSEmmanuel Vadot		fsl,pins =
323*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA4__UART3_DCE_RX	0x13059>,
324*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA5__UART3_DCE_TX	0x13059>,
325*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA6__UART3_DCE_RTS	0x13059>,
326*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA7__UART3_DCE_CTS	0x13059>;
327*f126890aSEmmanuel Vadot	};
328*f126890aSEmmanuel Vadot
329*f126890aSEmmanuel Vadot	pinctrl_uart5: uart5grp {
330*f126890aSEmmanuel Vadot		fsl,pins =
331*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD4_DATA4__UART5_DCE_RX	0x1b0b1>,
332*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD4_DATA5__UART5_DCE_TX	0x1b0b1>;
333*f126890aSEmmanuel Vadot	};
334*f126890aSEmmanuel Vadot
335*f126890aSEmmanuel Vadot	pinctrl_uart6: uart6grp {
336*f126890aSEmmanuel Vadot		fsl,pins =
337*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA00__UART6_RI_B	0x1b0b1>,
338*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA01__UART6_DSR_B	0x1b0b1>,
339*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA02__UART6_DTR_B	0x1b0b1>,
340*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA03__UART6_DCD_B	0x1b0b1>,
341*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA04__UART6_DCE_RX	0x1b0b1>,
342*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA05__UART6_DCE_TX	0x1b0b1>,
343*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA06__UART6_DCE_RTS	0x1b0b1>,
344*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_DATA07__UART6_DCE_CTS	0x1b0b1>;
345*f126890aSEmmanuel Vadot	};
346*f126890aSEmmanuel Vadot
347*f126890aSEmmanuel Vadot	pinctrl_otg1_reg: otg1grp {
348*f126890aSEmmanuel Vadot		fsl,pins =
349*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9	0x10b0>;
350*f126890aSEmmanuel Vadot	};
351*f126890aSEmmanuel Vadot
352*f126890aSEmmanuel Vadot	pinctrl_otg2_reg: otg2grp {
353*f126890aSEmmanuel Vadot		fsl,pins =
354*f126890aSEmmanuel Vadot			<MX6SX_PAD_NAND_RE_B__GPIO4_IO_12	0x10b0>;
355*f126890aSEmmanuel Vadot	};
356*f126890aSEmmanuel Vadot
357*f126890aSEmmanuel Vadot	pinctrl_usb_otg1: usbotg1grp {
358*f126890aSEmmanuel Vadot		fsl,pins =
359*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID	0x17059>,
360*f126890aSEmmanuel Vadot			<MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC	0x10b0>;
361*f126890aSEmmanuel Vadot	};
362*f126890aSEmmanuel Vadot
363*f126890aSEmmanuel Vadot	pinctrl_usb_otg2: usbot2ggrp {
364*f126890aSEmmanuel Vadot		fsl,pins =
365*f126890aSEmmanuel Vadot			<MX6SX_PAD_QSPI1A_DATA0__USB_OTG2_OC	0x10b0>;
366*f126890aSEmmanuel Vadot	};
367*f126890aSEmmanuel Vadot
368*f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
369*f126890aSEmmanuel Vadot		fsl,pins =
370*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD2_CMD__USDHC2_CMD		0x17059>,
371*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD2_CLK__USDHC2_CLK		0x10059>,
372*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD2_DATA0__USDHC2_DATA0	0x17059>,
373*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD2_DATA1__USDHC2_DATA1	0x17059>,
374*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD2_DATA2__USDHC2_DATA2	0x17059>,
375*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD2_DATA3__USDHC2_DATA3	0x17059>,
376*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD1_DATA0__GPIO6_IO_2	0x17059>; /* CD */
377*f126890aSEmmanuel Vadot	};
378*f126890aSEmmanuel Vadot
379*f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
380*f126890aSEmmanuel Vadot		fsl,pins =
381*f126890aSEmmanuel Vadot			<MX6SX_PAD_KEY_COL2__GPIO2_IO_12	0x15059>,
382*f126890aSEmmanuel Vadot			<MX6SX_PAD_KEY_ROW1__GPIO2_IO_16	0x13059>,
383*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA0__USDHC3_DATA0	0x17069>,
384*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA1__USDHC3_DATA1	0x17069>,
385*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA2__USDHC3_DATA2	0x17069>,
386*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_DATA3__USDHC3_DATA3	0x17069>,
387*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_CMD__USDHC3_CMD		0x17069>,
388*f126890aSEmmanuel Vadot			<MX6SX_PAD_SD3_CLK__USDHC3_CLK		0x10069>,
389*f126890aSEmmanuel Vadot			<MX6SX_PAD_CSI_MCLK__OSC32K_32K_OUT	0x10059>;
390*f126890aSEmmanuel Vadot	};
391*f126890aSEmmanuel Vadot};
392*f126890aSEmmanuel Vadot
393*f126890aSEmmanuel Vadot&uart1 {
394*f126890aSEmmanuel Vadot	pinctrl-names = "default";
395*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
396*f126890aSEmmanuel Vadot	status = "okay";
397*f126890aSEmmanuel Vadot};
398*f126890aSEmmanuel Vadot
399*f126890aSEmmanuel Vadot/* Cortex-M4 serial */
400*f126890aSEmmanuel Vadot&uart2 {
401*f126890aSEmmanuel Vadot	pinctrl-names = "default";
402*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
403*f126890aSEmmanuel Vadot	status = "disabled";
404*f126890aSEmmanuel Vadot};
405*f126890aSEmmanuel Vadot
406*f126890aSEmmanuel Vadot&uart3 { /* Bluetooth - only on Extended/Full versions */
407*f126890aSEmmanuel Vadot	pinctrl-names = "default";
408*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
409*f126890aSEmmanuel Vadot	uart-has-rtscts;
410*f126890aSEmmanuel Vadot	status = "disabled";
411*f126890aSEmmanuel Vadot
412*f126890aSEmmanuel Vadot	bluetooth {
413*f126890aSEmmanuel Vadot		compatible = "ti,wl1831-st";
414*f126890aSEmmanuel Vadot		enable-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
415*f126890aSEmmanuel Vadot		pinctrl-names = "default";
416*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_bt_reg>;
417*f126890aSEmmanuel Vadot		max-speed = <921600>;
418*f126890aSEmmanuel Vadot	};
419*f126890aSEmmanuel Vadot};
420*f126890aSEmmanuel Vadot
421*f126890aSEmmanuel Vadot/* Arduino serial */
422*f126890aSEmmanuel Vadot&uart5 {
423*f126890aSEmmanuel Vadot	pinctrl-names = "default";
424*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
425*f126890aSEmmanuel Vadot	status = "disabled";
426*f126890aSEmmanuel Vadot};
427*f126890aSEmmanuel Vadot
428*f126890aSEmmanuel Vadot&uart6 {
429*f126890aSEmmanuel Vadot	pinctrl-names = "default";
430*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart6>;
431*f126890aSEmmanuel Vadot	uart-has-rtscts;
432*f126890aSEmmanuel Vadot	status = "disabled";
433*f126890aSEmmanuel Vadot};
434*f126890aSEmmanuel Vadot
435*f126890aSEmmanuel Vadot&usbotg1 { /* J2 micro USB port */
436*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg1_vbus>;
437*f126890aSEmmanuel Vadot	pinctrl-names = "default";
438*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb_otg1>;
439*f126890aSEmmanuel Vadot	status = "okay";
440*f126890aSEmmanuel Vadot};
441*f126890aSEmmanuel Vadot
442*f126890aSEmmanuel Vadot&usbotg2 { /* J3 host USB port */
443*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg2_vbus>;
444*f126890aSEmmanuel Vadot	pinctrl-names = "default";
445*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usb_otg2>;
446*f126890aSEmmanuel Vadot	dr_mode = "host";
447*f126890aSEmmanuel Vadot	status = "okay";
448*f126890aSEmmanuel Vadot};
449*f126890aSEmmanuel Vadot
450*f126890aSEmmanuel Vadot&usdhc2 {
451*f126890aSEmmanuel Vadot	pinctrl-names = "default";
452*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
453*f126890aSEmmanuel Vadot	vmmc-supply = <&reg_sdio_pwr>;
454*f126890aSEmmanuel Vadot	bus-width = <4>;
455*f126890aSEmmanuel Vadot	cd-gpios = <&gpio6 2 GPIO_ACTIVE_LOW>;
456*f126890aSEmmanuel Vadot	no-1-8-v;
457*f126890aSEmmanuel Vadot	keep-power-in-suspend;
458*f126890aSEmmanuel Vadot	wakeup-source;
459*f126890aSEmmanuel Vadot	status = "okay";
460*f126890aSEmmanuel Vadot};
461*f126890aSEmmanuel Vadot
462*f126890aSEmmanuel Vadot&usdhc3 { /* Wi-Fi */
463*f126890aSEmmanuel Vadot	pinctrl-names = "default";
464*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
465*f126890aSEmmanuel Vadot	non-removable;
466*f126890aSEmmanuel Vadot	vmmc-supply = <&reg_wlan>;
467*f126890aSEmmanuel Vadot	cap-power-off-card;
468*f126890aSEmmanuel Vadot	wakeup-source;
469*f126890aSEmmanuel Vadot	keep-power-in-suspend;
470*f126890aSEmmanuel Vadot	#address-cells = <1>;
471*f126890aSEmmanuel Vadot	#size-cells = <0>;
472*f126890aSEmmanuel Vadot	status = "okay";
473*f126890aSEmmanuel Vadot
474*f126890aSEmmanuel Vadot	wlcore: wlcore@2 {
475*f126890aSEmmanuel Vadot		compatible = "ti,wl1831";
476*f126890aSEmmanuel Vadot		reg = <2>;
477*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio2>;
478*f126890aSEmmanuel Vadot		interrupts = <16 IRQ_TYPE_EDGE_RISING>;
479*f126890aSEmmanuel Vadot		ref-clock-frequency = <38400000>;
480*f126890aSEmmanuel Vadot		tcxo-clock-frequency = <26000000>;
481*f126890aSEmmanuel Vadot	};
482*f126890aSEmmanuel Vadot};
483