WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / imx53-ppd.dts
blobbe040b6a02fa8d645e7440228785689527014347
1 /*
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  */
42 /dts-v1/;
44 #include "imx53.dtsi"
45 #include <dt-bindings/input/input.h>
47 / {
48         model = "General Electric CS ONE";
49         compatible = "ge,imx53-cpuvo", "fsl,imx53";
51         aliases {
52                 spi0 = &cspi;
53                 spi1 = &ecspi1;
54                 spi2 = &ecspi2;
55         };
57         chosen {
58                 stdout-path = "serial0:115200n8";
59         };
61         memory@70000000 {
62                 device_type = "memory";
63                 reg = <0x70000000 0x20000000>,
64                       <0xb0000000 0x20000000>;
65         };
67         cko2_11M: sgtl-clock-cko2 {
68                 compatible = "fixed-clock";
69                 #clock-cells = <0>;
70                 clock-frequency = <11289600>;
71         };
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         };
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         };
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         };
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         };
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         };
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         };
135         reg_tsiref: regulator-tsiref {
136                 compatible = "regulator-fixed";
137                 regulator-name = "tsiref";
138                 regulator-min-microvolt = <2500000>;
139                 regulator-max-microvolt = <2500000>;
140                 regulator-always-on;
141         };
143         reg_3v3: regulator-3v3 {
144                 /* TPS54320 */
145                 compatible = "regulator-fixed";
146                 regulator-name = "3V3";
147                 regulator-min-microvolt = <3300000>;
148                 regulator-max-microvolt = <3300000>;
149                 regulator-always-on;
150         };
152         reg_3v3_lcd: regulator-3v3-lcd {
153                 /* MIC2009 */
154                 compatible = "regulator-fixed";
155                 regulator-name = "LCD_3V3";
156                 vin-supply = <&reg_3v3>;
157                 regulator-min-microvolt = <3300000>;
158                 regulator-max-microvolt = <3300000>;
159                 regulator-always-on;
160         };
162         pwm_bl: backlight {
163                 compatible = "pwm-backlight";
164                 pwms = <&pwm2 0 50000>;
165                 brightness-levels = <0 2 5 7 10 12 15 17 20 22 25 28 30 33 35
166                                      38 40 43 45 48 51 53 56 58 61 63 66 68 71
167                                      73 76 79 81 84 86 89 91 94 96 99 102 104
168                                      107 109 112 114 117 119 122 124 127 130
169                                      132 135 137 140 142 145 147 150 153 155
170                                      158 160 163 165 168 170 173 175 178 181
171                                      183 186 188 191 193 196 198 201 204 206
172                                      209 211 214 216 219 221 224 226 229 232
173                                      234 237 239 242 244 247 249 252 255>;
174                 default-brightness-level = <0>;
175                 enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
176                 power-supply = <&reg_3v3_lcd>;
177         };
179         led-controller-1 {
180                 compatible = "pwm-leds";
182                 led-1 {
183                         label = "alarm-brightness";
184                         pwms = <&pwm1 0 100000>;
185                         max-brightness = <255>;
186                 };
187         };
189         led-controller-2 {
190                 compatible = "gpio-leds";
191                 pinctrl-names = "default";
192                 pinctrl-0 = <&pinctrl_alarmled_pins>;
194                 led-2 {
195                         label = "alarm:red";
196                         gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
197                 };
199                 led-3 {
200                         label = "alarm:yellow";
201                         gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>;
202                 };
204                 led-4 {
205                         label = "alarm:blue";
206                         gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
207                 };
209                 led-5 {
210                         label = "alarm:silenced";
211                         gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>;
212                 };
213         };
215         gpio-poweroff {
216                 compatible = "gpio-poweroff";
217                 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
218         };
220         gpio-restart {
221                 compatible = "gpio-restart";
222                 gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
223                 active-delay = <100>;
224                 inactive-delay = <10>;
225                 wait-delay = <100>;
226         };
228         power-gpio-keys {
229                 compatible = "gpio-keys";
231                 power-button {
232                         label = "Power button";
233                         gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
234                         linux,code = <KEY_POWER>;
235                 };
236         };
238         touch-lock-key {
239                 compatible = "gpio-keys";
241                 touch-lock-button {
242                         label = "Touch lock button";
243                         gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
244                         linux,code = <KEY_F12>;
245                 };
246         };
248         usbphy2: usbphy-2 {
249                 compatible = "usb-nop-xceiv";
250                 vcc-supply = <&reg_3v3>;
251                 reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
252                 clock-names = "main_clk";
253                 clock-frequency = <24000000>;
254                 clocks = <&clks IMX5_CLK_CKO2>;
255                 assigned-clocks = <&clks IMX5_CLK_CKO2_SEL>, <&clks IMX5_CLK_OSC>;
256                 assigned-clock-parents = <&clks IMX5_CLK_OSC>;
257         };
259         usbphy3: usbphy-3 {
260                 compatible = "usb-nop-xceiv";
261                 vcc-supply = <&reg_3v3>;
262                 reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
263                 clock-names = "main_clk";
265                 clock-frequency = <24000000>;
266                 clocks = <&clks IMX5_CLK_CKO2>;
267                 assigned-clocks = <&clks IMX5_CLK_CKO2_SEL>, <&clks IMX5_CLK_OSC>;
268                 assigned-clock-parents = <&clks IMX5_CLK_OSC>;
269         };
271         panel-lvds0 {
272                 compatible = "nvd,9128";
273                 power-supply = <&reg_3v3_lcd>;
275                 port {
276                         panel_in_lvds0: endpoint {
277                                 remote-endpoint = <&lvds0_out>;
278                         };
279                 };
280         };
283 &usbphy0 {
284         vcc-supply = <&reg_3v3>;
287 &usbphy1 {
288         vcc-supply = <&reg_3v3>;
291 &audmux {
292         pinctrl-names = "default";
293         pinctrl-0 = <&pinctrl_audmux>;
294         status = "okay";
297 &cpu0 {
298         /* CPU rated to 1GHz, not 1.2GHz as per the default settings */
299         operating-points = <
300                 /* kHz   uV */
301                 166666  850000
302                 400000  900000
303                 800000  1050000
304                 1000000 1200000
305         >;
308 &ecspi1 {
309         pinctrl-names = "default";
310         pinctrl-0 = <&pinctrl_ecspi1>;
311         cs-gpios = <&gpio5 17 GPIO_ACTIVE_LOW
312                     &gpio4 10 GPIO_ACTIVE_LOW
313                     &gpio4 11 GPIO_ACTIVE_LOW
314                     &gpio4 12 GPIO_ACTIVE_LOW>;
315         status = "okay";
317         spidev0: spi@0 {
318                 compatible = "ge,achc";
319                 reg = <0>;
320                 spi-max-frequency = <1000000>;
321         };
323         spidev1: spi@1 {
324                 compatible = "ge,achc";
325                 reg = <1>;
326                 spi-max-frequency = <1000000>;
327         };
329         gpioxra0: gpio@2 {
330                 compatible = "exar,xra1403";
331                 reg = <2>;
332                 gpio-controller;
333                 #gpio-cells = <2>;
334                 spi-max-frequency = <1000000>;
335         };
337         gpioxra1: gpio@3 {
338                 compatible = "exar,xra1403";
339                 reg = <3>;
340                 gpio-controller;
341                 #gpio-cells = <2>;
342                 spi-max-frequency = <1000000>;
343         };
346 &ecspi2 {
347         pinctrl-names = "default";
348         pinctrl-0 = <&pinctrl_ecspi2>;
349         cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
350         status = "okay";
352         da9053@0 {
353                 compatible = "dlg,da9053-aa";
354                 reg = <0>;
355                 interrupt-parent = <&gpio3>;
356                 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
357                 spi-max-frequency = <1000000>;
358                 dlg,tsi-as-adc;
359                 tsiref-supply = <&reg_tsiref>;
361                 regulators {
362                         buck1_reg: buck1 {
363                                 regulator-name = "BUCKCORE";
364                                 regulator-min-microvolt = <500000>;
365                                 regulator-max-microvolt = <2075000>;
366                                 regulator-always-on;
367                         };
369                         buck2_reg: buck2 {
370                                 regulator-name = "BUCKPRO";
371                                 regulator-min-microvolt = <500000>;
372                                 regulator-max-microvolt = <2075000>;
373                                 regulator-always-on;
374                         };
376                         buck3_reg: buck3 {
377                                 regulator-name = "BUCKMEM";
378                                 regulator-min-microvolt = <925000>;
379                                 regulator-max-microvolt = <2500000>;
380                                 regulator-always-on;
381                         };
383                         buck4_reg: buck4 {
384                                 regulator-name = "BUCKPERI";
385                                 regulator-min-microvolt = <1800000>;
386                                 regulator-max-microvolt = <3600000>;
387                                 regulator-always-on;
388                         };
390                         ldo1_reg: ldo1 {
391                                 regulator-name = "ldo1_1v3";
392                                 regulator-min-microvolt = <600000>;
393                                 regulator-max-microvolt = <1800000>;
394                                 regulator-always-on;
395                         };
397                         ldo2_reg: ldo2 {
398                                 regulator-name = "ldo2_1v3";
399                                 regulator-min-microvolt = <600000>;
400                                 regulator-max-microvolt = <1800000>;
401                                 regulator-always-on;
402                         };
404                         ldo3_reg: ldo3 {
405                                 regulator-name = "ldo3_3v3";
406                                 regulator-min-microvolt = <1725000>;
407                                 regulator-max-microvolt = <3300000>;
408                                 regulator-always-on;
409                         };
411                         ldo4_reg: ldo4 {
412                                 regulator-name = "ldo4_2v775";
413                                 regulator-min-microvolt = <1725000>;
414                                 regulator-max-microvolt = <3300000>;
415                                 regulator-always-on;
416                         };
418                         ldo5_reg: ldo5 {
419                                 regulator-name = "ldo5_3v3";
420                                 regulator-min-microvolt = <1200000>;
421                                 regulator-max-microvolt = <3600000>;
422                                 regulator-always-on;
423                         };
425                         ldo6_reg: ldo6 {
426                                 regulator-name = "ldo6_1v3";
427                                 regulator-min-microvolt = <1200000>;
428                                 regulator-max-microvolt = <3600000>;
429                                 regulator-always-on;
430                         };
432                         ldo7_reg: ldo7 {
433                                 regulator-name = "ldo7_2v75";
434                                 regulator-min-microvolt = <1200000>;
435                                 regulator-max-microvolt = <3600000>;
436                                 regulator-always-on;
437                         };
439                         ldo8_reg: ldo8 {
440                                 regulator-name = "ldo8_1v8";
441                                 regulator-min-microvolt = <1200000>;
442                                 regulator-max-microvolt = <3600000>;
443                                 regulator-always-on;
444                         };
446                         ldo9_reg: ldo9 {
447                                 regulator-name = "ldo9_1v5";
448                                 regulator-min-microvolt = <1250000>;
449                                 regulator-max-microvolt = <3650000>;
450                                 regulator-always-on;
451                         };
453                         ldo10_reg: ldo10 {
454                                 regulator-name = "ldo10_1v3";
455                                 regulator-min-microvolt = <1200000>;
456                                 regulator-max-microvolt = <3600000>;
457                                 regulator-always-on;
458                         };
459                 };
460         };
464 &esdhc3 {
465         pinctrl-names = "default";
466         pinctrl-0 = <&pinctrl_esdhc3>;
467         bus-width = <8>;
468         status = "okay";
471 &fec {
472         pinctrl-names = "default";
473         pinctrl-0 = <&pinctrl_fec>;
474         phy-supply = <&reg_3v3>;
475         phy-mode = "rmii";
476         phy-reset-gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
477         status = "okay";
480 &i2c1 {
481         pinctrl-names = "default", "gpio";
482         pinctrl-0 = <&pinctrl_i2c1>;
483         pinctrl-1 = <&pinctrl_i2c1_gpio>;
484         sda-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
485         scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
486         status = "okay";
488         i2c-switch@70 {
489                 compatible = "nxp,pca9547";
490                 #address-cells = <1>;
491                 #size-cells = <0>;
492                 reg = <0x70>;
493                 reset-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
495                 i2c4: i2c@0 {
496                         #address-cells = <1>;
497                         #size-cells = <0>;
498                         reg = <0>;
500                         sgtl5000: codec@a {
501                                 compatible = "fsl,sgtl5000";
502                                 reg = <0xa>;
503                                 #sound-dai-cells = <0>;
504                                 VDDA-supply = <&reg_sgtl5k>;
505                                 VDDIO-supply = <&reg_sgtl5k>;
506                                 clocks = <&cko2_11M>;
507                                 status = "okay";
508                         };
509                 };
511                 i2c5: i2c@1 {
512                         #address-cells = <1>;
513                         #size-cells = <0>;
514                         reg = <1>;
516                         rtc@30 {
517                                compatible = "sii,s35390a";
518                                reg = <0x30>;
519                         };
521                         temp@48 {
522                                 compatible = "ti,tmp112";
523                                 reg = <0x48>;
524                         };
526                         mma8453q: accelerometer@1c {
527                                 compatible = "fsl,mma8453";
528                                 reg = <0x1c>;
529                                 interrupt-parent = <&gpio1>;
530                                 interrupts = <6 IRQ_TYPE_NONE>;
531                                 interrupt-names = "INT1";
532                         };
534                         mpl3115: pressure-sensor@60 {
535                                 compatible = "fsl,mpl3115";
536                                 reg = <0x60>;
537                         };
539                         eeprom: eeprom@50 {
540                                 compatible = "atmel,24c08";
541                                 reg = <0x50>;
542                         };
543                 };
545                 i2c6: i2c@2 {
546                         #address-cells = <1>;
547                         #size-cells = <0>;
548                         reg = <2>;
549                 };
551                 i2c7: i2c@3 {
552                         #address-cells = <1>;
553                         #size-cells = <0>;
554                         reg = <3>;
555                 };
557                 i2c8: i2c@4 {
558                         #address-cells = <1>;
559                         #size-cells = <0>;
560                         reg = <4>;
561                 };
563                 i2c9: i2c@5 {
564                         #address-cells = <1>;
565                         #size-cells = <0>;
566                         reg = <5>;
567                 };
569                 i2c10: i2c@6 {
570                         #address-cells = <1>;
571                         #size-cells = <0>;
572                         reg = <6>;
573                 };
575                 i2c11: i2c@7 {
576                         #address-cells = <1>;
577                         #size-cells = <0>;
578                         reg = <7>;
579                 };
580         };
583 &i2c2 {
584         pinctrl-names = "default", "gpio";
585         pinctrl-0 = <&pinctrl_i2c2>;
586         pinctrl-1 = <&pinctrl_i2c2_gpio>;
587         sda-gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
588         scl-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
589         status = "okay";
591         touchscreen@4b {
592                 compatible = "atmel,maxtouch";
593                 reset-gpio = <&gpio5 19 GPIO_ACTIVE_LOW>;
594                 reg = <0x4b>;
595                 interrupt-parent = <&gpio5>;
596                 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
597         };
600 &i2c3 {
601         pinctrl-names = "default", "gpio";
602         pinctrl-0 = <&pinctrl_i2c3>;
603         pinctrl-1 = <&pinctrl_i2c3_gpio>;
604         sda-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
605         scl-gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
606         status = "okay";
609 &ldb {
610         status = "okay";
612         lvds0: lvds-channel@0 {
613                 status = "okay";
615                 port@2 {
616                         lvds0_out: endpoint {
617                                 remote-endpoint = <&panel_in_lvds0>;
618                         };
619                 };
620         };
623 &pmu {
624         secure-reg-access;
627 &pwm1 {
628         #pwm-cells = <2>;
629         pinctrl-names = "default";
630         pinctrl-0 = <&pinctrl_pwm1>;
631         status = "okay";
634 &pwm2 {
635         #pwm-cells = <2>;
636         pinctrl-names = "default";
637         pinctrl-0 = <&pinctrl_pwm2>;
638         status = "okay";
641 &ssi2 {
642         status = "okay";
645 &uart1 {
646         pinctrl-names = "default";
647         pinctrl-0 = <&pinctrl_uart1>;
648         status = "okay";
651 &uart2 {
652         pinctrl-names = "default";
653         pinctrl-0 = <&pinctrl_uart2>;
654         status = "okay";
657 &uart3 {
658         pinctrl-names = "default";
659         pinctrl-0 = <&pinctrl_uart3>;
660         uart-has-rtscts;
661         status = "okay";
664 &uart4 {
665         pinctrl-names = "default";
666         pinctrl-0 = <&pinctrl_uart4>;
667         status = "okay";
670 &uart5 {
671         pinctrl-names = "default";
672         pinctrl-0 = <&pinctrl_uart5>;
673         status = "okay";
676 &usbotg {
677         dr_mode = "otg";
678         phy_type = "utmi";
679         vbus-supply = <&reg_usb_otg_vbus>;
680         pinctrl-0 = <&pinctrl_usb_otg>;
681         status = "okay";
684 &usbh1 {
685         vbus-supply = <&reg_usb_vbus>;
686         phy_type = "utmi";
687         dr_mode = "host";
688         status = "okay";
691 &usbh2 {
692         pinctrl-names = "default";
693         pinctrl-0 = <&pinctrl_usbh2>;
694         phy_type = "ulpi";
695         dr_mode = "host";
696         fsl,usbphy = <&usbphy2>;
697         vbus-supply = <&reg_usbh2_vbus>;
698         status = "okay";
701 &usbh3 {
702         pinctrl-names = "default";
703         pinctrl-0 = <&pinctrl_usbh3>;
704         phy_type = "ulpi";
705         dr_mode = "host";
706         vbus-supply = <&reg_usbh3_vbus>;
707         fsl,usbphy = <&usbphy3>;
708         status = "okay";
711 &iomuxc {
712         pinctrl-names = "default";
713         pinctrl-0 = <&pinctrl_hog_rev6>;
715         pinctrl_audmux: audmuxgrp {
716                 fsl,pins = <
717                         MX53_PAD_DISP0_DAT19__AUDMUX_AUD5_RXD   0x400
718                         MX53_PAD_DISP0_DAT17__AUDMUX_AUD5_TXD   0x400
719                         MX53_PAD_DISP0_DAT16__AUDMUX_AUD5_TXC   0x400
720                         MX53_PAD_DISP0_DAT18__AUDMUX_AUD5_TXFS  0x400
721                         MX53_PAD_DI0_PIN15__AUDMUX_AUD6_TXC     0x400
722                         MX53_PAD_DI0_PIN3__AUDMUX_AUD6_TXFS     0x400
723                         MX53_PAD_DI0_PIN4__AUDMUX_AUD6_RXD      0x400
724                         MX53_PAD_DI0_PIN2__AUDMUX_AUD6_TXD      0x400
725                 >;
726         };
728         pinctrl_ecspi1: ecspi1grp {
729                 fsl,pins = <
730                         MX53_PAD_DISP0_DAT21__ECSPI1_MOSI       0x400
731                         MX53_PAD_DISP0_DAT22__ECSPI1_MISO       0x400
732                         MX53_PAD_DISP0_DAT20__ECSPI1_SCLK       0x400
733                         /* ECSPI1_SS0, must treat as GPIO for EzPort */
734                         MX53_PAD_DISP0_DAT23__GPIO5_17          0x400
735                         MX53_PAD_KEY_COL2__GPIO4_10             0x0
736                         MX53_PAD_KEY_ROW2__GPIO4_11             0x0
737                         MX53_PAD_KEY_COL3__GPIO4_12             0x0
738                 >;
739         };
741         pinctrl_ecspi2: ecspi2grp {
742                 fsl,pins = <
743                         MX53_PAD_EIM_CS1__ECSPI2_MOSI           0x0
744                         MX53_PAD_EIM_OE__ECSPI2_MISO            0x0
745                         MX53_PAD_EIM_CS0__ECSPI2_SCLK           0x0
746                         MX53_PAD_EIM_RW__GPIO2_26               0x0
747                 >;
748         };
750         pinctrl_esdhc1: esdhc1grp {
751                 fsl,pins = <
752                         MX53_PAD_SD1_DATA0__ESDHC1_DAT0         0x1d5
753                         MX53_PAD_SD1_DATA1__ESDHC1_DAT1         0x1d5
754                         MX53_PAD_SD1_DATA2__ESDHC1_DAT2         0x1d5
755                         MX53_PAD_SD1_DATA3__ESDHC1_DAT3         0x1d5
756                         MX53_PAD_SD1_CMD__ESDHC1_CMD            0x1d5
757                         MX53_PAD_SD1_CLK__ESDHC1_CLK            0x1d5
758                 >;
759         };
761         pinctrl_esdhc3: esdhc3grp {
762                 fsl,pins = <
763                         MX53_PAD_PATA_DATA8__ESDHC3_DAT0        0x1d5
764                         MX53_PAD_PATA_DATA9__ESDHC3_DAT1        0x1d5
765                         MX53_PAD_PATA_DATA10__ESDHC3_DAT2       0x1d5
766                         MX53_PAD_PATA_DATA11__ESDHC3_DAT3       0x1d5
767                         MX53_PAD_PATA_DATA0__ESDHC3_DAT4        0x1d5
768                         MX53_PAD_PATA_DATA1__ESDHC3_DAT5        0x1d5
769                         MX53_PAD_PATA_DATA2__ESDHC3_DAT6        0x1d5
770                         MX53_PAD_PATA_DATA3__ESDHC3_DAT7        0x1d5
771                         MX53_PAD_PATA_RESET_B__ESDHC3_CMD       0x1d5
772                         MX53_PAD_PATA_IORDY__ESDHC3_CLK         0x1d5
773                 >;
774         };
776         pinctrl_fec: fecgrp {
777                 fsl,pins = <
778                         MX53_PAD_FEC_MDC__FEC_MDC               0x0
779                         MX53_PAD_FEC_MDIO__FEC_MDIO             0x0
780                         MX53_PAD_FEC_REF_CLK__FEC_TX_CLK        0x0
781                         MX53_PAD_FEC_RX_ER__FEC_RX_ER           0x0
782                         MX53_PAD_FEC_CRS_DV__FEC_RX_DV          0x0
783                         MX53_PAD_FEC_RXD1__FEC_RDATA_1          0x0
784                         MX53_PAD_FEC_RXD0__FEC_RDATA_0          0x0
785                         MX53_PAD_FEC_TX_EN__FEC_TX_EN           0x0
786                         MX53_PAD_FEC_TXD1__FEC_TDATA_1          0x0
787                         MX53_PAD_FEC_TXD0__FEC_TDATA_0          0x0
788                 >;
789         };
791         pinctrl_hog_rev6: hoggrp {
792                 fsl,pins = <
793                         /* CKO2 */
794                         MX53_PAD_GPIO_3__CCM_CLKO2              0x4
795                         /* DEFIB_SYNC_MARKER_IN_IRQ */
796                         MX53_PAD_GPIO_5__GPIO1_5                0x0
797                         /* ACCELEROMETER_DATA_RDY_N */
798                         MX53_PAD_GPIO_6__GPIO1_6                0x0
799                         /* TEMPERATURE_ALERT_N */
800                         MX53_PAD_GPIO_7__GPIO1_7                0x0
801                         /* BAROMETRIC_PRESSURE_DATA_RDY_N */
802                         MX53_PAD_GPIO_8__GPIO1_8                0x0
803                         /* DOCKING_I2C_INTERFACE_IRQ_N */
804                         MX53_PAD_PATA_DATA4__GPIO2_4            0x0
805                         /* PWR_OUT_TO_DOCK_FAULT_N */
806                         MX53_PAD_PATA_DATA5__GPIO2_5            0x0
807                         /* ENABLE_PWR_TO_DOCK_N */
808                         MX53_PAD_PATA_DATA6__GPIO2_6            0x0
809                         /* HOST_CONTROLLED_RESET_TO_DOCKING_CONNECTOR_N */
810                         MX53_PAD_PATA_DATA7__GPIO2_7            0x0
811                         /* REMOTE_ON_REQUEST_FROM_DOCKING_CONNECTOR_IS_ACTIVE_N */
812                         MX53_PAD_PATA_DATA12__GPIO2_12          0x0
813                         /* DOCK_PRESENT_N */
814                         MX53_PAD_PATA_DATA13__GPIO2_13          0x0
815                         /* ECG_MARKER_IN_FROM_DOCKING_CONNECTOR_IRQ */
816                         MX53_PAD_PATA_DATA14__GPIO2_14          0x0
817                         /* ENABLE_ECG_MARKER_INTERFACE_TO_DOCKING_CONNECTOR */
818                         MX53_PAD_PATA_DATA15__GPIO2_15          0x0
819                         /* RESET_IMX535_ETHERNET_PHY_N */
820                         MX53_PAD_EIM_A22__GPIO2_16              0x0
821                         /* ENABLE_PWR_TO_LCD_AND_UI_INTERFACE */
822                         MX53_PAD_EIM_A21__GPIO2_17              0x0
823                         /* RESET_I2C1_BUS_SEGMENT_MUX_N */
824                         MX53_PAD_EIM_A20__GPIO2_18              0x0
825                         /* RESET_IMX535_USB_HOST3_PHY_N */
826                         MX53_PAD_EIM_A19__GPIO2_19              0x0
827                         /* ESDHC3_EMMC_NAND_RST_N */
828                         MX53_PAD_EIM_A18__GPIO2_20              0x0
829                         /* LCD_AND_UI_INTERFACE_PWR_FAULT_N */
830                         MX53_PAD_EIM_A17__GPIO2_21              0x0
831                         /* POWER_DOWN_LVDS0_DESERIALIZER_N */
832                         MX53_PAD_EIM_A16__GPIO2_22              0x0
833                         /* POWER_DOWN_LVDS1_DESERIALIZER_N */
834                         MX53_PAD_EIM_LBA__GPIO2_27              0x0
835                         /* RESET_DP0_TRANSMITTER_N */
836                         MX53_PAD_EIM_EB0__GPIO2_28              0x0
837                         /* RESET_DP1_TRANSMITTER_N */
838                         MX53_PAD_EIM_EB1__GPIO2_29              0x0
839                         /* ENABLE_SPDIF_AUDIO_TO_DP0 */
840                         MX53_PAD_EIM_DA0__GPIO3_0               0x0
841                         /* ENABLE_SPDIF_AUDIO_TO_DP1 */
842                         MX53_PAD_EIM_DA1__GPIO3_1               0x0
843                         /* LVDS1_MUX_CTRL */
844                         MX53_PAD_EIM_DA2__GPIO3_2               0x0
845                         /* LVDS0_MUX_CTRL */
846                         MX53_PAD_EIM_DA3__GPIO3_3               0x0
847                         /* DP1_TRANSMITTER_IRQ */
848                         MX53_PAD_EIM_DA4__GPIO3_4               0x0
849                         /* DP0_TRANSMITTER_IRQ */
850                         MX53_PAD_EIM_DA5__GPIO3_5               0x0
851                         /* USB_RESET_N */
852                         MX53_PAD_EIM_DA6__GPIO3_6               0x0
853                         /* ENABLE_BATTERY_CHARGER */
854                         MX53_PAD_EIM_DA7__GPIO3_7               0x0
855                         /* SOFTWARE_CONTROLLED_PWR_CYCLE */
856                         MX53_PAD_EIM_DA8__GPIO3_8               0x0
857                         /* SOFTWARE_CONTROLLED_POWERDOWN */
858                         MX53_PAD_EIM_DA9__GPIO3_9               0x0
859                         /* DC_PWR_IN_OK */
860                         MX53_PAD_EIM_DA10__GPIO3_10             0x0
861                         /* BATT_PRESENT_N */
862                         MX53_PAD_EIM_DA11__GPIO3_11             0xe4
863                         /* PMIC_IRQ_N */
864                         MX53_PAD_EIM_DA12__GPIO3_12             0x0
865                         /* PMIC_VDD_FAULT_STATUS_N */
866                         MX53_PAD_EIM_DA13__GPIO3_13             0x0
867                         /* IMX535_ETHERNET_PHY_STATUS_IRQ_N */
868                         MX53_PAD_EIM_DA14__GPIO3_14             0x0
869                         /* NOT USED - AVAILABLE 3.3V GPIO */
870                         MX53_PAD_EIM_DA15__GPIO3_15             0x0
871                         /* NOT USED - AVAILABLE 3.3V GPIO */
872                         MX53_PAD_EIM_D22__GPIO3_22              0x0
873                         /* NOT USED - AVAILABLE 3.3V GPIO */
874                         MX53_PAD_EIM_D24__GPIO3_24              0x0
875                         /* NBP_PUMP_VALVE_PWR_ENABLE */
876                         MX53_PAD_EIM_D25__GPIO3_25              0x0
877                         /* NIBP_RESET_N */
878                         MX53_PAD_EIM_D26__GPIO3_26              0x0
879                         /* LATCHED_OVERPRESSURE_N */
880                         MX53_PAD_EIM_D27__GPIO3_27              0x0
881                         /* NBP_SBWTCLK */
882                         MX53_PAD_EIM_D29__GPIO3_29              0x0
883                         /* ENABLE_WIFI_MODULE */
884                         MX53_PAD_GPIO_11__GPIO4_1               0x400
885                         /* WIFI_MODULE_IRQ_N */
886                         MX53_PAD_GPIO_12__GPIO4_2               0x400
887                         /* ENABLE_BLUETOOTH_MODULE */
888                         MX53_PAD_GPIO_13__GPIO4_3               0x400
889                         /* RESET_IMX535_USB_HOST2_PHY_N */
890                         MX53_PAD_GPIO_14__GPIO4_4               0x400
891                         /* ONKEY_IS_DEPRESSED */
892                         MX53_PAD_KEY_ROW3__GPIO4_13             0x0
893                         /* UNUSED_GPIO_TO_ALARM_LIGHT_BOARD */
894                         MX53_PAD_EIM_WAIT__GPIO5_0              0x0
895                         /* DISPLAY_LOCK_BUTTON_IS_DEPRESSED_N */
896                         MX53_PAD_EIM_A25__GPIO5_2               0x0
897                         /* I2C_PCAP_TOUCHSCREEN_IRQ_N */
898                         MX53_PAD_EIM_A24__GPIO5_4               0x0
899                         /* NOT USED - AVAILABLE 1.8V GPIO */
900                         MX53_PAD_DISP0_DAT13__GPIO5_7           0x400
901                         /* NOT USED - AVAILABLE 1.8V GPIO */
902                         MX53_PAD_DISP0_DAT14__GPIO5_8           0x400
903                         /* NOT USED - AVAILABLE 1.8V GPIO */
904                         MX53_PAD_DISP0_DAT15__GPIO5_9           0x400
905                         /* HOST_CONTROLLED_RESET_TO_LCD_N */
906                         MX53_PAD_CSI0_PIXCLK__GPIO5_18          0x0
907                         /* HOST_CONTROLLED_RESET_TO_PCAP_N */
908                         MX53_PAD_CSI0_MCLK__GPIO5_19            0x0
909                         /* LR_SCAN_CTRL */
910                         MX53_PAD_CSI0_DATA_EN__GPIO5_20         0x0
911                         /* UD_SCAN_CTRL */
912                         MX53_PAD_CSI0_VSYNC__GPIO5_21           0x0
913                         /* DATA_WIDTH_CTRL */
914                         MX53_PAD_CSI0_DAT10__GPIO5_28           0x0
915                         /* BACKLIGHT_ENABLE */
916                         MX53_PAD_CSI0_DAT11__GPIO5_29           0x0
917                         /* MED_USB_PORT_1_HOST_SELECT */
918                         MX53_PAD_EIM_A23__GPIO6_6               0x0
919                         /* MED_USB_PORT_2_HOST_SELECT */
920                         MX53_PAD_NANDF_CLE__GPIO6_7             0x0
921                         /* MED_USB_PORT_3_HOST_SELECT */
922                         MX53_PAD_NANDF_ALE__GPIO6_8             0x0
923                         /* MED_USB_PORT_4_HOST_SELECT */
924                         MX53_PAD_NANDF_WP_B__GPIO6_9            0x0
925                         /* MED_USB_PORT_5_HOST_SELECT */
926                         MX53_PAD_NANDF_RB0__GPIO6_10            0x0
927                         /* MED_USB_PORT_6_HOST_SELECT */
928                         MX53_PAD_NANDF_CS0__GPIO6_11            0x0
929                         /* MED_USB_PORT_7_HOST_SELECT */
930                         MX53_PAD_NANDF_WE_B__GPIO6_12           0x0
931                         /* MED_USB_PORT_8_HOST_SELECT */
932                         MX53_PAD_NANDF_RE_B__GPIO6_13           0x0
933                         /* MED_USB_PORT_TO_IMX_SELECT_0 */
934                         MX53_PAD_NANDF_CS1__GPIO6_14            0x0
935                         /* MED_USB_PORT_TO_IMX_SELECT_1 */
936                         MX53_PAD_NANDF_CS2__GPIO6_15            0x0
937                         /* MED_USB_PORT_TO_IMX_SELECT_2 */
938                         MX53_PAD_NANDF_CS3__GPIO6_16            0x0
939                         /* POWER_AND_BOOT_STATUS_INDICATOR */
940                         MX53_PAD_PATA_INTRQ__GPIO7_2            0x1e4
941                         /* RUNNING_ON_BATTERY_INDICATOR_GREEN */
942                         MX53_PAD_GPIO_16__GPIO7_11              0x0
943                         /* BATTERY_STATUS_INDICATOR_AMBER */
944                         MX53_PAD_GPIO_17__GPIO7_12              0x0
945                 >;
946         };
948         pinctrl_i2c1: i2c1grp {
949                 fsl,pins = <
950                         MX53_PAD_EIM_D21__I2C1_SCL              0x400001e4
951                         MX53_PAD_EIM_D28__I2C1_SDA              0x400001e4
952                 >;
953         };
955         pinctrl_i2c1_gpio: i2c1gpiogrp {
956                 fsl,pins = <
957                         MX53_PAD_EIM_D28__GPIO3_28              0x1e4
958                         MX53_PAD_EIM_D21__GPIO3_21              0x1e4
959                 >;
960         };
962         pinctrl_i2c2: i2c2grp {
963                 fsl,pins = <
964                         MX53_PAD_EIM_EB2__I2C2_SCL              0x400001e4
965                         MX53_PAD_EIM_D16__I2C2_SDA              0x400001e4
966                 >;
967         };
969         pinctrl_i2c2_gpio: i2c2gpiogrp {
970                 fsl,pins = <
971                         MX53_PAD_EIM_D16__GPIO3_16              0x1e4
972                         MX53_PAD_EIM_EB2__GPIO2_30              0x1e4
973                 >;
974         };
976         pinctrl_i2c3: i2c3grp {
977                 fsl,pins = <
978                         MX53_PAD_EIM_D17__I2C3_SCL              0x400001e4
979                         MX53_PAD_EIM_D18__I2C3_SDA              0x400001e4
980                 >;
981         };
983         pinctrl_i2c3_gpio: i2c3gpiogrp {
984                 fsl,pins = <
985                         MX53_PAD_EIM_D18__GPIO3_18              0x1e4
986                         MX53_PAD_EIM_D17__GPIO3_17              0x1e4
987                 >;
988         };
990         pinctrl_pwm1: pwm1grp {
991                 fsl,pins = <
992                         MX53_PAD_GPIO_9__PWM1_PWMO              0x5
993                 >;
994         };
996         pinctrl_pwm2: pwm2grp {
997                 fsl,pins = <
998                         MX53_PAD_DISP0_DAT9__PWM2_PWMO          0x5
999                 >;
1000         };
1002         pinctrl_uart1: uart1grp {
1003                 fsl,pins = <
1004                         MX53_PAD_PATA_DIOW__UART1_TXD_MUX       0x1e4
1005                         MX53_PAD_PATA_DMACK__UART1_RXD_MUX      0x1e4
1006                 >;
1007         };
1009         pinctrl_uart2: uart2grp {
1010                 fsl,pins = <
1011                         MX53_PAD_PATA_DMARQ__UART2_TXD_MUX      0x1e4
1012                         MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX  0x1e4
1013                 >;
1014         };
1016         pinctrl_uart3: uart3grp {
1017                 fsl,pins = <
1018                         MX53_PAD_PATA_CS_0__UART3_TXD_MUX       0x1e4
1019                         MX53_PAD_PATA_CS_1__UART3_RXD_MUX       0x1e4
1020                         MX53_PAD_EIM_D23__UART3_CTS             0x1e4
1021                         MX53_PAD_EIM_EB3__UART3_RTS             0x1e4
1022                 >;
1023         };
1025         pinctrl_uart4: uart4grp {
1026                 fsl,pins = <
1027                         MX53_PAD_KEY_COL0__UART4_TXD_MUX        0x1e4
1028                         MX53_PAD_KEY_ROW0__UART4_RXD_MUX        0x1e4
1029                 >;
1030         };
1032         pinctrl_uart5: uart5grp {
1033                 fsl,pins = <
1034                         MX53_PAD_KEY_COL1__UART5_TXD_MUX        0x1e4
1035                         MX53_PAD_KEY_ROW1__UART5_RXD_MUX        0x1e4
1036                 >;
1037         };
1039         pinctrl_usb_otg_vbus: usb-otg-vbusgrp {
1040                 fsl,pins = <
1041                         /* USB_HS_OTG_VBUS_ENABLE */
1042                         MX53_PAD_KEY_ROW4__GPIO4_15             0x1c4
1043                 >;
1044         };
1046         pinctrl_usbh2: usbh2grp {
1047                 fsl,pins = <
1048                         /* USB H2 */
1049                         MX53_PAD_DISP0_DAT0__USBOH3_USBH2_DATA_0 0x180
1050                         MX53_PAD_DISP0_DAT1__USBOH3_USBH2_DATA_1 0x180
1051                         MX53_PAD_DISP0_DAT2__USBOH3_USBH2_DATA_2 0x180
1052                         MX53_PAD_DISP0_DAT3__USBOH3_USBH2_DATA_3 0x180
1053                         MX53_PAD_DISP0_DAT4__USBOH3_USBH2_DATA_4 0x180
1054                         MX53_PAD_DISP0_DAT5__USBOH3_USBH2_DATA_5 0x180
1055                         MX53_PAD_DISP0_DAT6__USBOH3_USBH2_DATA_6 0x180
1056                         MX53_PAD_DISP0_DAT7__USBOH3_USBH2_DATA_7 0x180
1057                         MX53_PAD_DISP0_DAT10__USBOH3_USBH2_STP   0x180
1058                         MX53_PAD_DISP0_DAT11__USBOH3_USBH2_NXT   0x180
1059                         MX53_PAD_DISP0_DAT12__USBOH3_USBH2_CLK   0x180
1060                         MX53_PAD_DI0_DISP_CLK__USBOH3_USBH2_DIR  0x5
1061                         MX53_PAD_EIM_D30__USBOH3_USBH2_OC        0x180
1062                 >;
1063         };
1065         pinctrl_usbh2_vbus: usbh2-vbusgrp {
1066                 fsl,pins = <
1067                         /* USB_HS_HOST2_VBUS_ENABLE */
1068                         MX53_PAD_EIM_D31__GPIO3_31              0x0
1069                 >;
1070         };
1072         pinctrl_usbh3_vbus: usbh3-vbusgrp {
1073                 fsl,pins = <
1074                         /* USB_HS_HOST3_VBUS_ENABLE */
1075                         MX53_PAD_CSI0_DAT9__GPIO5_27            0x0
1076                 >;
1077         };
1079         pinctrl_usbh3: usbh3grp {
1080                 fsl,pins = <
1081                         /* USB H3 */
1082                         MX53_PAD_CSI0_DAT12__USBOH3_USBH3_DATA_0 0x180
1083                         MX53_PAD_CSI0_DAT13__USBOH3_USBH3_DATA_1 0x180
1084                         MX53_PAD_CSI0_DAT14__USBOH3_USBH3_DATA_2 0x180
1085                         MX53_PAD_CSI0_DAT15__USBOH3_USBH3_DATA_3 0x180
1086                         MX53_PAD_CSI0_DAT16__USBOH3_USBH3_DATA_4 0x180
1087                         MX53_PAD_CSI0_DAT17__USBOH3_USBH3_DATA_5 0x180
1088                         MX53_PAD_CSI0_DAT18__USBOH3_USBH3_DATA_6 0x180
1089                         MX53_PAD_CSI0_DAT19__USBOH3_USBH3_DATA_7 0x180
1090                         MX53_PAD_CSI0_DAT7__USBOH3_USBH3_DIR     0x5
1091                         MX53_PAD_CSI0_DAT6__USBOH3_USBH3_CLK     0x180
1092                         MX53_PAD_CSI0_DAT5__USBOH3_USBH3_NXT     0x180
1093                         MX53_PAD_CSI0_DAT4__USBOH3_USBH3_STP     0x180
1094                         MX53_PAD_CSI0_DAT8__USBOH3_USBH3_OC      0x180
1095                 >;
1096         };
1098         pinctrl_usb_otg: usbotggrp {
1099                 fsl,pins = <
1100                         /* USB_OTG_FAULT_N */
1101                         MX53_PAD_KEY_COL4__USBOH3_USBOTG_OC     0x180
1102                 >;
1103         };
1105         pinctrl_alarmled_pins: qmx6alarmledgrp {
1106                 fsl,pins = <
1107                         /* ACTIVATE_ALARM_LIGHT_RED */
1108                         MX53_PAD_PATA_DIOR__GPIO7_3             0x0
1109                         /* ACTIVATE_ALARM_LIGHT_YELLOW */
1110                         MX53_PAD_PATA_DA_1__GPIO7_7             0x0
1111                         /* ACTIVATE_ALARM_LIGHT_CYAN */
1112                         MX53_PAD_PATA_DA_2__GPIO7_8             0x0
1113                         /* AUDIO_ALARMS_SILENCED_INDICATOR */
1114                         MX53_PAD_GPIO_18__GPIO7_13              0x0
1115                 >;
1116         };