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