xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6sl-tolino-vision5.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device tree for the Tolino Vision 5 ebook reader
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Name on mainboard is: 37NB-E70K0M+6A3
6*f126890aSEmmanuel Vadot * Serials start with: E70K02 (a number also seen in
7*f126890aSEmmanuel Vadot * vendor kernel sources)
8*f126890aSEmmanuel Vadot *
9*f126890aSEmmanuel Vadot * This mainboard seems to be equipped with different SoCs.
10*f126890aSEmmanuel Vadot * In the Tolino Vision 5 ebook reader it is a i.MX6SL
11*f126890aSEmmanuel Vadot *
12*f126890aSEmmanuel Vadot * Copyright 2021 Andreas Kemnade
13*f126890aSEmmanuel Vadot * based on works
14*f126890aSEmmanuel Vadot * Copyright 2016 Freescale Semiconductor, Inc.
15*f126890aSEmmanuel Vadot */
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot/dts-v1/;
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
20*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
21*f126890aSEmmanuel Vadot#include "imx6sl.dtsi"
22*f126890aSEmmanuel Vadot#include "e70k02.dtsi"
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot/ {
25*f126890aSEmmanuel Vadot	model = "Tolino Vision 5";
26*f126890aSEmmanuel Vadot	compatible = "kobo,tolino-vision5", "fsl,imx6sl";
27*f126890aSEmmanuel Vadot};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot&gpio_keys {
30*f126890aSEmmanuel Vadot	pinctrl-names = "default";
31*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpio_keys>;
32*f126890aSEmmanuel Vadot};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot&i2c1 {
35*f126890aSEmmanuel Vadot	pinctrl-names = "default","sleep";
36*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
37*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c1_sleep>;
38*f126890aSEmmanuel Vadot};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot&i2c2 {
41*f126890aSEmmanuel Vadot	pinctrl-names = "default","sleep";
42*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
43*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c2_sleep>;
44*f126890aSEmmanuel Vadot};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot&i2c3 {
47*f126890aSEmmanuel Vadot	pinctrl-names = "default";
48*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
49*f126890aSEmmanuel Vadot};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot&iomuxc {
52*f126890aSEmmanuel Vadot	pinctrl-names = "default";
53*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_hog>;
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot	pinctrl_cyttsp5_gpio: cyttsp5-gpiogrp {
56*f126890aSEmmanuel Vadot		fsl,pins = <
57*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_TXD0__GPIO4_IO24          0x17059 /* TP_INT */
58*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_RXD1__GPIO4_IO18          0x10059 /* TP_RST */
59*f126890aSEmmanuel Vadot		>;
60*f126890aSEmmanuel Vadot	};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot	pinctrl_gpio_keys: gpio-keysgrp {
63*f126890aSEmmanuel Vadot		fsl,pins = <
64*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_CRS_DV__GPIO4_IO25	0x17059	/* PWR_SW */
65*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_MDC__GPIO4_IO23	0x17059	/* HALL_EN */
66*f126890aSEmmanuel Vadot			MX6SL_PAD_KEY_COL4__GPIO4_IO00		0x17059	/* PAGE_UP */
67*f126890aSEmmanuel Vadot			MX6SL_PAD_KEY_COL5__GPIO4_IO02		0x17059	/* PAGE_DOWN */
68*f126890aSEmmanuel Vadot		>;
69*f126890aSEmmanuel Vadot	};
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot	pinctrl_hog: hoggrp {
72*f126890aSEmmanuel Vadot		fsl,pins = <
73*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT1__GPIO2_IO21	0x79
74*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT4__GPIO2_IO24	0x79
75*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT5__GPIO2_IO25	0x79
76*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT6__GPIO2_IO26	0x79
77*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT7__GPIO2_IO27	0x79
78*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT8__GPIO2_IO28	0x79
79*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT9__GPIO2_IO29	0x79
80*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT10__GPIO2_IO30	0x79
81*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT11__GPIO2_IO31	0x79
82*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT12__GPIO3_IO00	0x79
83*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT13__GPIO3_IO01	0x79
84*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT14__GPIO3_IO02	0x79
85*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT15__GPIO3_IO03	0x79
86*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT16__GPIO3_IO04	0x79
87*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT17__GPIO3_IO05	0x79
88*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT18__GPIO3_IO06	0x79
89*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT19__GPIO3_IO07	0x79
90*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT20__GPIO3_IO08	0x79
91*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT21__GPIO3_IO09	0x79
92*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT22__GPIO3_IO10	0x79
93*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_DAT23__GPIO3_IO11	0x79
94*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_CLK__GPIO2_IO15		0x79
95*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_ENABLE__GPIO2_IO16	0x79
96*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_HSYNC__GPIO2_IO17	0x79
97*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_VSYNC__GPIO2_IO18	0x79
98*f126890aSEmmanuel Vadot			MX6SL_PAD_LCD_RESET__GPIO2_IO19	0x79
99*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_TX_CLK__GPIO4_IO21	0x79
100*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_REF_CLK__GPIO4_IO26	0x79
101*f126890aSEmmanuel Vadot			MX6SL_PAD_KEY_COL3__GPIO3_IO30		0x79
102*f126890aSEmmanuel Vadot			MX6SL_PAD_KEY_ROW7__GPIO4_IO07		0x79
103*f126890aSEmmanuel Vadot			MX6SL_PAD_ECSPI2_MOSI__GPIO4_IO13	0x79
104*f126890aSEmmanuel Vadot		>;
105*f126890aSEmmanuel Vadot	};
106*f126890aSEmmanuel Vadot
107*f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
108*f126890aSEmmanuel Vadot		fsl,pins = <
109*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C1_SCL__I2C1_SCL	 0x4001f8b1
110*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C1_SDA__I2C1_SDA	 0x4001f8b1
111*f126890aSEmmanuel Vadot		>;
112*f126890aSEmmanuel Vadot	};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot	pinctrl_i2c1_sleep: i2c1grp-sleep {
115*f126890aSEmmanuel Vadot		fsl,pins = <
116*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C1_SCL__I2C1_SCL	 0x400108b1
117*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C1_SDA__I2C1_SDA	 0x400108b1
118*f126890aSEmmanuel Vadot		>;
119*f126890aSEmmanuel Vadot	};
120*f126890aSEmmanuel Vadot
121*f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
122*f126890aSEmmanuel Vadot		fsl,pins = <
123*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C2_SCL__I2C2_SCL	 0x4001f8b1
124*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C2_SDA__I2C2_SDA	 0x4001f8b1
125*f126890aSEmmanuel Vadot		>;
126*f126890aSEmmanuel Vadot	};
127*f126890aSEmmanuel Vadot
128*f126890aSEmmanuel Vadot	pinctrl_i2c2_sleep: i2c2grp-sleep {
129*f126890aSEmmanuel Vadot		fsl,pins = <
130*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C2_SCL__I2C2_SCL	 0x400108b1
131*f126890aSEmmanuel Vadot			MX6SL_PAD_I2C2_SDA__I2C2_SDA	 0x400108b1
132*f126890aSEmmanuel Vadot		>;
133*f126890aSEmmanuel Vadot	};
134*f126890aSEmmanuel Vadot
135*f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
136*f126890aSEmmanuel Vadot		fsl,pins = <
137*f126890aSEmmanuel Vadot			MX6SL_PAD_REF_CLK_24M__I2C3_SCL  0x4001f8b1
138*f126890aSEmmanuel Vadot			MX6SL_PAD_REF_CLK_32K__I2C3_SDA  0x4001f8b1
139*f126890aSEmmanuel Vadot		>;
140*f126890aSEmmanuel Vadot	};
141*f126890aSEmmanuel Vadot
142*f126890aSEmmanuel Vadot	pinctrl_led: ledgrp {
143*f126890aSEmmanuel Vadot		fsl,pins = <
144*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_RXD0__GPIO4_IO17	0x10059
145*f126890aSEmmanuel Vadot		>;
146*f126890aSEmmanuel Vadot	};
147*f126890aSEmmanuel Vadot
148*f126890aSEmmanuel Vadot	pinctrl_lm3630a_bl_gpio: lm3630a-bl-gpiogrp {
149*f126890aSEmmanuel Vadot		fsl,pins = <
150*f126890aSEmmanuel Vadot			MX6SL_PAD_EPDC_PWRCTRL3__GPIO2_IO10		0x10059 /* HWEN */
151*f126890aSEmmanuel Vadot		>;
152*f126890aSEmmanuel Vadot	};
153*f126890aSEmmanuel Vadot
154*f126890aSEmmanuel Vadot	pinctrl_ricoh_gpio: ricoh-gpiogrp {
155*f126890aSEmmanuel Vadot		fsl,pins = <
156*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_MDIO__GPIO4_IO20		0x1b8b1 /* ricoh619 chg */
157*f126890aSEmmanuel Vadot			MX6SL_PAD_FEC_RX_ER__GPIO4_IO19		0x1b8b1 /* ricoh619 irq */
158*f126890aSEmmanuel Vadot			MX6SL_PAD_KEY_COL2__GPIO3_IO28		0x1b8b1 /* ricoh619 bat_low_int */
159*f126890aSEmmanuel Vadot		>;
160*f126890aSEmmanuel Vadot	};
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
163*f126890aSEmmanuel Vadot		fsl,pins = <
164*f126890aSEmmanuel Vadot			MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x1b0b1
165*f126890aSEmmanuel Vadot			MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1
166*f126890aSEmmanuel Vadot		>;
167*f126890aSEmmanuel Vadot	};
168*f126890aSEmmanuel Vadot
169*f126890aSEmmanuel Vadot	pinctrl_usbotg1: usbotg1grp {
170*f126890aSEmmanuel Vadot		fsl,pins = <
171*f126890aSEmmanuel Vadot			MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059
172*f126890aSEmmanuel Vadot		>;
173*f126890aSEmmanuel Vadot	};
174*f126890aSEmmanuel Vadot
175*f126890aSEmmanuel Vadot	pinctrl_usdhc1: usdhc1grp {
176*f126890aSEmmanuel Vadot		fsl,pins = <
177*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CMD__SD1_CMD	0x17059
178*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CLK__SD1_CLK	0x17059
179*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT0__SD1_DATA0	0x17059
180*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT1__SD1_DATA1	0x17059
181*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT2__SD1_DATA2	0x17059
182*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT3__SD1_DATA3	0x17059
183*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT4__SD1_DATA4	0x17059
184*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT5__SD1_DATA5	0x17059
185*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT6__SD1_DATA6	0x17059
186*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT7__SD1_DATA7	0x17059
187*f126890aSEmmanuel Vadot		>;
188*f126890aSEmmanuel Vadot	};
189*f126890aSEmmanuel Vadot
190*f126890aSEmmanuel Vadot	pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
191*f126890aSEmmanuel Vadot		fsl,pins = <
192*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CMD__SD1_CMD	0x170b9
193*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CLK__SD1_CLK	0x170b9
194*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT0__SD1_DATA0	0x170b9
195*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT1__SD1_DATA1	0x170b9
196*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT2__SD1_DATA2	0x170b9
197*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT3__SD1_DATA3	0x170b9
198*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT4__SD1_DATA4	0x170b9
199*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT5__SD1_DATA5	0x170b9
200*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT6__SD1_DATA6	0x170b9
201*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT7__SD1_DATA7	0x170b9
202*f126890aSEmmanuel Vadot		>;
203*f126890aSEmmanuel Vadot	};
204*f126890aSEmmanuel Vadot
205*f126890aSEmmanuel Vadot	pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
206*f126890aSEmmanuel Vadot		fsl,pins = <
207*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CMD__SD1_CMD	0x170f9
208*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CLK__SD1_CLK	0x170f9
209*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT0__SD1_DATA0	0x170f9
210*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT1__SD1_DATA1	0x170f9
211*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT2__SD1_DATA2	0x170f9
212*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT3__SD1_DATA3	0x170f9
213*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT4__SD1_DATA4	0x170b9
214*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT5__SD1_DATA5	0x170b9
215*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT6__SD1_DATA6	0x170b9
216*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT7__SD1_DATA7	0x170b9
217*f126890aSEmmanuel Vadot		>;
218*f126890aSEmmanuel Vadot	};
219*f126890aSEmmanuel Vadot
220*f126890aSEmmanuel Vadot	pinctrl_usdhc1_sleep: usdhc1-sleepgrp {
221*f126890aSEmmanuel Vadot		fsl,pins = <
222*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CMD__SD1_CMD	0x10059
223*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_CLK__SD1_CLK	0x10059
224*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT0__SD1_DATA0	0x10059
225*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT1__SD1_DATA1	0x10059
226*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT2__SD1_DATA2	0x10059
227*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT3__SD1_DATA3	0x10059
228*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT4__SD1_DATA4	0x10059
229*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT5__SD1_DATA5	0x10059
230*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT6__SD1_DATA6	0x10059
231*f126890aSEmmanuel Vadot			MX6SL_PAD_SD1_DAT7__SD1_DATA7	0x10059
232*f126890aSEmmanuel Vadot		>;
233*f126890aSEmmanuel Vadot	};
234*f126890aSEmmanuel Vadot
235*f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
236*f126890aSEmmanuel Vadot		fsl,pins = <
237*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CMD__SD3_CMD	0x11059
238*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CLK__SD3_CLK	0x11059
239*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT0__SD3_DATA0	0x11059
240*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT1__SD3_DATA1	0x11059
241*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT2__SD3_DATA2	0x11059
242*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT3__SD3_DATA3	0x11059
243*f126890aSEmmanuel Vadot		>;
244*f126890aSEmmanuel Vadot	};
245*f126890aSEmmanuel Vadot
246*f126890aSEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
247*f126890aSEmmanuel Vadot		fsl,pins = <
248*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CMD__SD3_CMD	0x170b9
249*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CLK__SD3_CLK	0x170b9
250*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT0__SD3_DATA0	0x170b9
251*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT1__SD3_DATA1	0x170b9
252*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT2__SD3_DATA2	0x170b9
253*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT3__SD3_DATA3	0x170b9
254*f126890aSEmmanuel Vadot		>;
255*f126890aSEmmanuel Vadot	};
256*f126890aSEmmanuel Vadot
257*f126890aSEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
258*f126890aSEmmanuel Vadot		fsl,pins = <
259*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CMD__SD3_CMD	0x170f9
260*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CLK__SD3_CLK	0x170f9
261*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT0__SD3_DATA0	0x170f9
262*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT1__SD3_DATA1	0x170f9
263*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT2__SD3_DATA2	0x170f9
264*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT3__SD3_DATA3	0x170f9
265*f126890aSEmmanuel Vadot		>;
266*f126890aSEmmanuel Vadot	};
267*f126890aSEmmanuel Vadot
268*f126890aSEmmanuel Vadot	pinctrl_usdhc3_sleep: usdhc3-sleepgrp {
269*f126890aSEmmanuel Vadot		fsl,pins = <
270*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CMD__GPIO5_IO21	0x100c1
271*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_CLK__GPIO5_IO18	0x100c1
272*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT0__GPIO5_IO19	0x100c1
273*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT1__GPIO5_IO20	0x100c1
274*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT2__GPIO5_IO16	0x100c1
275*f126890aSEmmanuel Vadot			MX6SL_PAD_SD3_DAT3__GPIO5_IO17	0x100c1
276*f126890aSEmmanuel Vadot		>;
277*f126890aSEmmanuel Vadot	};
278*f126890aSEmmanuel Vadot
279*f126890aSEmmanuel Vadot	pinctrl_wifi_power: wifi-powergrp {
280*f126890aSEmmanuel Vadot		fsl,pins = <
281*f126890aSEmmanuel Vadot			MX6SL_PAD_SD2_DAT6__GPIO4_IO29	0x10059	 /* WIFI_3V3_ON */
282*f126890aSEmmanuel Vadot		>;
283*f126890aSEmmanuel Vadot	};
284*f126890aSEmmanuel Vadot
285*f126890aSEmmanuel Vadot	pinctrl_wifi_reset: wifi-resetgrp {
286*f126890aSEmmanuel Vadot		fsl,pins = <
287*f126890aSEmmanuel Vadot			MX6SL_PAD_SD2_DAT7__GPIO5_IO00	0x10059	/* WIFI_RST */
288*f126890aSEmmanuel Vadot		>;
289*f126890aSEmmanuel Vadot	};
290*f126890aSEmmanuel Vadot};
291*f126890aSEmmanuel Vadot
292*f126890aSEmmanuel Vadot&leds {
293*f126890aSEmmanuel Vadot	pinctrl-names = "default";
294*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_led>;
295*f126890aSEmmanuel Vadot};
296*f126890aSEmmanuel Vadot
297*f126890aSEmmanuel Vadot&lm3630a {
298*f126890aSEmmanuel Vadot	pinctrl-names = "default";
299*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_lm3630a_bl_gpio>;
300*f126890aSEmmanuel Vadot};
301*f126890aSEmmanuel Vadot
302*f126890aSEmmanuel Vadot&reg_wifi {
303*f126890aSEmmanuel Vadot	pinctrl-names = "default";
304*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wifi_power>;
305*f126890aSEmmanuel Vadot};
306*f126890aSEmmanuel Vadot
307*f126890aSEmmanuel Vadot&reg_vdd1p1 {
308*f126890aSEmmanuel Vadot	vin-supply = <&dcdc2_reg>;
309*f126890aSEmmanuel Vadot};
310*f126890aSEmmanuel Vadot
311*f126890aSEmmanuel Vadot&reg_vdd2p5 {
312*f126890aSEmmanuel Vadot	vin-supply = <&dcdc2_reg>;
313*f126890aSEmmanuel Vadot};
314*f126890aSEmmanuel Vadot
315*f126890aSEmmanuel Vadot&reg_arm {
316*f126890aSEmmanuel Vadot	vin-supply = <&dcdc3_reg>;
317*f126890aSEmmanuel Vadot};
318*f126890aSEmmanuel Vadot
319*f126890aSEmmanuel Vadot&reg_soc {
320*f126890aSEmmanuel Vadot	vin-supply = <&dcdc1_reg>;
321*f126890aSEmmanuel Vadot};
322*f126890aSEmmanuel Vadot
323*f126890aSEmmanuel Vadot&reg_pu {
324*f126890aSEmmanuel Vadot	vin-supply = <&dcdc1_reg>;
325*f126890aSEmmanuel Vadot};
326*f126890aSEmmanuel Vadot
327*f126890aSEmmanuel Vadot&ricoh619 {
328*f126890aSEmmanuel Vadot	pinctrl-names = "default";
329*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ricoh_gpio>;
330*f126890aSEmmanuel Vadot};
331*f126890aSEmmanuel Vadot
332*f126890aSEmmanuel Vadot&uart1 {
333*f126890aSEmmanuel Vadot	pinctrl-names = "default";
334*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
335*f126890aSEmmanuel Vadot};
336*f126890aSEmmanuel Vadot
337*f126890aSEmmanuel Vadot&usdhc1 {
338*f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz","sleep";
339*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc1>;
340*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
341*f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
342*f126890aSEmmanuel Vadot	pinctrl-3 = <&pinctrl_usdhc1_sleep>;
343*f126890aSEmmanuel Vadot};
344*f126890aSEmmanuel Vadot
345*f126890aSEmmanuel Vadot&usdhc3 {
346*f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz","sleep";
347*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
348*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
349*f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
350*f126890aSEmmanuel Vadot	pinctrl-3 = <&pinctrl_usdhc3_sleep>;
351*f126890aSEmmanuel Vadot};
352*f126890aSEmmanuel Vadot
353*f126890aSEmmanuel Vadot&wifi_pwrseq {
354*f126890aSEmmanuel Vadot	pinctrl-names = "default";
355*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wifi_reset>;
356*f126890aSEmmanuel Vadot};
357