xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6q-display5.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot/*
2*f126890aSEmmanuel Vadot * Copyright 2017
3*f126890aSEmmanuel Vadot * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms
6*f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual
7*f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a
8*f126890aSEmmanuel Vadot * whole.
9*f126890aSEmmanuel Vadot *
10*f126890aSEmmanuel Vadot *  a) This file is licensed under the terms of the GNU General Public
11*f126890aSEmmanuel Vadot *     License version 2.  This program is licensed "as is" without
12*f126890aSEmmanuel Vadot *     any warranty of any kind, whether express or implied.
13*f126890aSEmmanuel Vadot *
14*f126890aSEmmanuel Vadot * Or, alternatively,
15*f126890aSEmmanuel Vadot *
16*f126890aSEmmanuel Vadot *  b) Permission is hereby granted, free of charge, to any person
17*f126890aSEmmanuel Vadot *     obtaining a copy of this software and associated documentation
18*f126890aSEmmanuel Vadot *     files (the "Software"), to deal in the Software without
19*f126890aSEmmanuel Vadot *     restriction, including without limitation the rights to use,
20*f126890aSEmmanuel Vadot *     copy, modify, merge, publish, distribute, sublicense, and/or
21*f126890aSEmmanuel Vadot *     sell copies of the Software, and to permit persons to whom the
22*f126890aSEmmanuel Vadot *     Software is furnished to do so, subject to the following
23*f126890aSEmmanuel Vadot *     conditions:
24*f126890aSEmmanuel Vadot *
25*f126890aSEmmanuel Vadot *     The above copyright notice and this permission notice shall be
26*f126890aSEmmanuel Vadot *     included in all copies or substantial portions of the Software.
27*f126890aSEmmanuel Vadot *
28*f126890aSEmmanuel Vadot *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29*f126890aSEmmanuel Vadot *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
30*f126890aSEmmanuel Vadot *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31*f126890aSEmmanuel Vadot *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
32*f126890aSEmmanuel Vadot *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
33*f126890aSEmmanuel Vadot *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
34*f126890aSEmmanuel Vadot *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
35*f126890aSEmmanuel Vadot *     OTHER DEALINGS IN THE SOFTWARE.
36*f126890aSEmmanuel Vadot */
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot/dts-v1/;
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot#include "imx6q.dtsi"
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
43*f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
44*f126890aSEmmanuel Vadot#include <dt-bindings/sound/fsl-imx-audmux.h>
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot/ {
47*f126890aSEmmanuel Vadot	model = "Liebherr (LWN) display5 i.MX6 Quad Board";
48*f126890aSEmmanuel Vadot	compatible = "lwn,display5", "fsl,imx6q";
49*f126890aSEmmanuel Vadot
50*f126890aSEmmanuel Vadot	memory@10000000 {
51*f126890aSEmmanuel Vadot		device_type = "memory";
52*f126890aSEmmanuel Vadot		reg = <0x10000000 0x40000000>;
53*f126890aSEmmanuel Vadot	};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot	backlight_lvds: backlight {
56*f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
57*f126890aSEmmanuel Vadot		pinctrl-names = "default";
58*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_backlight>;
59*f126890aSEmmanuel Vadot		pwms = <&pwm2 0 5000000 0>;
60*f126890aSEmmanuel Vadot		brightness-levels = <  0   1   2   3   4   5   6   7   8   9
61*f126890aSEmmanuel Vadot				      10  11  12  13  14  15  16  17  18  19
62*f126890aSEmmanuel Vadot				      20  21  22  23  24  25  26  27  28  29
63*f126890aSEmmanuel Vadot				      30  31  32  33  34  35  36  37  38  39
64*f126890aSEmmanuel Vadot				      40  41  42  43  44  45  46  47  48  49
65*f126890aSEmmanuel Vadot				      50  51  52  53  54  55  56  57  58  59
66*f126890aSEmmanuel Vadot				      60  61  62  63  64  65  66  67  68  69
67*f126890aSEmmanuel Vadot				      70  71  72  73  74  75  76  77  78  79
68*f126890aSEmmanuel Vadot				      80  81  82  83  84  85  86  87  88  89
69*f126890aSEmmanuel Vadot				      90  91  92  93  94  95  96  97  98  99
70*f126890aSEmmanuel Vadot				     100 101 102 103 104 105 106 107 108 109
71*f126890aSEmmanuel Vadot				     110 111 112 113 114 115 116 117 118 119
72*f126890aSEmmanuel Vadot				     120 121 122 123 124 125 126 127 128 129
73*f126890aSEmmanuel Vadot				     130 131 132 133 134 135 136 137 138 139
74*f126890aSEmmanuel Vadot				     140 141 142 143 144 145 146 147 148 149
75*f126890aSEmmanuel Vadot				     150 151 152 153 154 155 156 157 158 159
76*f126890aSEmmanuel Vadot				     160 161 162 163 164 165 166 167 168 169
77*f126890aSEmmanuel Vadot				     170 171 172 173 174 175 176 177 178 179
78*f126890aSEmmanuel Vadot				     180 181 182 183 184 185 186 187 188 189
79*f126890aSEmmanuel Vadot				     190 191 192 193 194 195 196 197 198 199
80*f126890aSEmmanuel Vadot				     200 201 202 203 204 205 206 207 208 209
81*f126890aSEmmanuel Vadot				     210 211 212 213 214 215 216 217 218 219
82*f126890aSEmmanuel Vadot				     220 221 222 223 224 225 226 227 228 229
83*f126890aSEmmanuel Vadot				     230 231 232 233 234 235 236 237 238 239
84*f126890aSEmmanuel Vadot				     240 241 242 243 244 245 246 247 248 249
85*f126890aSEmmanuel Vadot				     250 251 252 253 254 255>;
86*f126890aSEmmanuel Vadot		default-brightness-level = <250>;
87*f126890aSEmmanuel Vadot		enable-gpios = <&gpio5 7 GPIO_ACTIVE_HIGH>;
88*f126890aSEmmanuel Vadot	};
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot	reg_lvds: regulator-lvds {
91*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
92*f126890aSEmmanuel Vadot		regulator-name = "lvds_ppen";
93*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
94*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
95*f126890aSEmmanuel Vadot		regulator-boot-on;
96*f126890aSEmmanuel Vadot		regulator-always-on;
97*f126890aSEmmanuel Vadot		pinctrl-names = "default";
98*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_lvds>;
99*f126890aSEmmanuel Vadot		gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>;
100*f126890aSEmmanuel Vadot		enable-active-high;
101*f126890aSEmmanuel Vadot	};
102*f126890aSEmmanuel Vadot
103*f126890aSEmmanuel Vadot	reg_usbh1_vbus: usb-h1-vbus {
104*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
105*f126890aSEmmanuel Vadot		gpio = <&gpio3 31 GPIO_ACTIVE_LOW>;
106*f126890aSEmmanuel Vadot		pinctrl-names = "default";
107*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbh1_vbus>;
108*f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
109*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
110*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
111*f126890aSEmmanuel Vadot		regulator-enable-ramp-delay = <300000>;
112*f126890aSEmmanuel Vadot	};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot	sound {
115*f126890aSEmmanuel Vadot		compatible = "simple-audio-card";
116*f126890aSEmmanuel Vadot		label = "tfa9879-mono";
117*f126890aSEmmanuel Vadot
118*f126890aSEmmanuel Vadot		simple-audio-card,dai-link {
119*f126890aSEmmanuel Vadot			/* DAC */
120*f126890aSEmmanuel Vadot			format = "i2s";
121*f126890aSEmmanuel Vadot			bitclock-master = <&dailink_master>;
122*f126890aSEmmanuel Vadot			frame-master = <&dailink_master>;
123*f126890aSEmmanuel Vadot
124*f126890aSEmmanuel Vadot			dailink_master: cpu {
125*f126890aSEmmanuel Vadot			    sound-dai = <&ssi2>;
126*f126890aSEmmanuel Vadot			};
127*f126890aSEmmanuel Vadot			codec {
128*f126890aSEmmanuel Vadot			    sound-dai = <&codec>;
129*f126890aSEmmanuel Vadot			};
130*f126890aSEmmanuel Vadot		};
131*f126890aSEmmanuel Vadot	};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot	panel: panel-lvds0 {
134*f126890aSEmmanuel Vadot		backlight = <&backlight_lvds>;
135*f126890aSEmmanuel Vadot		power-supply = <&reg_lvds>;
136*f126890aSEmmanuel Vadot
137*f126890aSEmmanuel Vadot		port {
138*f126890aSEmmanuel Vadot			panel_in_lvds0: endpoint {
139*f126890aSEmmanuel Vadot				remote-endpoint = <&lvds0_out>;
140*f126890aSEmmanuel Vadot			};
141*f126890aSEmmanuel Vadot		};
142*f126890aSEmmanuel Vadot	};
143*f126890aSEmmanuel Vadot};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot&audmux {
146*f126890aSEmmanuel Vadot	pinctrl-names = "default";
147*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
148*f126890aSEmmanuel Vadot	status = "okay";
149*f126890aSEmmanuel Vadot
150*f126890aSEmmanuel Vadot	mux-ssi2 {
151*f126890aSEmmanuel Vadot		fsl,audmux-port = <1>;
152*f126890aSEmmanuel Vadot		fsl,port-config = <
153*f126890aSEmmanuel Vadot			(IMX_AUDMUX_V2_PTCR_SYN |
154*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TFSEL(5) |
155*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TCSEL(5) |
156*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TFSDIR |
157*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TCLKDIR)
158*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PDCR_RXDSEL(5)
159*f126890aSEmmanuel Vadot		>;
160*f126890aSEmmanuel Vadot	};
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot	mux-aud6 {
163*f126890aSEmmanuel Vadot		fsl,audmux-port = <5>;
164*f126890aSEmmanuel Vadot		fsl,port-config = <
165*f126890aSEmmanuel Vadot			(IMX_AUDMUX_V2_PTCR_RFSEL(8) |
166*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_RCSEL(8) |
167*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TFSEL(1) |
168*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TCSEL(1) |
169*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_RFSDIR |
170*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_RCLKDIR |
171*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TFSDIR |
172*f126890aSEmmanuel Vadot			 IMX_AUDMUX_V2_PTCR_TCLKDIR)
173*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PDCR_RXDSEL(1)
174*f126890aSEmmanuel Vadot		>;
175*f126890aSEmmanuel Vadot	};
176*f126890aSEmmanuel Vadot};
177*f126890aSEmmanuel Vadot
178*f126890aSEmmanuel Vadot&ecspi2 {
179*f126890aSEmmanuel Vadot	cs-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
180*f126890aSEmmanuel Vadot	pinctrl-names = "default";
181*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs &pinctrl_ecspi2_flwp>;
182*f126890aSEmmanuel Vadot	status = "okay";
183*f126890aSEmmanuel Vadot
184*f126890aSEmmanuel Vadot	s25fl256s: flash@0 {
185*f126890aSEmmanuel Vadot		#address-cells = <1>;
186*f126890aSEmmanuel Vadot		#size-cells = <1>;
187*f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
188*f126890aSEmmanuel Vadot		spi-max-frequency = <40000000>;
189*f126890aSEmmanuel Vadot		reg = <0>;
190*f126890aSEmmanuel Vadot
191*f126890aSEmmanuel Vadot		partition@0 {
192*f126890aSEmmanuel Vadot			label = "SPL (spi)";
193*f126890aSEmmanuel Vadot			reg = <0x0 0x20000>;
194*f126890aSEmmanuel Vadot			read-only;
195*f126890aSEmmanuel Vadot		};
196*f126890aSEmmanuel Vadot		partition@1 {
197*f126890aSEmmanuel Vadot			label = "u-boot (spi)";
198*f126890aSEmmanuel Vadot			reg = <0x20000 0x100000>;
199*f126890aSEmmanuel Vadot			read-only;
200*f126890aSEmmanuel Vadot		};
201*f126890aSEmmanuel Vadot		partition@2 {
202*f126890aSEmmanuel Vadot			label = "uboot-env (spi)";
203*f126890aSEmmanuel Vadot			reg = <0x120000 0x10000>;
204*f126890aSEmmanuel Vadot		};
205*f126890aSEmmanuel Vadot		partition@3 {
206*f126890aSEmmanuel Vadot			label = "uboot-envr (spi)";
207*f126890aSEmmanuel Vadot			reg = <0x130000 0x10000>;
208*f126890aSEmmanuel Vadot		};
209*f126890aSEmmanuel Vadot		partition@4 {
210*f126890aSEmmanuel Vadot			label = "linux-recovery (spi)";
211*f126890aSEmmanuel Vadot			reg = <0x140000 0x800000>;
212*f126890aSEmmanuel Vadot		};
213*f126890aSEmmanuel Vadot		partition@5 {
214*f126890aSEmmanuel Vadot			label = "swupdate-fitImg (spi)";
215*f126890aSEmmanuel Vadot			reg = <0x940000 0x400000>;
216*f126890aSEmmanuel Vadot		};
217*f126890aSEmmanuel Vadot		partition@6 {
218*f126890aSEmmanuel Vadot			label = "swupdate-initramfs (spi)";
219*f126890aSEmmanuel Vadot			reg = <0xD40000 0x800000>;
220*f126890aSEmmanuel Vadot		};
221*f126890aSEmmanuel Vadot	};
222*f126890aSEmmanuel Vadot};
223*f126890aSEmmanuel Vadot
224*f126890aSEmmanuel Vadot&ecspi3 {
225*f126890aSEmmanuel Vadot	cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
226*f126890aSEmmanuel Vadot	pinctrl-names = "default";
227*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi3 &pinctrl_ecspi3_cs &pinctrl_ecspi3_flwp>;
228*f126890aSEmmanuel Vadot	status = "okay";
229*f126890aSEmmanuel Vadot};
230*f126890aSEmmanuel Vadot
231*f126890aSEmmanuel Vadot&fec {
232*f126890aSEmmanuel Vadot	pinctrl-names = "default";
233*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
234*f126890aSEmmanuel Vadot	phy-handle = <&ethernet_phy0>;
235*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
236*f126890aSEmmanuel Vadot	status = "okay";
237*f126890aSEmmanuel Vadot
238*f126890aSEmmanuel Vadot	mdio {
239*f126890aSEmmanuel Vadot		#address-cells = <1>;
240*f126890aSEmmanuel Vadot		#size-cells = <0>;
241*f126890aSEmmanuel Vadot		ethernet_phy0: ethernet-phy@0 {
242*f126890aSEmmanuel Vadot			compatible = "marvell,88E1510";
243*f126890aSEmmanuel Vadot			device_type = "ethernet-phy";
244*f126890aSEmmanuel Vadot			/* Set LED0 control: */
245*f126890aSEmmanuel Vadot			/* On - Link, Blink - Activity, Off - No Link */
246*f126890aSEmmanuel Vadot			marvell,reg-init = <3 0x10 0 0x1011>;
247*f126890aSEmmanuel Vadot			max-speed = <100>;
248*f126890aSEmmanuel Vadot			reg = <0>;
249*f126890aSEmmanuel Vadot		};
250*f126890aSEmmanuel Vadot	};
251*f126890aSEmmanuel Vadot};
252*f126890aSEmmanuel Vadot
253*f126890aSEmmanuel Vadot&i2c1 {
254*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
255*f126890aSEmmanuel Vadot	pinctrl-names = "default";
256*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
257*f126890aSEmmanuel Vadot	status = "okay";
258*f126890aSEmmanuel Vadot
259*f126890aSEmmanuel Vadot	codec: tfa9879@6c {
260*f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
261*f126890aSEmmanuel Vadot		compatible = "nxp,tfa9879";
262*f126890aSEmmanuel Vadot		reg = <0x6C>;
263*f126890aSEmmanuel Vadot	};
264*f126890aSEmmanuel Vadot};
265*f126890aSEmmanuel Vadot
266*f126890aSEmmanuel Vadot&i2c2 {
267*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
268*f126890aSEmmanuel Vadot	pinctrl-names = "default";
269*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
270*f126890aSEmmanuel Vadot	status = "okay";
271*f126890aSEmmanuel Vadot};
272*f126890aSEmmanuel Vadot
273*f126890aSEmmanuel Vadot&i2c3 {
274*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
275*f126890aSEmmanuel Vadot	pinctrl-names = "default";
276*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
277*f126890aSEmmanuel Vadot	status = "okay";
278*f126890aSEmmanuel Vadot
279*f126890aSEmmanuel Vadot	eeprom@50 {
280*f126890aSEmmanuel Vadot		compatible = "atmel,24c256";
281*f126890aSEmmanuel Vadot		pagesize = <64>;
282*f126890aSEmmanuel Vadot		reg = <0x50>;
283*f126890aSEmmanuel Vadot	};
284*f126890aSEmmanuel Vadot
285*f126890aSEmmanuel Vadot	pfuze100: pmic@8 {
286*f126890aSEmmanuel Vadot		compatible = "fsl,pfuze100";
287*f126890aSEmmanuel Vadot		reg = <0x08>;
288*f126890aSEmmanuel Vadot
289*f126890aSEmmanuel Vadot		regulators {
290*f126890aSEmmanuel Vadot			sw1a_reg: sw1ab {
291*f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
292*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
293*f126890aSEmmanuel Vadot				regulator-boot-on;
294*f126890aSEmmanuel Vadot				regulator-always-on;
295*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
296*f126890aSEmmanuel Vadot			};
297*f126890aSEmmanuel Vadot
298*f126890aSEmmanuel Vadot			sw1c_reg: sw1c {
299*f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
300*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
301*f126890aSEmmanuel Vadot				regulator-boot-on;
302*f126890aSEmmanuel Vadot				regulator-always-on;
303*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
304*f126890aSEmmanuel Vadot			};
305*f126890aSEmmanuel Vadot
306*f126890aSEmmanuel Vadot			sw2_reg: sw2 {
307*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
308*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3950000>;
309*f126890aSEmmanuel Vadot				regulator-boot-on;
310*f126890aSEmmanuel Vadot				regulator-always-on;
311*f126890aSEmmanuel Vadot			};
312*f126890aSEmmanuel Vadot
313*f126890aSEmmanuel Vadot			sw3a_reg: sw3a {
314*f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
315*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
316*f126890aSEmmanuel Vadot				regulator-boot-on;
317*f126890aSEmmanuel Vadot				regulator-always-on;
318*f126890aSEmmanuel Vadot			};
319*f126890aSEmmanuel Vadot
320*f126890aSEmmanuel Vadot			sw3b_reg: sw3b {
321*f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
322*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
323*f126890aSEmmanuel Vadot				regulator-boot-on;
324*f126890aSEmmanuel Vadot				regulator-always-on;
325*f126890aSEmmanuel Vadot			};
326*f126890aSEmmanuel Vadot
327*f126890aSEmmanuel Vadot			sw4_reg: sw4 {
328*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
329*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
330*f126890aSEmmanuel Vadot			};
331*f126890aSEmmanuel Vadot
332*f126890aSEmmanuel Vadot			swbst_reg: swbst {
333*f126890aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
334*f126890aSEmmanuel Vadot				regulator-max-microvolt = <5150000>;
335*f126890aSEmmanuel Vadot			};
336*f126890aSEmmanuel Vadot
337*f126890aSEmmanuel Vadot			snvs_reg: vsnvs {
338*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
339*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
340*f126890aSEmmanuel Vadot				regulator-boot-on;
341*f126890aSEmmanuel Vadot				regulator-always-on;
342*f126890aSEmmanuel Vadot			};
343*f126890aSEmmanuel Vadot
344*f126890aSEmmanuel Vadot			vref_reg: vrefddr {
345*f126890aSEmmanuel Vadot				regulator-boot-on;
346*f126890aSEmmanuel Vadot				regulator-always-on;
347*f126890aSEmmanuel Vadot			};
348*f126890aSEmmanuel Vadot
349*f126890aSEmmanuel Vadot			vgen1_reg: vgen1 {
350*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
351*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
352*f126890aSEmmanuel Vadot			};
353*f126890aSEmmanuel Vadot
354*f126890aSEmmanuel Vadot			vgen2_reg: vgen2 {
355*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
356*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
357*f126890aSEmmanuel Vadot			};
358*f126890aSEmmanuel Vadot
359*f126890aSEmmanuel Vadot			vgen3_reg: vgen3 {
360*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
361*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
362*f126890aSEmmanuel Vadot			};
363*f126890aSEmmanuel Vadot
364*f126890aSEmmanuel Vadot			vgen4_reg: vgen4 {
365*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
366*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
367*f126890aSEmmanuel Vadot				regulator-always-on;
368*f126890aSEmmanuel Vadot			};
369*f126890aSEmmanuel Vadot
370*f126890aSEmmanuel Vadot			vgen5_reg: vgen5 {
371*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
372*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
373*f126890aSEmmanuel Vadot				regulator-always-on;
374*f126890aSEmmanuel Vadot			};
375*f126890aSEmmanuel Vadot
376*f126890aSEmmanuel Vadot			vgen6_reg: vgen6 {
377*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
378*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
379*f126890aSEmmanuel Vadot				regulator-always-on;
380*f126890aSEmmanuel Vadot			};
381*f126890aSEmmanuel Vadot		};
382*f126890aSEmmanuel Vadot	};
383*f126890aSEmmanuel Vadot};
384*f126890aSEmmanuel Vadot
385*f126890aSEmmanuel Vadot&ldb {
386*f126890aSEmmanuel Vadot	status = "okay";
387*f126890aSEmmanuel Vadot
388*f126890aSEmmanuel Vadot	lvds0: lvds-channel@0 {
389*f126890aSEmmanuel Vadot		status = "okay";
390*f126890aSEmmanuel Vadot
391*f126890aSEmmanuel Vadot		port@4 {
392*f126890aSEmmanuel Vadot			reg = <4>;
393*f126890aSEmmanuel Vadot
394*f126890aSEmmanuel Vadot			lvds0_out: endpoint {
395*f126890aSEmmanuel Vadot				remote-endpoint = <&panel_in_lvds0>;
396*f126890aSEmmanuel Vadot			};
397*f126890aSEmmanuel Vadot		};
398*f126890aSEmmanuel Vadot	};
399*f126890aSEmmanuel Vadot};
400*f126890aSEmmanuel Vadot
401*f126890aSEmmanuel Vadot&pwm2 {
402*f126890aSEmmanuel Vadot	pinctrl-names = "default";
403*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm2>;
404*f126890aSEmmanuel Vadot	status = "okay";
405*f126890aSEmmanuel Vadot};
406*f126890aSEmmanuel Vadot
407*f126890aSEmmanuel Vadot&ssi2 {
408*f126890aSEmmanuel Vadot	status = "okay";
409*f126890aSEmmanuel Vadot};
410*f126890aSEmmanuel Vadot
411*f126890aSEmmanuel Vadot&uart4 {
412*f126890aSEmmanuel Vadot	pinctrl-names = "default";
413*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
414*f126890aSEmmanuel Vadot	uart-has-rtscts;
415*f126890aSEmmanuel Vadot	status = "okay";
416*f126890aSEmmanuel Vadot};
417*f126890aSEmmanuel Vadot
418*f126890aSEmmanuel Vadot&uart5 {
419*f126890aSEmmanuel Vadot	pinctrl-names = "default";
420*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
421*f126890aSEmmanuel Vadot	status = "okay";
422*f126890aSEmmanuel Vadot};
423*f126890aSEmmanuel Vadot
424*f126890aSEmmanuel Vadot&usbh1 {
425*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usbh1_vbus>;
426*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbh1>;
427*f126890aSEmmanuel Vadot	status = "okay";
428*f126890aSEmmanuel Vadot};
429*f126890aSEmmanuel Vadot
430*f126890aSEmmanuel Vadot&usdhc4 {
431*f126890aSEmmanuel Vadot	pinctrl-names = "default";
432*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc4>;
433*f126890aSEmmanuel Vadot	bus-width = <8>;
434*f126890aSEmmanuel Vadot	non-removable;
435*f126890aSEmmanuel Vadot	status = "okay";
436*f126890aSEmmanuel Vadot};
437*f126890aSEmmanuel Vadot
438*f126890aSEmmanuel Vadot&iomuxc {
439*f126890aSEmmanuel Vadot	pinctrl_audmux: audmuxgrp {
440*f126890aSEmmanuel Vadot		fsl,pins = <
441*f126890aSEmmanuel Vadot			/* I2S OUTPUT AUD6*/
442*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN4__AUD6_RXD  0x130b0
443*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__AUD6_TXD  0x130b0
444*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN3__AUD6_TXFS  0x130b0
445*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN15__AUD6_TXC  0x130b0
446*f126890aSEmmanuel Vadot		>;
447*f126890aSEmmanuel Vadot	};
448*f126890aSEmmanuel Vadot
449*f126890aSEmmanuel Vadot	pinctrl_backlight: dispgrp {
450*f126890aSEmmanuel Vadot		fsl,pins = <
451*f126890aSEmmanuel Vadot			/* BLEN_OUT */
452*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT13__GPIO5_IO07    0x1b0b0
453*f126890aSEmmanuel Vadot		>;
454*f126890aSEmmanuel Vadot	};
455*f126890aSEmmanuel Vadot
456*f126890aSEmmanuel Vadot	pinctrl_ecspi2: ecspi2grp {
457*f126890aSEmmanuel Vadot		fsl,pins = <
458*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT10__ECSPI2_MISO	0x100b1
459*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT9__ECSPI2_MOSI	0x100b1
460*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT8__ECSPI2_SCLK	0x100b1
461*f126890aSEmmanuel Vadot		>;
462*f126890aSEmmanuel Vadot	};
463*f126890aSEmmanuel Vadot
464*f126890aSEmmanuel Vadot	pinctrl_ecspi2_cs: ecspi2csgrp {
465*f126890aSEmmanuel Vadot		fsl,pins = <
466*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT11__GPIO5_IO29 0x100b1
467*f126890aSEmmanuel Vadot		>;
468*f126890aSEmmanuel Vadot	};
469*f126890aSEmmanuel Vadot
470*f126890aSEmmanuel Vadot	pinctrl_ecspi2_flwp: ecspi2flwpgrp {
471*f126890aSEmmanuel Vadot		fsl,pins = <
472*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0
473*f126890aSEmmanuel Vadot		>;
474*f126890aSEmmanuel Vadot	};
475*f126890aSEmmanuel Vadot
476*f126890aSEmmanuel Vadot	pinctrl_ecspi3: ecspi3grp {
477*f126890aSEmmanuel Vadot		fsl,pins = <
478*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO	0x100b1
479*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI	0x100b1
480*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK	0x100b1
481*f126890aSEmmanuel Vadot		>;
482*f126890aSEmmanuel Vadot	};
483*f126890aSEmmanuel Vadot
484*f126890aSEmmanuel Vadot	pinctrl_ecspi3_cs: ecspi3csgrp {
485*f126890aSEmmanuel Vadot		fsl,pins = <
486*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x1b0b0
487*f126890aSEmmanuel Vadot		>;
488*f126890aSEmmanuel Vadot	};
489*f126890aSEmmanuel Vadot
490*f126890aSEmmanuel Vadot	pinctrl_ecspi3_flwp: ecspi3flwpgrp {
491*f126890aSEmmanuel Vadot		fsl,pins = <
492*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT6__GPIO4_IO27 0x1b0b0
493*f126890aSEmmanuel Vadot		>;
494*f126890aSEmmanuel Vadot	};
495*f126890aSEmmanuel Vadot
496*f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
497*f126890aSEmmanuel Vadot		fsl,pins = <
498*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b0b0
499*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
500*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b0b0
501*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b0b0
502*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b0b0
503*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b0b0
504*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b0b0
505*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b0b0
506*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b0b0
507*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b0b0
508*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b0b0
509*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b0b0
510*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b0b0
511*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b0b0
512*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b0b0
513*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
514*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__ENET_IRQ		0x000b1
515*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD0__GPIO1_IO27        0x1b0b0
516*f126890aSEmmanuel Vadot		>;
517*f126890aSEmmanuel Vadot	};
518*f126890aSEmmanuel Vadot
519*f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
520*f126890aSEmmanuel Vadot		fsl,pins = <
521*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__I2C1_SCL	0x4001b8b1
522*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__I2C1_SDA	0x4001b8b1
523*f126890aSEmmanuel Vadot		>;
524*f126890aSEmmanuel Vadot	};
525*f126890aSEmmanuel Vadot
526*f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
527*f126890aSEmmanuel Vadot		fsl,pins = <
528*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB2__I2C2_SCL	0x4001b8b1
529*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D16__I2C2_SDA	0x4001b8b1
530*f126890aSEmmanuel Vadot		>;
531*f126890aSEmmanuel Vadot	};
532*f126890aSEmmanuel Vadot
533*f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
534*f126890aSEmmanuel Vadot		fsl,pins = <
535*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D17__I2C3_SCL	0x4001b8b1
536*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D18__I2C3_SDA	0x4001b8b1
537*f126890aSEmmanuel Vadot		>;
538*f126890aSEmmanuel Vadot	};
539*f126890aSEmmanuel Vadot
540*f126890aSEmmanuel Vadot	pinctrl_pwm2: pwm2grp {
541*f126890aSEmmanuel Vadot		fsl,pins = <
542*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT9__PWM2_OUT	0x1b0b1
543*f126890aSEmmanuel Vadot		>;
544*f126890aSEmmanuel Vadot	};
545*f126890aSEmmanuel Vadot
546*f126890aSEmmanuel Vadot	pinctrl_reg_lvds: reqlvdsgrp {
547*f126890aSEmmanuel Vadot		fsl,pins = <
548*f126890aSEmmanuel Vadot			/* LVDS_PPEN_OUT */
549*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT19__GPIO5_IO13      0x1b0b0
550*f126890aSEmmanuel Vadot		>;
551*f126890aSEmmanuel Vadot	};
552*f126890aSEmmanuel Vadot
553*f126890aSEmmanuel Vadot	pinctrl_uart4: uart4grp {
554*f126890aSEmmanuel Vadot		fsl,pins = <
555*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT12__UART4_TX_DATA	0x1b0b1
556*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT13__UART4_RX_DATA	0x1b0b1
557*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT16__UART4_RTS_B	0x1b0b1
558*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT17__UART4_CTS_B	0x1b0b1
559*f126890aSEmmanuel Vadot		>;
560*f126890aSEmmanuel Vadot	};
561*f126890aSEmmanuel Vadot
562*f126890aSEmmanuel Vadot	pinctrl_uart5: uart5grp {
563*f126890aSEmmanuel Vadot		fsl,pins = <
564*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT14__UART5_TX_DATA	0x1b0b1
565*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT15__UART5_RX_DATA    0x1b0b1
566*f126890aSEmmanuel Vadot		>;
567*f126890aSEmmanuel Vadot	};
568*f126890aSEmmanuel Vadot
569*f126890aSEmmanuel Vadot	pinctrl_usbh1: usbh1grp {
570*f126890aSEmmanuel Vadot		fsl,pins = <
571*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__USB_H1_OC  0x030b0
572*f126890aSEmmanuel Vadot		>;
573*f126890aSEmmanuel Vadot	};
574*f126890aSEmmanuel Vadot
575*f126890aSEmmanuel Vadot	pinctrl_usbh1_vbus: usbh1_vbus_grp {
576*f126890aSEmmanuel Vadot		fsl,pins = <
577*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x1b0b0
578*f126890aSEmmanuel Vadot		>;
579*f126890aSEmmanuel Vadot	};
580*f126890aSEmmanuel Vadot
581*f126890aSEmmanuel Vadot	pinctrl_usdhc4: usdhc4grp {
582*f126890aSEmmanuel Vadot		fsl,pins = <
583*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
584*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
585*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
586*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
587*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
588*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
589*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__SD4_DATA4		0x17059
590*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT5__SD4_DATA5		0x17059
591*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT6__SD4_DATA6		0x17059
592*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
593*f126890aSEmmanuel Vadot			MX6QDL_PAD_NANDF_ALE__SD4_RESET	0x17059
594*f126890aSEmmanuel Vadot		>;
595*f126890aSEmmanuel Vadot	};
596*f126890aSEmmanuel Vadot};
597