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