blob: cce959438a79679e634ac8c191fedd85afcbfdca [file] [log] [blame]
Fabien Lahoudere2952d672017-08-18 16:53:48 +01001/*
2 * Copyright 2014 General Electric Company
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * version 2 as published by the Free Software Foundation.
12 *
13 * This file is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * Or, alternatively,
19 *
20 * b) Permission is hereby granted, free of charge, to any person
21 * obtaining a copy of this software and associated documentation
22 * files (the "Software"), to deal in the Software without
23 * restriction, including without limitation the rights to use,
24 * copy, modify, merge, publish, distribute, sublicense, and/or
25 * sell copies of the Software, and to permit persons to whom the
26 * Software is furnished to do so, subject to the following
27 * conditions:
28 *
29 * The above copyright notice and this permission notice shall be
30 * included in all copies or substantial portions of the Software.
31 *
32 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39 * OTHER DEALINGS IN THE SOFTWARE.
40 */
41
42/dts-v1/;
43
44#include "imx53.dtsi"
45#include <dt-bindings/input/input.h>
46
47/ {
48 model = "General Electric CS ONE";
49 compatible = "ge,imx53-cpuvo", "fsl,imx53";
50
51 aliases {
52 spi0 = &cspi;
53 spi1 = &ecspi1;
54 spi2 = &ecspi2;
55 };
56
57 chosen {
58 stdout-path = "&uart1:115200n8";
59 };
60
61 memory@70000000 {
62 device_type = "memory";
63 reg = <0x70000000 0x20000000>,
64 <0xb0000000 0x20000000>;
65 };
66
67 cko2_11M: sgtl-clock-cko2 {
68 compatible = "fixed-clock";
69 #clock-cells = <0>;
70 clock-frequency = <11289600>;
71 };
72
73 sgtlsound: sound {
74 compatible = "fsl,imx53-cpuvo-sgtl5000",
75 "fsl,imx-audio-sgtl5000";
76 model = "imx53-cpuvo-sgtl5000";
77 ssi-controller = <&ssi2>;
78 audio-codec = <&sgtl5000>;
79 audio-routing =
80 "MIC_IN", "Mic Jack",
81 "Mic Jack", "Mic Bias",
82 "Headphone Jack", "HP_OUT";
83 mux-int-port = <2>;
84 mux-ext-port = <6>;
85 };
86
87 reg_sgtl5k: regulator-sgtl5k {
88 compatible = "regulator-fixed";
89 regulator-name = "regulator-sgtl5k";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
92 regulator-always-on;
93 };
94
95 reg_usb_otg_vbus: regulator-usb-otg-vbus {
96 compatible = "regulator-fixed";
97 regulator-name = "usbotg_vbus";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
100 pinctrl-0 = <&pinctrl_usb_otg_vbus>;
101 gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
102 enable-active-high;
103 };
104
105 reg_usb_vbus: regulator-usb-vbus {
106 compatible = "regulator-fixed";
107 regulator-name = "usbh1_vbus";
108 regulator-min-microvolt = <5000000>;
109 regulator-max-microvolt = <5000000>;
110 regulator-always-on;
111 };
112
113 reg_usbh2_vbus: regulator-usbh2-vbus {
114 compatible = "regulator-fixed";
115 regulator-name = "usbh2_vbus";
116 regulator-min-microvolt = <5000000>;
117 regulator-max-microvolt = <5000000>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_usbh2_vbus>;
120 gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
121 enable-active-high;
122 };
123
124 reg_usbh3_vbus: regulator-usbh3-vbus {
125 compatible = "regulator-fixed";
126 regulator-name = "usbh3_vbus";
127 regulator-min-microvolt = <5000000>;
128 regulator-max-microvolt = <5000000>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_usbh3_vbus>;
131 gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>;
132 enable-active-high;
133 };
134
135 pwm_bl: backlight {
136 compatible = "pwm-backlight";
137 pwms = <&pwm2 0 50000>;
138 brightness-levels = <0 2 5 7 10 12 15 17 20 22 25 28 30 33 35
139 38 40 43 45 48 51 53 56 58 61 63 66 68 71
140 73 76 79 81 84 86 89 91 94 96 99 102 104
141 107 109 112 114 117 119 122 124 127 130
142 132 135 137 140 142 145 147 150 153 155
143 158 160 163 165 168 170 173 175 178 181
144 183 186 188 191 193 196 198 201 204 206
145 209 211 214 216 219 221 224 226 229 232
146 234 237 239 242 244 247 249 252 255>;
147 default-brightness-level = <0>;
148 enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
149 };
150
151 leds {
152 compatible = "pwm-leds";
153
154 alarm-brightness {
155 pwms = <&pwm1 0 100000>;
156 max-brightness = <255>;
157 };
158 };
159
160 gpio-poweroff {
161 compatible = "gpio-poweroff";
162 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
163 };
164
165 gpio-restart {
166 compatible = "gpio-restart";
167 gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
168 active-delay = <100>;
169 inactive-delay = <10>;
170 wait-delay = <100>;
171 };
172
173 power-gpio-keys {
174 compatible = "gpio-keys";
175 #address-cells = <1>;
176 #size-cells = <0>;
177
178 power-button {
179 label = "Power button";
180 gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
181 linux,code = <KEY_POWER>;
182 };
183 };
184
185 touch-lock-key {
186 compatible = "gpio-keys";
187 #address-cells = <1>;
188 #size-cells = <0>;
189
190 touch-lock-button {
191 label = "Touch lock button";
192 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
193 linux,code = <KEY_F12>;
194 };
195 };
196
197 usbphy2: usbphy2 {
198 compatible = "usb-nop-xceiv";
199 reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
200 clock-names = "main_clk";
201 clock-frequency = <24000000>;
202 clocks = <&clks IMX5_CLK_CKO2>;
203 assigned-clocks = <&clks IMX5_CLK_CKO2_SEL>, <&clks IMX5_CLK_OSC>;
204 assigned-clock-parents = <&clks IMX5_CLK_OSC>;
205 };
206
207 usbphy3: usbphy3 {
208 compatible = "usb-nop-xceiv";
209 reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
210 clock-names = "main_clk";
211
212 clock-frequency = <24000000>;
213 clocks = <&clks IMX5_CLK_CKO2>;
214 assigned-clocks = <&clks IMX5_CLK_CKO2_SEL>, <&clks IMX5_CLK_OSC>;
215 assigned-clock-parents = <&clks IMX5_CLK_OSC>;
216 };
217
218 panel-lvds0 {
219 compatible = "nvd,9128";
220
221 port {
222 panel_in_lvds0: endpoint {
223 remote-endpoint = <&lvds0_out>;
224 };
225 };
226 };
227};
228
229&audmux {
230 pinctrl-names = "default";
231 pinctrl-0 = <&pinctrl_audmux>;
232 status = "okay";
233};
234
235&cpu0 {
236 /* CPU rated to 1GHz, not 1.2GHz as per the default settings */
237 operating-points = <
238 /* kHz uV */
239 166666 850000
240 400000 900000
241 800000 1050000
242 1000000 1200000
243 >;
244};
245
246&ecspi1 {
247 pinctrl-names = "default";
248 pinctrl-0 = <&pinctrl_ecspi1>;
249 cs-gpios = <&gpio5 17 GPIO_ACTIVE_LOW
250 &gpio4 10 GPIO_ACTIVE_LOW
251 &gpio4 11 GPIO_ACTIVE_LOW
252 &gpio4 12 GPIO_ACTIVE_LOW>;
253 status = "okay";
254
255 spidev0: spi@0 {
256 compatible = "ge,achc";
257 reg = <0>;
258 spi-max-frequency = <1000000>;
259 };
260
261 spidev1: spi@1 {
262 compatible = "ge,achc";
263 reg = <1>;
264 spi-max-frequency = <1000000>;
265 };
266
267 gpioxra0: gpio@2 {
268 compatible = "exar,xra1403";
269 reg = <2>;
270 gpio-controller;
271 #gpio-cells = <2>;
272 spi-max-frequency = <1000000>;
273 };
274
275 gpioxra1: gpio@3 {
276 compatible = "exar,xra1403";
277 reg = <3>;
278 gpio-controller;
279 #gpio-cells = <2>;
280 spi-max-frequency = <1000000>;
281 };
282};
283
284&ecspi2 {
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_ecspi2>;
287 num-chipselects = <1>;
288 cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
289 status = "okay";
290
291 da9053@0 {
292 compatible = "dlg,da9053-aa";
293 reg = <0>;
294 interrupt-parent = <&gpio3>;
295 interrupts = <12 0x8>;
296 spi-max-frequency = <1000000>;
297
298 regulators {
299 buck1_reg: buck1 {
300 regulator-name = "BUCKCORE";
301 regulator-min-microvolt = <500000>;
302 regulator-max-microvolt = <2075000>;
303 regulator-always-on;
304 };
305
306 buck2_reg: buck2 {
307 regulator-name = "BUCKPRO";
308 regulator-min-microvolt = <500000>;
309 regulator-max-microvolt = <2075000>;
310 regulator-always-on;
311 };
312
313 buck3_reg: buck3 {
314 regulator-name = "BUCKMEM";
315 regulator-min-microvolt = <925000>;
316 regulator-max-microvolt = <2500000>;
317 regulator-always-on;
318 };
319
320 buck4_reg: buck4 {
321 regulator-name = "BUCKPERI";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <3600000>;
324 regulator-always-on;
325 };
326
327 ldo1_reg: ldo1 {
328 regulator-name = "ldo1_1v3";
329 regulator-min-microvolt = <600000>;
330 regulator-max-microvolt = <1800000>;
331 regulator-always-on;
332 };
333
334 ldo2_reg: ldo2 {
335 regulator-name = "ldo2_1v3";
336 regulator-min-microvolt = <600000>;
337 regulator-max-microvolt = <1800000>;
338 regulator-always-on;
339 };
340
341 ldo3_reg: ldo3 {
342 regulator-name = "ldo3_3v3";
343 regulator-min-microvolt = <1725000>;
344 regulator-max-microvolt = <3300000>;
345 regulator-always-on;
346 };
347
348 ldo4_reg: ldo4 {
349 regulator-name = "ldo4_2v775";
350 regulator-min-microvolt = <1725000>;
351 regulator-max-microvolt = <3300000>;
352 regulator-always-on;
353 };
354
355 ldo5_reg: ldo5 {
356 regulator-name = "ldo5_3v3";
357 regulator-min-microvolt = <1200000>;
358 regulator-max-microvolt = <3600000>;
359 regulator-always-on;
360 };
361
362 ldo6_reg: ldo6 {
363 regulator-name = "ldo6_1v3";
364 regulator-min-microvolt = <1200000>;
365 regulator-max-microvolt = <3600000>;
366 regulator-always-on;
367 };
368
369 ldo7_reg: ldo7 {
370 regulator-name = "ldo7_2v75";
371 regulator-min-microvolt = <1200000>;
372 regulator-max-microvolt = <3600000>;
373 regulator-always-on;
374 };
375
376 ldo8_reg: ldo8 {
377 regulator-name = "ldo8_1v8";
378 regulator-min-microvolt = <1200000>;
379 regulator-max-microvolt = <3600000>;
380 regulator-always-on;
381 };
382
383 ldo9_reg: ldo9 {
384 regulator-name = "ldo9_1v5";
385 regulator-min-microvolt = <1250000>;
386 regulator-max-microvolt = <3650000>;
387 regulator-always-on;
388 };
389
390 ldo10_reg: ldo10 {
391 regulator-name = "ldo10_1v3";
392 regulator-min-microvolt = <1200000>;
393 regulator-max-microvolt = <3600000>;
394 regulator-always-on;
395 };
396 };
397 };
398
399};
400
401&esdhc3 {
402 pinctrl-names = "default";
403 pinctrl-0 = <&pinctrl_esdhc3>;
404 bus-width = <8>;
405 status = "okay";
406};
407
408&fec {
409 pinctrl-names = "default";
410 pinctrl-0 = <&pinctrl_fec>;
411 phy-mode = "rmii";
412 phy-reset-gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
413 status = "okay";
414};
415
416&i2c1 {
417 pinctrl-names = "default", "gpio";
418 pinctrl-0 = <&pinctrl_i2c1>;
419 pinctrl-1 = <&pinctrl_i2c1_gpio>;
420 sda-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
421 scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
422 status = "okay";
423
424 i2c-switch@70 {
425 compatible = "nxp,pca9547";
426 #address-cells = <1>;
427 #size-cells = <0>;
428 reg = <0x70>;
429 reset-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
430
431 i2c4: i2c@0 {
432 #address-cells = <1>;
433 #size-cells = <0>;
434 reg = <0>;
435
436 sgtl5000: codec@a {
437 compatible = "fsl,sgtl5000";
438 reg = <0xa>;
439 VDDA-supply = <&reg_sgtl5k>;
440 VDDIO-supply = <&reg_sgtl5k>;
441 clocks = <&cko2_11M>;
442 status = "okay";
443 };
444 };
445
446 i2c5: i2c@1 {
447 #address-cells = <1>;
448 #size-cells = <0>;
449 reg = <1>;
450
451 rtc@30 {
452 compatible = "sii,s35390a";
453 reg = <0x30>;
454 };
455
456 temp@48 {
457 compatible = "ti,tmp112";
458 reg = <0x48>;
459 };
460
461 mma8453q: accelerometer@1c {
462 compatible = "fsl,mma8453";
463 reg = <0x1c>;
464 interrupt-parent = <&gpio1>;
465 interrupts = <6 0>;
466 interrupt-names = "INT1";
467 };
468
469 mpl3115: pressure-sensor@60 {
470 compatible = "fsl,mpl3115";
471 reg = <0x60>;
472 };
473
474 eeprom: eeprom@50 {
475 compatible = "atmel,24c08";
476 reg = <0x50>;
477 };
478 };
479
480 i2c6: i2c@2 {
481 #address-cells = <1>;
482 #size-cells = <0>;
483 reg = <2>;
484 };
485
486 i2c7: i2c@3 {
487 #address-cells = <1>;
488 #size-cells = <0>;
489 reg = <3>;
490 };
491
492 i2c8: i2c@4 {
493 #address-cells = <1>;
494 #size-cells = <0>;
495 reg = <4>;
496 };
497
498 i2c9: i2c@5 {
499 #address-cells = <1>;
500 #size-cells = <0>;
501 reg = <5>;
502 };
503
504 i2c10: i2c@6 {
505 #address-cells = <1>;
506 #size-cells = <0>;
507 reg = <6>;
508 };
509
510 i2c11: i2c@7 {
511 #address-cells = <1>;
512 #size-cells = <0>;
513 reg = <7>;
514 };
515 };
516};
517
518&i2c2 {
519 pinctrl-names = "default", "gpio";
520 pinctrl-0 = <&pinctrl_i2c2>;
521 pinctrl-1 = <&pinctrl_i2c2_gpio>;
522 sda-gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
523 scl-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
524 status = "okay";
525
526 touchscreen@4b {
527 compatible = "atmel,maxtouch";
528 reg = <0x4b>;
529 interrupt-parent = <&gpio5>;
530 interrupts = <4 0x8>;
531 };
532};
533
534&i2c3 {
535 pinctrl-names = "default", "gpio";
536 pinctrl-0 = <&pinctrl_i2c3>;
537 pinctrl-1 = <&pinctrl_i2c3_gpio>;
538 sda-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
539 scl-gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
540 status = "okay";
541};
542
543&ldb {
544 status = "okay";
545
546 lvds0: lvds-channel@0 {
547 status = "okay";
548
549 port@2 {
550 reg = <2>;
551
552 lvds0_out: endpoint {
553 remote-endpoint = <&panel_in_lvds0>;
554 };
555 };
556 };
557};
558
559&pwm1 {
560 pinctrl-names = "default";
561 pinctrl-0 = <&pinctrl_pwm1>;
562 status = "okay";
563};
564
565&pwm2 {
566 pinctrl-names = "default";
567 pinctrl-0 = <&pinctrl_pwm2>;
568 status = "okay";
569};
570
571&ssi2 {
572 status = "okay";
573};
574
575&uart1 {
576 pinctrl-names = "default";
577 pinctrl-0 = <&pinctrl_uart1>;
578 status = "okay";
579};
580
581&uart2 {
582 pinctrl-names = "default";
583 pinctrl-0 = <&pinctrl_uart2>;
584 status = "okay";
585};
586
587&uart3 {
588 pinctrl-names = "default";
589 pinctrl-0 = <&pinctrl_uart3>;
590 uart-has-rtscts;
591 status = "okay";
592};
593
594&uart4 {
595 pinctrl-names = "default";
596 pinctrl-0 = <&pinctrl_uart4>;
597 status = "okay";
598};
599
600&uart5 {
601 pinctrl-names = "default";
602 pinctrl-0 = <&pinctrl_uart5>;
603 status = "okay";
604};
605
606&usbotg {
607 dr_mode = "otg";
608 phy_type = "utmi";
609 vbus-supply = <&reg_usb_otg_vbus>;
610 pinctrl-0 = <&pinctrl_usb_otg>;
611 status = "okay";
612};
613
614&usbh1 {
615 vbus-supply = <&reg_usb_vbus>;
616 phy_type = "utmi";
617 dr_mode = "host";
618 status = "okay";
619};
620
621&usbh2 {
622 pinctrl-names = "default";
623 pinctrl-0 = <&pinctrl_usbh2>;
624 phy_type = "ulpi";
625 dr_mode = "host";
626 fsl,usbphy = <&usbphy2>;
627 vbus-supply = <&reg_usbh2_vbus>;
628 status = "okay";
629};
630
631&usbh3 {
632 pinctrl-names = "default";
633 pinctrl-0 = <&pinctrl_usbh3>;
634 phy_type = "ulpi";
635 dr_mode = "host";
636 vbus-supply = <&reg_usbh3_vbus>;
637 fsl,usbphy = <&usbphy3>;
638 status = "okay";
639};
640
641&iomuxc {
642 pinctrl-names = "default";
643 pinctrl-0 = <&pinctrl_hog_rev6>;
644
645 pinctrl_audmux: audmuxgrp {
646 fsl,pins = <
647 MX53_PAD_DISP0_DAT19__AUDMUX_AUD5_RXD 0x400
648 MX53_PAD_DISP0_DAT17__AUDMUX_AUD5_TXD 0x400
649 MX53_PAD_DISP0_DAT16__AUDMUX_AUD5_TXC 0x400
650 MX53_PAD_DISP0_DAT18__AUDMUX_AUD5_TXFS 0x400
651 MX53_PAD_DI0_PIN15__AUDMUX_AUD6_TXC 0x400
652 MX53_PAD_DI0_PIN3__AUDMUX_AUD6_TXFS 0x400
653 MX53_PAD_DI0_PIN4__AUDMUX_AUD6_RXD 0x400
654 MX53_PAD_DI0_PIN2__AUDMUX_AUD6_TXD 0x400
655 >;
656 };
657
658 pinctrl_ecspi1: ecspi1grp {
659 fsl,pins = <
660 MX53_PAD_DISP0_DAT21__ECSPI1_MOSI 0x400
661 MX53_PAD_DISP0_DAT22__ECSPI1_MISO 0x400
662 MX53_PAD_DISP0_DAT20__ECSPI1_SCLK 0x400
663 /* ECSPI1_SS0, must treat as GPIO for EzPort */
664 MX53_PAD_DISP0_DAT23__GPIO5_17 0x400
665 MX53_PAD_KEY_COL2__GPIO4_10 0x0
666 MX53_PAD_KEY_ROW2__GPIO4_11 0x0
667 MX53_PAD_KEY_COL3__GPIO4_12 0x0
668 >;
669 };
670
671 pinctrl_ecspi2: ecspi2grp {
672 fsl,pins = <
673 MX53_PAD_EIM_CS1__ECSPI2_MOSI 0x0
674 MX53_PAD_EIM_OE__ECSPI2_MISO 0x0
675 MX53_PAD_EIM_CS0__ECSPI2_SCLK 0x0
676 MX53_PAD_EIM_RW__GPIO2_26 0x0
677 >;
678 };
679
680 pinctrl_esdhc1: esdhc1grp {
681 fsl,pins = <
682 MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5
683 MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5
684 MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5
685 MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5
686 MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5
687 MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5
688 >;
689 };
690
691 pinctrl_esdhc3: esdhc3grp {
692 fsl,pins = <
693 MX53_PAD_PATA_DATA8__ESDHC3_DAT0 0x1d5
694 MX53_PAD_PATA_DATA9__ESDHC3_DAT1 0x1d5
695 MX53_PAD_PATA_DATA10__ESDHC3_DAT2 0x1d5
696 MX53_PAD_PATA_DATA11__ESDHC3_DAT3 0x1d5
697 MX53_PAD_PATA_DATA0__ESDHC3_DAT4 0x1d5
698 MX53_PAD_PATA_DATA1__ESDHC3_DAT5 0x1d5
699 MX53_PAD_PATA_DATA2__ESDHC3_DAT6 0x1d5
700 MX53_PAD_PATA_DATA3__ESDHC3_DAT7 0x1d5
701 MX53_PAD_PATA_RESET_B__ESDHC3_CMD 0x1d5
702 MX53_PAD_PATA_IORDY__ESDHC3_CLK 0x1d5
703 >;
704 };
705
706 pinctrl_fec: fecgrp {
707 fsl,pins = <
708 MX53_PAD_FEC_MDC__FEC_MDC 0x0
709 MX53_PAD_FEC_MDIO__FEC_MDIO 0x0
710 MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x0
711 MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x0
712 MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x0
713 MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x0
714 MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x0
715 MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x0
716 MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x0
717 MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x0
718 >;
719 };
720
721 pinctrl_hog_rev6: hoggrp {
722 fsl,pins = <
723 /* CKO2 */
724 MX53_PAD_GPIO_3__CCM_CLKO2 0x4
725 /* DEFIB_SYNC_MARKER_IN_IRQ */
726 MX53_PAD_GPIO_5__GPIO1_5 0x0
727 /* ACCELEROMETER_DATA_RDY_N */
728 MX53_PAD_GPIO_6__GPIO1_6 0x0
729 /* TEMPERATURE_ALERT_N */
730 MX53_PAD_GPIO_7__GPIO1_7 0x0
731 /* BAROMETRIC_PRESSURE_DATA_RDY_N */
732 MX53_PAD_GPIO_8__GPIO1_8 0x0
733 /* DOCKING_I2C_INTERFACE_IRQ_N */
734 MX53_PAD_PATA_DATA4__GPIO2_4 0x0
735 /* PWR_OUT_TO_DOCK_FAULT_N */
736 MX53_PAD_PATA_DATA5__GPIO2_5 0x0
737 /* ENABLE_PWR_TO_DOCK_N */
738 MX53_PAD_PATA_DATA6__GPIO2_6 0x0
739 /* HOST_CONTROLLED_RESET_TO_DOCKING_CONNECTOR_N */
740 MX53_PAD_PATA_DATA7__GPIO2_7 0x0
741 /* REMOTE_ON_REQUEST_FROM_DOCKING_CONNECTOR_IS_ACTIVE_N */
742 MX53_PAD_PATA_DATA12__GPIO2_12 0x0
743 /* DOCK_PRESENT_N */
744 MX53_PAD_PATA_DATA13__GPIO2_13 0x0
745 /* ECG_MARKER_IN_FROM_DOCKING_CONNECTOR_IRQ */
746 MX53_PAD_PATA_DATA14__GPIO2_14 0x0
747 /* ENABLE_ECG_MARKER_INTERFACE_TO_DOCKING_CONNECTOR */
748 MX53_PAD_PATA_DATA15__GPIO2_15 0x0
749 /* RESET_IMX535_ETHERNET_PHY_N */
750 MX53_PAD_EIM_A22__GPIO2_16 0x0
751 /* ENABLE_PWR_TO_LCD_AND_UI_INTERFACE */
752 MX53_PAD_EIM_A21__GPIO2_17 0x0
753 /* RESET_I2C1_BUS_SEGMENT_MUX_N */
754 MX53_PAD_EIM_A20__GPIO2_18 0x0
755 /* RESET_IMX535_USB_HOST3_PHY_N */
756 MX53_PAD_EIM_A19__GPIO2_19 0x0
757 /* ESDHC3_EMMC_NAND_RST_N */
758 MX53_PAD_EIM_A18__GPIO2_20 0x0
759 /* LCD_AND_UI_INTERFACE_PWR_FAULT_N */
760 MX53_PAD_EIM_A17__GPIO2_21 0x0
761 /* POWER_DOWN_LVDS0_DESERIALIZER_N */
762 MX53_PAD_EIM_A16__GPIO2_22 0x0
763 /* POWER_DOWN_LVDS1_DESERIALIZER_N */
764 MX53_PAD_EIM_LBA__GPIO2_27 0x0
765 /* RESET_DP0_TRANSMITTER_N */
766 MX53_PAD_EIM_EB0__GPIO2_28 0x0
767 /* RESET_DP1_TRANSMITTER_N */
768 MX53_PAD_EIM_EB1__GPIO2_29 0x0
769 /* ENABLE_SPDIF_AUDIO_TO_DP0 */
770 MX53_PAD_EIM_DA0__GPIO3_0 0x0
771 /* ENABLE_SPDIF_AUDIO_TO_DP1 */
772 MX53_PAD_EIM_DA1__GPIO3_1 0x0
773 /* LVDS1_MUX_CTRL */
774 MX53_PAD_EIM_DA2__GPIO3_2 0x0
775 /* LVDS0_MUX_CTRL */
776 MX53_PAD_EIM_DA3__GPIO3_3 0x0
777 /* DP1_TRANSMITTER_IRQ */
778 MX53_PAD_EIM_DA4__GPIO3_4 0x0
779 /* DP0_TRANSMITTER_IRQ */
780 MX53_PAD_EIM_DA5__GPIO3_5 0x0
781 /* USB_RESET_N */
782 MX53_PAD_EIM_DA6__GPIO3_6 0x0
783 /* ENABLE_BATTERY_CHARGER */
784 MX53_PAD_EIM_DA7__GPIO3_7 0x0
785 /* SOFTWARE_CONTROLLED_PWR_CYCLE */
786 MX53_PAD_EIM_DA8__GPIO3_8 0x0
787 /* SOFTWARE_CONTROLLED_POWERDOWN */
788 MX53_PAD_EIM_DA9__GPIO3_9 0x0
789 /* DC_PWR_IN_OK */
790 MX53_PAD_EIM_DA10__GPIO3_10 0x0
791 /* BATT_PRESENT_N */
792 MX53_PAD_EIM_DA11__GPIO3_11 0xe4
793 /* PMIC_IRQ_N */
794 MX53_PAD_EIM_DA12__GPIO3_12 0x0
795 /* PMIC_VDD_FAULT_STATUS_N */
796 MX53_PAD_EIM_DA13__GPIO3_13 0x0
797 /* IMX535_ETHERNET_PHY_STATUS_IRQ_N */
798 MX53_PAD_EIM_DA14__GPIO3_14 0x0
799 /* NOT USED - AVAILABLE 3.3V GPIO */
800 MX53_PAD_EIM_DA15__GPIO3_15 0x0
801 /* NOT USED - AVAILABLE 3.3V GPIO */
802 MX53_PAD_EIM_D22__GPIO3_22 0x0
803 /* NOT USED - AVAILABLE 3.3V GPIO */
804 MX53_PAD_EIM_D24__GPIO3_24 0x0
805 /* NBP_PUMP_VALVE_PWR_ENABLE */
806 MX53_PAD_EIM_D25__GPIO3_25 0x0
807 /* NIBP_RESET_N */
808 MX53_PAD_EIM_D26__GPIO3_26 0x0
809 /* LATCHED_OVERPRESSURE_N */
810 MX53_PAD_EIM_D27__GPIO3_27 0x0
811 /* NBP_SBWTCLK */
812 MX53_PAD_EIM_D29__GPIO3_29 0x0
813 /* ENABLE_WIFI_MODULE */
814 MX53_PAD_GPIO_11__GPIO4_1 0x400
815 /* WIFI_MODULE_IRQ_N */
816 MX53_PAD_GPIO_12__GPIO4_2 0x400
817 /* ENABLE_BLUETOOTH_MODULE */
818 MX53_PAD_GPIO_13__GPIO4_3 0x400
819 /* RESET_IMX535_USB_HOST2_PHY_N */
820 MX53_PAD_GPIO_14__GPIO4_4 0x400
821 /* ONKEY_IS_DEPRESSED */
822 MX53_PAD_KEY_ROW3__GPIO4_13 0x0
823 /* UNUSED_GPIO_TO_ALARM_LIGHT_BOARD */
824 MX53_PAD_EIM_WAIT__GPIO5_0 0x0
825 /* DISPLAY_LOCK_BUTTON_IS_DEPRESSED_N */
826 MX53_PAD_EIM_A25__GPIO5_2 0x0
827 /* I2C_PCAP_TOUCHSCREEN_IRQ_N */
828 MX53_PAD_EIM_A24__GPIO5_4 0x0
829 /* NOT USED - AVAILABLE 1.8V GPIO */
830 MX53_PAD_DISP0_DAT13__GPIO5_7 0x400
831 /* NOT USED - AVAILABLE 1.8V GPIO */
832 MX53_PAD_DISP0_DAT14__GPIO5_8 0x400
833 /* NOT USED - AVAILABLE 1.8V GPIO */
834 MX53_PAD_DISP0_DAT15__GPIO5_9 0x400
835 /* HOST_CONTROLLED_RESET_TO_LCD_N */
836 MX53_PAD_CSI0_PIXCLK__GPIO5_18 0x0
837 /* HOST_CONTROLLED_RESET_TO_PCAP_N */
838 MX53_PAD_CSI0_MCLK__GPIO5_19 0x0
839 /* LR_SCAN_CTRL */
840 MX53_PAD_CSI0_DATA_EN__GPIO5_20 0x0
841 /* UD_SCAN_CTRL */
842 MX53_PAD_CSI0_VSYNC__GPIO5_21 0x0
843 /* DATA_WIDTH_CTRL */
844 MX53_PAD_CSI0_DAT10__GPIO5_28 0x0
845 /* BACKLIGHT_ENABLE */
846 MX53_PAD_CSI0_DAT11__GPIO5_29 0x0
847 /* MED_USB_PORT_1_HOST_SELECT */
848 MX53_PAD_EIM_A23__GPIO6_6 0x0
849 /* MED_USB_PORT_2_HOST_SELECT */
850 MX53_PAD_NANDF_CLE__GPIO6_7 0x0
851 /* MED_USB_PORT_3_HOST_SELECT */
852 MX53_PAD_NANDF_ALE__GPIO6_8 0x0
853 /* MED_USB_PORT_4_HOST_SELECT */
854 MX53_PAD_NANDF_WP_B__GPIO6_9 0x0
855 /* MED_USB_PORT_5_HOST_SELECT */
856 MX53_PAD_NANDF_RB0__GPIO6_10 0x0
857 /* MED_USB_PORT_6_HOST_SELECT */
858 MX53_PAD_NANDF_CS0__GPIO6_11 0x0
859 /* MED_USB_PORT_7_HOST_SELECT */
860 MX53_PAD_NANDF_WE_B__GPIO6_12 0x0
861 /* MED_USB_PORT_8_HOST_SELECT */
862 MX53_PAD_NANDF_RE_B__GPIO6_13 0x0
863 /* MED_USB_PORT_TO_IMX_SELECT_0 */
864 MX53_PAD_NANDF_CS1__GPIO6_14 0x0
865 /* MED_USB_PORT_TO_IMX_SELECT_1 */
866 MX53_PAD_NANDF_CS2__GPIO6_15 0x0
867 /* MED_USB_PORT_TO_IMX_SELECT_2 */
868 MX53_PAD_NANDF_CS3__GPIO6_16 0x0
869 /* POWER_AND_BOOT_STATUS_INDICATOR */
870 MX53_PAD_PATA_INTRQ__GPIO7_2 0x1e4
871 /* ACTIVATE_ALARM_LIGHT_RED */
872 MX53_PAD_PATA_DIOR__GPIO7_3 0x0
873 /* ACTIVATE_ALARM_LIGHT_YELLOW */
874 MX53_PAD_PATA_DA_1__GPIO7_7 0x0
875 /* ACTIVATE_ALARM_LIGHT_CYAN */
876 MX53_PAD_PATA_DA_2__GPIO7_8 0x0
877 /* RUNNING_ON_BATTERY_INDICATOR_GREEN */
878 MX53_PAD_GPIO_16__GPIO7_11 0x0
879 /* BATTERY_STATUS_INDICATOR_AMBER */
880 MX53_PAD_GPIO_17__GPIO7_12 0x0
881 /* AUDIO_ALARMS_SILENCED_INDICATOR */
882 MX53_PAD_GPIO_18__GPIO7_13 0x0
883 >;
884 };
885
886 pinctrl_i2c1: i2c1grp {
887 fsl,pins = <
888 MX53_PAD_EIM_D21__I2C1_SCL 0x400001e4
889 MX53_PAD_EIM_D28__I2C1_SDA 0x400001e4
890 >;
891 };
892
893 pinctrl_i2c1_gpio: i2c1gpiogrp {
894 fsl,pins = <
895 MX53_PAD_EIM_D28__GPIO3_28 0x1e4
896 MX53_PAD_EIM_D21__GPIO3_21 0x1e4
897 >;
898 };
899
900 pinctrl_i2c2: i2c2grp {
901 fsl,pins = <
902 MX53_PAD_EIM_EB2__I2C2_SCL 0x400001e4
903 MX53_PAD_EIM_D16__I2C2_SDA 0x400001e4
904 >;
905 };
906
907 pinctrl_i2c2_gpio: i2c2gpiogrp {
908 fsl,pins = <
909 MX53_PAD_EIM_D16__GPIO3_16 0x1e4
910 MX53_PAD_EIM_EB2__GPIO2_30 0x1e4
911 >;
912 };
913
914 pinctrl_i2c3: i2c3grp {
915 fsl,pins = <
916 MX53_PAD_EIM_D17__I2C3_SCL 0x400001e4
917 MX53_PAD_EIM_D18__I2C3_SDA 0x400001e4
918 >;
919 };
920
921 pinctrl_i2c3_gpio: i2c3gpiogrp {
922 fsl,pins = <
923 MX53_PAD_EIM_D18__GPIO3_18 0x1e4
924 MX53_PAD_EIM_D17__GPIO3_17 0x1e4
925 >;
926 };
927
928 pinctrl_pwm1: pwm1grp {
929 fsl,pins = <
930 MX53_PAD_GPIO_9__PWM1_PWMO 0x5
931 >;
932 };
933
934 pinctrl_pwm2: pwm2grp {
935 fsl,pins = <
936 MX53_PAD_DISP0_DAT9__PWM2_PWMO 0x5
937 >;
938 };
939
940 pinctrl_uart1: uart1grp {
941 fsl,pins = <
942 MX53_PAD_PATA_DIOW__UART1_TXD_MUX 0x1e4
943 MX53_PAD_PATA_DMACK__UART1_RXD_MUX 0x1e4
944 >;
945 };
946
947 pinctrl_uart2: uart2grp {
948 fsl,pins = <
949 MX53_PAD_PATA_DMARQ__UART2_TXD_MUX 0x1e4
950 MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX 0x1e4
951 >;
952 };
953
954 pinctrl_uart3: uart3grp {
955 fsl,pins = <
956 MX53_PAD_PATA_CS_0__UART3_TXD_MUX 0x1e4
957 MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4
958 MX53_PAD_EIM_D23__UART3_CTS 0x1e4
959 MX53_PAD_EIM_EB3__UART3_RTS 0x1e4
960 >;
961 };
962
963 pinctrl_uart4: uart4grp {
964 fsl,pins = <
965 MX53_PAD_KEY_COL0__UART4_TXD_MUX 0x1e4
966 MX53_PAD_KEY_ROW0__UART4_RXD_MUX 0x1e4
967 >;
968 };
969
970 pinctrl_uart5: uart5grp {
971 fsl,pins = <
972 MX53_PAD_KEY_COL1__UART5_TXD_MUX 0x1e4
973 MX53_PAD_KEY_ROW1__UART5_RXD_MUX 0x1e4
974 >;
975 };
976
977 pinctrl_usb_otg_vbus: usb-otg-vbusgrp {
978 fsl,pins = <
979 /* USB_HS_OTG_VBUS_ENABLE */
980 MX53_PAD_KEY_ROW4__GPIO4_15 0x1c4
981 >;
982 };
983
984 pinctrl_usbh2: usbh2grp {
985 fsl,pins = <
986 /* USB H2 */
987 MX53_PAD_DISP0_DAT0__USBOH3_USBH2_DATA_0 0x180
988 MX53_PAD_DISP0_DAT1__USBOH3_USBH2_DATA_1 0x180
989 MX53_PAD_DISP0_DAT2__USBOH3_USBH2_DATA_2 0x180
990 MX53_PAD_DISP0_DAT3__USBOH3_USBH2_DATA_3 0x180
991 MX53_PAD_DISP0_DAT4__USBOH3_USBH2_DATA_4 0x180
992 MX53_PAD_DISP0_DAT5__USBOH3_USBH2_DATA_5 0x180
993 MX53_PAD_DISP0_DAT6__USBOH3_USBH2_DATA_6 0x180
994 MX53_PAD_DISP0_DAT7__USBOH3_USBH2_DATA_7 0x180
995 MX53_PAD_DISP0_DAT10__USBOH3_USBH2_STP 0x180
996 MX53_PAD_DISP0_DAT11__USBOH3_USBH2_NXT 0x180
997 MX53_PAD_DISP0_DAT12__USBOH3_USBH2_CLK 0x180
998 MX53_PAD_DI0_DISP_CLK__USBOH3_USBH2_DIR 0x5
999 MX53_PAD_EIM_D30__USBOH3_USBH2_OC 0x180
1000 >;
1001 };
1002
1003 pinctrl_usbh2_vbus: usbh2-vbusgrp {
1004 fsl,pins = <
1005 /* USB_HS_HOST2_VBUS_ENABLE */
1006 MX53_PAD_EIM_D31__GPIO3_31 0x0
1007 >;
1008 };
1009
1010 pinctrl_usbh3_vbus: usbh3-vbusgrp {
1011 fsl,pins = <
1012 /* USB_HS_HOST3_VBUS_ENABLE */
1013 MX53_PAD_CSI0_DAT9__GPIO5_27 0x0
1014 >;
1015 };
1016
1017 pinctrl_usbh3: usbh3grp {
1018 fsl,pins = <
1019 /* USB H3 */
1020 MX53_PAD_CSI0_DAT12__USBOH3_USBH3_DATA_0 0x180
1021 MX53_PAD_CSI0_DAT13__USBOH3_USBH3_DATA_1 0x180
1022 MX53_PAD_CSI0_DAT14__USBOH3_USBH3_DATA_2 0x180
1023 MX53_PAD_CSI0_DAT15__USBOH3_USBH3_DATA_3 0x180
1024 MX53_PAD_CSI0_DAT16__USBOH3_USBH3_DATA_4 0x180
1025 MX53_PAD_CSI0_DAT17__USBOH3_USBH3_DATA_5 0x180
1026 MX53_PAD_CSI0_DAT18__USBOH3_USBH3_DATA_6 0x180
1027 MX53_PAD_CSI0_DAT19__USBOH3_USBH3_DATA_7 0x180
1028 MX53_PAD_CSI0_DAT7__USBOH3_USBH3_DIR 0x5
1029 MX53_PAD_CSI0_DAT6__USBOH3_USBH3_CLK 0x180
1030 MX53_PAD_CSI0_DAT5__USBOH3_USBH3_NXT 0x180
1031 MX53_PAD_CSI0_DAT4__USBOH3_USBH3_STP 0x180
1032 MX53_PAD_CSI0_DAT8__USBOH3_USBH3_OC 0x180
1033 >;
1034 };
1035
1036 pinctrl_usb_otg: usbotggrp {
1037 fsl,pins = <
1038 /* USB_OTG_FAULT_N */
1039 MX53_PAD_KEY_COL4__USBOH3_USBOTG_OC 0x180
1040 >;
1041 };
1042};