Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / imx6qdl-sabreauto.dtsi
blobafe477f3298462e1c278dc2a56b4667fee50b7a2
1 // SPDX-License-Identifier: GPL-2.0+
2 //
3 // Copyright 2012 Freescale Semiconductor, Inc.
4 // Copyright 2011 Linaro Ltd.
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
9 / {
10         chosen {
11                 stdout-path = &uart4;
12         };
14         memory@10000000 {
15                 device_type = "memory";
16                 reg = <0x10000000 0x80000000>;
17         };
19         leds {
20                 compatible = "gpio-leds";
21                 pinctrl-names = "default";
22                 pinctrl-0 = <&pinctrl_gpio_leds>;
24                 user {
25                         label = "debug";
26                         gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
27                 };
28         };
30         gpio-keys {
31                 compatible = "gpio-keys";
32                 pinctrl-names = "default";
33                 pinctrl-0 = <&pinctrl_gpio_keys>;
35                 home {
36                         label = "Home";
37                         gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
38                         linux,code = <KEY_HOME>;
39                         wakeup-source;
40                 };
42                 back {
43                         label = "Back";
44                         gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
45                         linux,code = <KEY_BACK>;
46                         wakeup-source;
47                 };
49                 program {
50                         label = "Program";
51                         gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
52                         linux,code = <KEY_PROGRAM>;
53                         wakeup-source;
54                 };
56                 volume-up {
57                         label = "Volume Up";
58                         gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
59                         linux,code = <KEY_VOLUMEUP>;
60                         wakeup-source;
61                 };
63                 volume-down {
64                         label = "Volume Down";
65                         gpios = <&gpio5 14 GPIO_ACTIVE_LOW>;
66                         linux,code = <KEY_VOLUMEDOWN>;
67                         wakeup-source;
68                 };
69         };
71         clocks {
72                 codec_osc: anaclk2 {
73                         compatible = "fixed-clock";
74                         #clock-cells = <0>;
75                         clock-frequency = <24576000>;
76                 };
77         };
79         reg_audio: regulator-audio {
80                 compatible = "regulator-fixed";
81                 regulator-name = "cs42888_supply";
82                 regulator-min-microvolt = <3300000>;
83                 regulator-max-microvolt = <3300000>;
84                 regulator-always-on;
85         };
87         reg_usb_h1_vbus: regulator-usb-h1-vbus {
88                 compatible = "regulator-fixed";
89                 regulator-name = "usb_h1_vbus";
90                 regulator-min-microvolt = <5000000>;
91                 regulator-max-microvolt = <5000000>;
92                 gpio = <&max7310_b 7 GPIO_ACTIVE_HIGH>;
93                 enable-active-high;
94         };
96         reg_usb_otg_vbus: regulator-usb-otg-vbus {
97                 compatible = "regulator-fixed";
98                 regulator-name = "usb_otg_vbus";
99                 regulator-min-microvolt = <5000000>;
100                 regulator-max-microvolt = <5000000>;
101                 gpio = <&max7310_c 1 GPIO_ACTIVE_HIGH>;
102                 enable-active-high;
103         };
105         reg_can_en: regulator-can-en {
106                 compatible = "regulator-fixed";
107                 regulator-name = "can-en";
108                 regulator-min-microvolt = <3300000>;
109                 regulator-max-microvolt = <3300000>;
110                 gpio = <&max7310_b 6 GPIO_ACTIVE_HIGH>;
111                 enable-active-high;
112         };
114         reg_can_stby: regulator-can-stby {
115                 compatible = "regulator-fixed";
116                 regulator-name = "can-stby";
117                 regulator-min-microvolt = <3300000>;
118                 regulator-max-microvolt = <3300000>;
119                 gpio = <&max7310_b 5 GPIO_ACTIVE_HIGH>;
120                 enable-active-high;
121                 vin-supply = <&reg_can_en>;
122         };
124         sound-cs42888 {
125                 compatible = "fsl,imx6-sabreauto-cs42888",
126                         "fsl,imx-audio-cs42888";
127                 model = "imx-cs42888";
128                 audio-cpu = <&esai>;
129                 audio-asrc = <&asrc>;
130                 audio-codec = <&codec>;
131                 audio-routing =
132                         "Line Out Jack", "AOUT1L",
133                         "Line Out Jack", "AOUT1R",
134                         "Line Out Jack", "AOUT2L",
135                         "Line Out Jack", "AOUT2R",
136                         "Line Out Jack", "AOUT3L",
137                         "Line Out Jack", "AOUT3R",
138                         "Line Out Jack", "AOUT4L",
139                         "Line Out Jack", "AOUT4R",
140                         "AIN1L", "Line In Jack",
141                         "AIN1R", "Line In Jack",
142                         "AIN2L", "Line In Jack",
143                         "AIN2R", "Line In Jack";
144         };
146         sound-spdif {
147                 compatible = "fsl,imx-audio-spdif",
148                            "fsl,imx-sabreauto-spdif";
149                 model = "imx-spdif";
150                 spdif-controller = <&spdif>;
151                 spdif-in;
152         };
154         backlight {
155                 compatible = "pwm-backlight";
156                 pwms = <&pwm3 0 5000000>;
157                 brightness-levels = <0 4 8 16 32 64 128 255>;
158                 default-brightness-level = <7>;
159                 status = "okay";
160         };
162         i2cmux {
163                 compatible = "i2c-mux-gpio";
164                 #address-cells = <1>;
165                 #size-cells = <0>;
166                 pinctrl-names = "default";
167                 pinctrl-0 = <&pinctrl_i2c3mux>;
168                 mux-gpios = <&gpio5 4 0>;
169                 i2c-parent = <&i2c3>;
170                 idle-state = <0>;
172                 i2c@1 {
173                         #address-cells = <1>;
174                         #size-cells = <0>;
175                         reg = <1>;
177                         adv7180: camera@21 {
178                                 compatible = "adi,adv7180";
179                                 reg = <0x21>;
180                                 powerdown-gpios = <&max7310_b 2 GPIO_ACTIVE_LOW>;
181                                 interrupt-parent = <&gpio1>;
182                                 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
184                                 port {
185                                         adv7180_to_ipu1_csi0_mux: endpoint {
186                                                 remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
187                                                 bus-width = <8>;
188                                         };
189                                 };
190                         };
192                         max7310_a: gpio@30 {
193                                 compatible = "maxim,max7310";
194                                 reg = <0x30>;
195                                 gpio-controller;
196                                 #gpio-cells = <2>;
197                         };
199                         max7310_b: gpio@32 {
200                                 compatible = "maxim,max7310";
201                                 reg = <0x32>;
202                                 gpio-controller;
203                                 #gpio-cells = <2>;
204                                 pinctrl-names = "default";
205                                 pinctrl-0 = <&pinctrl_max7310>;
206                                 reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
207                         };
209                         max7310_c: gpio@34 {
210                                 compatible = "maxim,max7310";
211                                 reg = <0x34>;
212                                 gpio-controller;
213                                 #gpio-cells = <2>;
214                         };
216                         light-sensor@44 {
217                                 compatible = "isil,isl29023";
218                                 reg = <0x44>;
219                                 interrupt-parent = <&gpio5>;
220                                 interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
221                         };
223                         magnetometer@e {
224                                 compatible = "fsl,mag3110";
225                                 reg = <0x0e>;
226                                 interrupt-parent = <&gpio2>;
227                                 interrupts = <29 IRQ_TYPE_EDGE_RISING>;
228                         };
230                         accelerometer@1c {
231                                 compatible = "fsl,mma8451";
232                                 reg = <0x1c>;
233                                 pinctrl-names = "default";
234                                 pinctrl-0 = <&pinctrl_mma8451_int>;
235                                 interrupt-parent = <&gpio6>;
236                                 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
237                         };
238                 };
239         };
242 &ipu1_csi0_from_ipu1_csi0_mux {
243         bus-width = <8>;
246 &ipu1_csi0_mux_from_parallel_sensor {
247         remote-endpoint = <&adv7180_to_ipu1_csi0_mux>;
248         bus-width = <8>;
251 &ipu1_csi0 {
252         pinctrl-names = "default";
253         pinctrl-0 = <&pinctrl_ipu1_csi0>;
256 &clks {
257         assigned-clocks = <&clks IMX6QDL_PLL4_BYPASS_SRC>,
258                           <&clks IMX6QDL_PLL4_BYPASS>,
259                           <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
260                           <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
261                           <&clks IMX6QDL_CLK_PLL4_POST_DIV>;
262         assigned-clock-parents = <&clks IMX6QDL_CLK_LVDS2_IN>,
263                                  <&clks IMX6QDL_PLL4_BYPASS_SRC>,
264                                  <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
265                                  <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
266         assigned-clock-rates = <0>, <0>, <0>, <0>, <24576000>;
269 &ecspi1 {
270         cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
271         pinctrl-names = "default";
272         pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
273         status = "disabled"; /* pin conflict with WEIM NOR */
275         flash: m25p80@0 {
276                 #address-cells = <1>;
277                 #size-cells = <1>;
278                 compatible = "st,m25p32", "jedec,spi-nor";
279                 spi-max-frequency = <20000000>;
280                 reg = <0>;
281         };
284 &esai {
285         pinctrl-names = "default";
286         pinctrl-0 = <&pinctrl_esai>;
287         assigned-clocks = <&clks IMX6QDL_CLK_ESAI_SEL>,
288                           <&clks IMX6QDL_CLK_ESAI_EXTAL>;
289         assigned-clock-parents = <&clks IMX6QDL_CLK_PLL4_AUDIO_DIV>;
290         assigned-clock-rates = <0>, <24576000>;
291         status = "okay";
294 &fec {
295         pinctrl-names = "default";
296         pinctrl-0 = <&pinctrl_enet>;
297         phy-mode = "rgmii-id";
298         interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
299                               <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
300         fsl,err006687-workaround-present;
301         status = "okay";
304 &can1 {
305         pinctrl-names = "default";
306         pinctrl-0 = <&pinctrl_flexcan1>;
307         xceiver-supply = <&reg_can_stby>;
308         status = "disabled"; /* pin conflict with fec */
311 &can2 {
312         pinctrl-names = "default";
313         pinctrl-0 = <&pinctrl_flexcan2>;
314         xceiver-supply = <&reg_can_stby>;
315         status = "okay";
318 &gpmi {
319         pinctrl-names = "default";
320         pinctrl-0 = <&pinctrl_gpmi_nand>;
321         status = "okay";
324 &hdmi {
325         pinctrl-names = "default";
326         pinctrl-0 = <&pinctrl_hdmi_cec>;
327         ddc-i2c-bus = <&i2c2>;
328         status = "okay";
331 &i2c2 {
332         clock-frequency = <100000>;
333         pinctrl-names = "default";
334         pinctrl-0 = <&pinctrl_i2c2>;
335         status = "okay";
337         pmic: pfuze100@8 {
338                 compatible = "fsl,pfuze100";
339                 reg = <0x08>;
341                 regulators {
342                         sw1a_reg: sw1ab {
343                                 regulator-min-microvolt = <300000>;
344                                 regulator-max-microvolt = <1875000>;
345                                 regulator-boot-on;
346                                 regulator-always-on;
347                                 regulator-ramp-delay = <6250>;
348                         };
350                         sw1c_reg: sw1c {
351                                 regulator-min-microvolt = <300000>;
352                                 regulator-max-microvolt = <1875000>;
353                                 regulator-boot-on;
354                                 regulator-always-on;
355                                 regulator-ramp-delay = <6250>;
356                         };
358                         sw2_reg: sw2 {
359                                 regulator-min-microvolt = <800000>;
360                                 regulator-max-microvolt = <3300000>;
361                                 regulator-boot-on;
362                                 regulator-always-on;
363                         };
365                         sw3a_reg: sw3a {
366                                 regulator-min-microvolt = <400000>;
367                                 regulator-max-microvolt = <1975000>;
368                                 regulator-boot-on;
369                                 regulator-always-on;
370                         };
372                         sw3b_reg: sw3b {
373                                 regulator-min-microvolt = <400000>;
374                                 regulator-max-microvolt = <1975000>;
375                                 regulator-boot-on;
376                                 regulator-always-on;
377                         };
379                         sw4_reg: sw4 {
380                                 regulator-min-microvolt = <800000>;
381                                 regulator-max-microvolt = <3300000>;
382                         };
384                         swbst_reg: swbst {
385                                 regulator-min-microvolt = <5000000>;
386                                 regulator-max-microvolt = <5150000>;
387                         };
389                         snvs_reg: vsnvs {
390                                 regulator-min-microvolt = <1000000>;
391                                 regulator-max-microvolt = <3000000>;
392                                 regulator-boot-on;
393                                 regulator-always-on;
394                         };
396                         vref_reg: vrefddr {
397                                 regulator-boot-on;
398                                 regulator-always-on;
399                         };
401                         vgen1_reg: vgen1 {
402                                 regulator-min-microvolt = <800000>;
403                                 regulator-max-microvolt = <1550000>;
404                         };
406                         vgen2_reg: vgen2 {
407                                 regulator-min-microvolt = <800000>;
408                                 regulator-max-microvolt = <1550000>;
409                         };
411                         vgen3_reg: vgen3 {
412                                 regulator-min-microvolt = <1800000>;
413                                 regulator-max-microvolt = <3300000>;
414                         };
416                         vgen4_reg: vgen4 {
417                                 regulator-min-microvolt = <1800000>;
418                                 regulator-max-microvolt = <3300000>;
419                                 regulator-always-on;
420                         };
422                         vgen5_reg: vgen5 {
423                                 regulator-min-microvolt = <1800000>;
424                                 regulator-max-microvolt = <3300000>;
425                                 regulator-always-on;
426                         };
428                         vgen6_reg: vgen6 {
429                                 regulator-min-microvolt = <1800000>;
430                                 regulator-max-microvolt = <3300000>;
431                                 regulator-always-on;
432                         };
433                 };
434         };
436         codec: cs42888@48 {
437                 compatible = "cirrus,cs42888";
438                 reg = <0x48>;
439                 clocks = <&codec_osc>;
440                 clock-names = "mclk";
441                 VA-supply = <&reg_audio>;
442                 VD-supply = <&reg_audio>;
443                 VLS-supply = <&reg_audio>;
444                 VLC-supply = <&reg_audio>;
445         };
447         touchscreen@4 {
448                 compatible = "eeti,egalax_ts";
449                 reg = <0x04>;
450                 pinctrl-names = "default";
451                 pinctrl-0 = <&pinctrl_egalax_int>;
452                 interrupt-parent = <&gpio2>;
453                 interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
454                 wakeup-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
455         };
458 &i2c3 {
459         pinctrl-names = "default";
460         pinctrl-0 = <&pinctrl_i2c3>;
461         status = "okay";
464 &iomuxc {
465         pinctrl-names = "default";
466         pinctrl-0 = <&pinctrl_hog>;
468         imx6qdl-sabreauto {
469                 pinctrl_hog: hoggrp {
470                         fsl,pins = <
471                                 MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x80000000
472                                 MX6QDL_PAD_SD2_DAT2__GPIO1_IO13  0x80000000
473                                 MX6QDL_PAD_GPIO_18__SD3_VSELECT 0x17059
474                         >;
475                 };
477                 pinctrl_ecspi1: ecspi1grp {
478                         fsl,pins = <
479                                 MX6QDL_PAD_EIM_D17__ECSPI1_MISO         0x100b1
480                                 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI         0x100b1
481                                 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK         0x100b1
482                         >;
483                 };
485                 pinctrl_ecspi1_cs: ecspi1cs {
486                         fsl,pins = <
487                                 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
488                         >;
489                 };
491                 pinctrl_egalax_int: egalax-intgrp {
492                         fsl,pins = <
493                                 MX6QDL_PAD_EIM_EB0__GPIO2_IO28          0xb0b1
494                         >;
495                 };
497                 pinctrl_enet: enetgrp {
498                         fsl,pins = <
499                                 MX6QDL_PAD_KEY_COL1__ENET_MDIO          0x1b0b0
500                                 MX6QDL_PAD_KEY_COL2__ENET_MDC           0x1b0b0
501                                 MX6QDL_PAD_RGMII_TXC__RGMII_TXC         0x1b030
502                                 MX6QDL_PAD_RGMII_TD0__RGMII_TD0         0x1b030
503                                 MX6QDL_PAD_RGMII_TD1__RGMII_TD1         0x1b030
504                                 MX6QDL_PAD_RGMII_TD2__RGMII_TD2         0x1b030
505                                 MX6QDL_PAD_RGMII_TD3__RGMII_TD3         0x1b030
506                                 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL   0x1b030
507                                 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK    0x1b0b0
508                                 MX6QDL_PAD_RGMII_RXC__RGMII_RXC         0x1b030
509                                 MX6QDL_PAD_RGMII_RD0__RGMII_RD0         0x1b030
510                                 MX6QDL_PAD_RGMII_RD1__RGMII_RD1         0x1b030
511                                 MX6QDL_PAD_RGMII_RD2__RGMII_RD2         0x1b030
512                                 MX6QDL_PAD_RGMII_RD3__RGMII_RD3         0x1b030
513                                 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL   0x1b030
514                                 MX6QDL_PAD_GPIO_6__ENET_IRQ             0x000b1
515                         >;
516                 };
518                 pinctrl_esai: esaigrp {
519                         fsl,pins = <
520                                 MX6QDL_PAD_ENET_CRS_DV__ESAI_TX_CLK 0x1b030
521                                 MX6QDL_PAD_ENET_RXD1__ESAI_TX_FS    0x1b030
522                                 MX6QDL_PAD_ENET_TX_EN__ESAI_TX3_RX2 0x1b030
523                                 MX6QDL_PAD_GPIO_5__ESAI_TX2_RX3     0x1b030
524                                 MX6QDL_PAD_ENET_TXD0__ESAI_TX4_RX1  0x1b030
525                                 MX6QDL_PAD_ENET_MDC__ESAI_TX5_RX0   0x1b030
526                                 MX6QDL_PAD_GPIO_17__ESAI_TX0        0x1b030
527                                 MX6QDL_PAD_NANDF_CS3__ESAI_TX1      0x1b030
528                                 MX6QDL_PAD_ENET_MDIO__ESAI_RX_CLK   0x1b030
529                                 MX6QDL_PAD_GPIO_9__ESAI_RX_FS       0x1b030
530                         >;
531                 };
533                 pinctrl_flexcan1: flexcan1grp {
534                         fsl,pins = <
535                                 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX        0x17059
536                                 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX        0x17059
537                         >;
538                 };
540                 pinctrl_flexcan2: flexcan2grp {
541                         fsl,pins = <
542                                 MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX        0x17059
543                                 MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX        0x17059
544                         >;
545                 };
547                 pinctrl_gpio_keys: gpiokeysgrp {
548                         fsl,pins = <
549                                 MX6QDL_PAD_SD2_CMD__GPIO1_IO11          0x1b0b0
550                                 MX6QDL_PAD_SD2_DAT3__GPIO1_IO12         0x1b0b0
551                                 MX6QDL_PAD_SD4_DAT4__GPIO2_IO12         0x1b0b0
552                                 MX6QDL_PAD_SD4_DAT7__GPIO2_IO15         0x1b0b0
553                                 MX6QDL_PAD_DISP0_DAT20__GPIO5_IO14      0x1b0b0
554                         >;
555                 };
557                 pinctrl_gpio_leds: gpioledsgrp {
558                         fsl,pins = <
559                                 MX6QDL_PAD_DISP0_DAT21__GPIO5_IO15      0x80000000
560                         >;
561                 };
563                 pinctrl_gpmi_nand: gpminandgrp {
564                         fsl,pins = <
565                                 MX6QDL_PAD_NANDF_CLE__NAND_CLE          0xb0b1
566                                 MX6QDL_PAD_NANDF_ALE__NAND_ALE          0xb0b1
567                                 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B        0xb0b1
568                                 MX6QDL_PAD_NANDF_RB0__NAND_READY_B      0xb000
569                                 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B        0xb0b1
570                                 MX6QDL_PAD_NANDF_CS1__NAND_CE1_B        0xb0b1
571                                 MX6QDL_PAD_SD4_CMD__NAND_RE_B           0xb0b1
572                                 MX6QDL_PAD_SD4_CLK__NAND_WE_B           0xb0b1
573                                 MX6QDL_PAD_NANDF_D0__NAND_DATA00        0xb0b1
574                                 MX6QDL_PAD_NANDF_D1__NAND_DATA01        0xb0b1
575                                 MX6QDL_PAD_NANDF_D2__NAND_DATA02        0xb0b1
576                                 MX6QDL_PAD_NANDF_D3__NAND_DATA03        0xb0b1
577                                 MX6QDL_PAD_NANDF_D4__NAND_DATA04        0xb0b1
578                                 MX6QDL_PAD_NANDF_D5__NAND_DATA05        0xb0b1
579                                 MX6QDL_PAD_NANDF_D6__NAND_DATA06        0xb0b1
580                                 MX6QDL_PAD_NANDF_D7__NAND_DATA07        0xb0b1
581                                 MX6QDL_PAD_SD4_DAT0__NAND_DQS           0x00b1
582                         >;
583                 };
585                 pinctrl_hdmi_cec: hdmicecgrp {
586                         fsl,pins = <
587                                 MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE    0x1f8b0
588                         >;
589                 };
591                 pinctrl_i2c2: i2c2grp {
592                         fsl,pins = <
593                                 MX6QDL_PAD_EIM_EB2__I2C2_SCL    0x4001b8b1
594                                 MX6QDL_PAD_KEY_ROW3__I2C2_SDA   0x4001b8b1
595                         >;
596                 };
598                 pinctrl_i2c3: i2c3grp {
599                         fsl,pins = <
600                                 MX6QDL_PAD_GPIO_3__I2C3_SCL  0x4001b8b1
601                                 MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
602                         >;
603                 };
605                 pinctrl_i2c3mux: i2c3muxgrp {
606                         fsl,pins = <
607                                 MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x0b0b1
608                         >;
609                 };
611                 pinctrl_ipu1_csi0: ipu1csi0grp {
612                         fsl,pins = <
613                                 MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12  0x1b0b0
614                                 MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13  0x1b0b0
615                                 MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14  0x1b0b0
616                                 MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15  0x1b0b0
617                                 MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16  0x1b0b0
618                                 MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17  0x1b0b0
619                                 MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18  0x1b0b0
620                                 MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19  0x1b0b0
621                                 MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0x1b0b0
622                                 MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC    0x1b0b0
623                                 MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC   0x1b0b0
624                         >;
625                 };
627                 pinctrl_max7310: max7310grp {
628                         fsl,pins = <
629                                 MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x1b0b0
630                         >;
631                 };
633                 pinctrl_mma8451_int: mma8451intgrp {
634                         fsl,pins = <
635                                 MX6QDL_PAD_EIM_BCLK__GPIO6_IO31         0xb0b1
636                         >;
637                 };
639                 pinctrl_pwm3: pwm1grp {
640                         fsl,pins = <
641                                 MX6QDL_PAD_SD4_DAT1__PWM3_OUT           0x1b0b1
642                         >;
643                 };
645                 pinctrl_gpt_input_capture0: gptinputcapture0grp {
646                         fsl,pins = <
647                                 MX6QDL_PAD_SD1_DAT0__GPT_CAPTURE1       0x1b0b0
648                         >;
649                 };
651                 pinctrl_gpt_input_capture1: gptinputcapture1grp {
652                         fsl,pins = <
653                                 MX6QDL_PAD_SD1_DAT1__GPT_CAPTURE2       0x1b0b0
654                         >;
655                 };
657                 pinctrl_spdif: spdifgrp {
658                         fsl,pins = <
659                                 MX6QDL_PAD_KEY_COL3__SPDIF_IN 0x1b0b0
660                         >;
661                 };
663                 pinctrl_uart4: uart4grp {
664                         fsl,pins = <
665                                 MX6QDL_PAD_KEY_COL0__UART4_TX_DATA      0x1b0b1
666                                 MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA      0x1b0b1
667                         >;
668                 };
670                 pinctrl_usbotg: usbotggrp {
671                         fsl,pins = <
672                                 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
673                         >;
674                 };
676                 pinctrl_usdhc3: usdhc3grp {
677                         fsl,pins = <
678                                 MX6QDL_PAD_SD3_CMD__SD3_CMD             0x17059
679                                 MX6QDL_PAD_SD3_CLK__SD3_CLK             0x10059
680                                 MX6QDL_PAD_SD3_DAT0__SD3_DATA0          0x17059
681                                 MX6QDL_PAD_SD3_DAT1__SD3_DATA1          0x17059
682                                 MX6QDL_PAD_SD3_DAT2__SD3_DATA2          0x17059
683                                 MX6QDL_PAD_SD3_DAT3__SD3_DATA3          0x17059
684                                 MX6QDL_PAD_SD3_DAT4__SD3_DATA4          0x17059
685                                 MX6QDL_PAD_SD3_DAT5__SD3_DATA5          0x17059
686                                 MX6QDL_PAD_SD3_DAT6__SD3_DATA6          0x17059
687                                 MX6QDL_PAD_SD3_DAT7__SD3_DATA7          0x17059
688                         >;
689                 };
691                 pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
692                         fsl,pins = <
693                                 MX6QDL_PAD_SD3_CMD__SD3_CMD             0x170b9
694                                 MX6QDL_PAD_SD3_CLK__SD3_CLK             0x100b9
695                                 MX6QDL_PAD_SD3_DAT0__SD3_DATA0          0x170b9
696                                 MX6QDL_PAD_SD3_DAT1__SD3_DATA1          0x170b9
697                                 MX6QDL_PAD_SD3_DAT2__SD3_DATA2          0x170b9
698                                 MX6QDL_PAD_SD3_DAT3__SD3_DATA3          0x170b9
699                                 MX6QDL_PAD_SD3_DAT4__SD3_DATA4          0x170b9
700                                 MX6QDL_PAD_SD3_DAT5__SD3_DATA5          0x170b9
701                                 MX6QDL_PAD_SD3_DAT6__SD3_DATA6          0x170b9
702                                 MX6QDL_PAD_SD3_DAT7__SD3_DATA7          0x170b9
703                         >;
704                 };
706                 pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
707                         fsl,pins = <
708                                 MX6QDL_PAD_SD3_CMD__SD3_CMD             0x170f9
709                                 MX6QDL_PAD_SD3_CLK__SD3_CLK             0x100f9
710                                 MX6QDL_PAD_SD3_DAT0__SD3_DATA0          0x170f9
711                                 MX6QDL_PAD_SD3_DAT1__SD3_DATA1          0x170f9
712                                 MX6QDL_PAD_SD3_DAT2__SD3_DATA2          0x170f9
713                                 MX6QDL_PAD_SD3_DAT3__SD3_DATA3          0x170f9
714                                 MX6QDL_PAD_SD3_DAT4__SD3_DATA4          0x170f9
715                                 MX6QDL_PAD_SD3_DAT5__SD3_DATA5          0x170f9
716                                 MX6QDL_PAD_SD3_DAT6__SD3_DATA6          0x170f9
717                                 MX6QDL_PAD_SD3_DAT7__SD3_DATA7          0x170f9
718                         >;
719                 };
721                 pinctrl_weim_cs0: weimcs0grp {
722                         fsl,pins = <
723                                 MX6QDL_PAD_EIM_CS0__EIM_CS0_B           0xb0b1
724                         >;
725                 };
727                 pinctrl_weim_nor: weimnorgrp {
728                         fsl,pins = <
729                                 MX6QDL_PAD_EIM_OE__EIM_OE_B             0xb0b1
730                                 MX6QDL_PAD_EIM_RW__EIM_RW               0xb0b1
731                                 MX6QDL_PAD_EIM_WAIT__EIM_WAIT_B         0xb060
732                                 MX6QDL_PAD_EIM_D16__EIM_DATA16          0x1b0b0
733                                 MX6QDL_PAD_EIM_D17__EIM_DATA17          0x1b0b0
734                                 MX6QDL_PAD_EIM_D18__EIM_DATA18          0x1b0b0
735                                 MX6QDL_PAD_EIM_D19__EIM_DATA19          0x1b0b0
736                                 MX6QDL_PAD_EIM_D20__EIM_DATA20          0x1b0b0
737                                 MX6QDL_PAD_EIM_D21__EIM_DATA21          0x1b0b0
738                                 MX6QDL_PAD_EIM_D22__EIM_DATA22          0x1b0b0
739                                 MX6QDL_PAD_EIM_D23__EIM_DATA23          0x1b0b0
740                                 MX6QDL_PAD_EIM_D24__EIM_DATA24          0x1b0b0
741                                 MX6QDL_PAD_EIM_D25__EIM_DATA25          0x1b0b0
742                                 MX6QDL_PAD_EIM_D26__EIM_DATA26          0x1b0b0
743                                 MX6QDL_PAD_EIM_D27__EIM_DATA27          0x1b0b0
744                                 MX6QDL_PAD_EIM_D28__EIM_DATA28          0x1b0b0
745                                 MX6QDL_PAD_EIM_D29__EIM_DATA29          0x1b0b0
746                                 MX6QDL_PAD_EIM_D30__EIM_DATA30          0x1b0b0
747                                 MX6QDL_PAD_EIM_D31__EIM_DATA31          0x1b0b0
748                                 MX6QDL_PAD_EIM_A23__EIM_ADDR23          0xb0b1
749                                 MX6QDL_PAD_EIM_A22__EIM_ADDR22          0xb0b1
750                                 MX6QDL_PAD_EIM_A21__EIM_ADDR21          0xb0b1
751                                 MX6QDL_PAD_EIM_A20__EIM_ADDR20          0xb0b1
752                                 MX6QDL_PAD_EIM_A19__EIM_ADDR19          0xb0b1
753                                 MX6QDL_PAD_EIM_A18__EIM_ADDR18          0xb0b1
754                                 MX6QDL_PAD_EIM_A17__EIM_ADDR17          0xb0b1
755                                 MX6QDL_PAD_EIM_A16__EIM_ADDR16          0xb0b1
756                                 MX6QDL_PAD_EIM_DA15__EIM_AD15           0xb0b1
757                                 MX6QDL_PAD_EIM_DA14__EIM_AD14           0xb0b1
758                                 MX6QDL_PAD_EIM_DA13__EIM_AD13           0xb0b1
759                                 MX6QDL_PAD_EIM_DA12__EIM_AD12           0xb0b1
760                                 MX6QDL_PAD_EIM_DA11__EIM_AD11           0xb0b1
761                                 MX6QDL_PAD_EIM_DA10__EIM_AD10           0xb0b1
762                                 MX6QDL_PAD_EIM_DA9__EIM_AD09            0xb0b1
763                                 MX6QDL_PAD_EIM_DA8__EIM_AD08            0xb0b1
764                                 MX6QDL_PAD_EIM_DA7__EIM_AD07            0xb0b1
765                                 MX6QDL_PAD_EIM_DA6__EIM_AD06            0xb0b1
766                                 MX6QDL_PAD_EIM_DA5__EIM_AD05            0xb0b1
767                                 MX6QDL_PAD_EIM_DA4__EIM_AD04            0xb0b1
768                                 MX6QDL_PAD_EIM_DA3__EIM_AD03            0xb0b1
769                                 MX6QDL_PAD_EIM_DA2__EIM_AD02            0xb0b1
770                                 MX6QDL_PAD_EIM_DA1__EIM_AD01            0xb0b1
771                                 MX6QDL_PAD_EIM_DA0__EIM_AD00            0xb0b1
772                         >;
773                 };
774         };
777 &ldb {
778         status = "okay";
780         lvds-channel@0 {
781                 fsl,data-mapping = "spwg";
782                 fsl,data-width = <18>;
783                 status = "okay";
785                 display-timings {
786                         native-mode = <&timing0>;
787                         timing0: hsd100pxn1 {
788                                 clock-frequency = <65000000>;
789                                 hactive = <1024>;
790                                 vactive = <768>;
791                                 hback-porch = <220>;
792                                 hfront-porch = <40>;
793                                 vback-porch = <21>;
794                                 vfront-porch = <7>;
795                                 hsync-len = <60>;
796                                 vsync-len = <10>;
797                         };
798                 };
799         };
802 &pwm3 {
803         #pwm-cells = <2>;
804         pinctrl-names = "default";
805         pinctrl-0 = <&pinctrl_pwm3>;
806         status = "okay";
809 &pcie {
810         status = "okay";
813 &spdif {
814         pinctrl-names = "default";
815         pinctrl-0 = <&pinctrl_spdif>;
816         status = "okay";
819 &uart4 {
820         pinctrl-names = "default";
821         pinctrl-0 = <&pinctrl_uart4>;
822         status = "okay";
825 &usbh1 {
826         vbus-supply = <&reg_usb_h1_vbus>;
827         status = "okay";
830 &usbotg {
831         vbus-supply = <&reg_usb_otg_vbus>;
832         pinctrl-names = "default";
833         pinctrl-0 = <&pinctrl_usbotg>;
834         status = "okay";
837 &usdhc3 {
838         pinctrl-names = "default", "state_100mhz", "state_200mhz";
839         pinctrl-0 = <&pinctrl_usdhc3>;
840         pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
841         pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
842         cd-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
843         wp-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
844         status = "okay";
847 &weim {
848         pinctrl-names = "default";
849         pinctrl-0 = <&pinctrl_weim_nor &pinctrl_weim_cs0>;
850         ranges = <0 0 0x08000000 0x08000000>;
851         status = "disabled"; /* pin conflict with SPI NOR */
853         nor@0,0 {
854                 compatible = "cfi-flash";
855                 reg = <0 0 0x02000000>;
856                 #address-cells = <1>;
857                 #size-cells = <1>;
858                 bank-width = <2>;
859                 fsl,weim-cs-timing = <0x00620081 0x00000001 0x1c022000
860                                 0x0000c000 0x1404a38e 0x00000000>;
861         };