1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2013 Boundary Devices, Inc.
4 * Copyright 2011 Freescale Semiconductor, Inc.
5 * Copyright 2011 Linaro Ltd.
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
16 reg = <0x10000000 0x40000000>;
20 compatible = "simple-bus";
24 reg_2p5v: regulator@0 {
25 compatible = "regulator-fixed";
27 regulator-name = "2P5V";
28 regulator-min-microvolt = <2500000>;
29 regulator-max-microvolt = <2500000>;
33 reg_3p3v: regulator@1 {
34 compatible = "regulator-fixed";
36 regulator-name = "3P3V";
37 regulator-min-microvolt = <3300000>;
38 regulator-max-microvolt = <3300000>;
42 reg_usb_otg_vbus: regulator@2 {
43 compatible = "regulator-fixed";
45 regulator-name = "usb_otg_vbus";
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
52 reg_can_xcvr: regulator@3 {
53 compatible = "regulator-fixed";
55 regulator-name = "CAN XCVR";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&pinctrl_can_xcvr>;
60 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
63 reg_wlan_vmmc: regulator@4 {
64 compatible = "regulator-fixed";
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_wlan_vmmc>;
68 regulator-name = "reg_wlan_vmmc";
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
71 gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>;
72 startup-delay-us = <70000>;
76 reg_usb_h1_vbus: regulator@5 {
77 compatible = "regulator-fixed";
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_usbh1>;
81 regulator-name = "usb_h1_vbus";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
84 gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
90 compatible = "gpio-keys";
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_gpio_keys>;
95 label = "Power Button";
96 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_POWER>;
103 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_MENU>;
109 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
110 linux,code = <KEY_HOME>;
115 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
116 linux,code = <KEY_BACK>;
121 gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
122 linux,code = <KEY_VOLUMEUP>;
126 label = "Volume Down";
127 gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
128 linux,code = <KEY_VOLUMEDOWN>;
133 compatible = "fsl,imx6q-nitrogen6x-sgtl5000",
134 "fsl,imx-audio-sgtl5000";
135 model = "imx6q-nitrogen6x-sgtl5000";
136 ssi-controller = <&ssi1>;
137 audio-codec = <&codec>;
139 "MIC_IN", "Mic Jack",
140 "Mic Jack", "Mic Bias",
141 "Headphone Jack", "HP_OUT";
146 backlight_lcd: backlight-lcd {
147 compatible = "pwm-backlight";
148 pwms = <&pwm1 0 5000000>;
149 brightness-levels = <0 4 8 16 32 64 128 255>;
150 default-brightness-level = <7>;
151 power-supply = <®_3p3v>;
155 backlight_lvds: backlight-lvds {
156 compatible = "pwm-backlight";
157 pwms = <&pwm4 0 5000000>;
158 brightness-levels = <0 4 8 16 32 64 128 255>;
159 default-brightness-level = <7>;
160 power-supply = <®_3p3v>;
165 compatible = "fsl,imx-parallel-display";
166 #address-cells = <1>;
168 interface-pix-fmt = "bgr666";
169 pinctrl-names = "default";
170 pinctrl-0 = <&pinctrl_j15>;
176 lcd_display_in: endpoint {
177 remote-endpoint = <&ipu1_di0_disp0>;
184 lcd_display_out: endpoint {
185 remote-endpoint = <&lcd_panel_in>;
191 compatible = "okaya,rs800480t-7x0gp";
192 backlight = <&backlight_lcd>;
195 lcd_panel_in: endpoint {
196 remote-endpoint = <&lcd_display_out>;
202 compatible = "hannstar,hsd100pxn1";
203 backlight = <&backlight_lvds>;
207 remote-endpoint = <&lvds0_out>;
214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_audmux>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_can1>;
222 xceiver-supply = <®_can_xcvr>;
227 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
228 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
229 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
230 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
234 cs-gpios = <&gpio3 19 0>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_ecspi1>;
240 compatible = "sst,sst25vf016b", "jedec,spi-nor";
241 spi-max-frequency = <20000000>;
243 #address-cells = <1>;
247 label = "bootloader";
253 reg = <0xc0000 0x2000>;
258 reg = <0xc2000 0x13e000>;
264 pinctrl-names = "default";
265 pinctrl-0 = <&pinctrl_enet>;
267 phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
269 txc-skew-ps = <3000>;
271 rxc-skew-ps = <3000>;
280 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
281 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
282 fsl,err006687-workaround-present;
287 ddc-i2c-bus = <&i2c2>;
292 clock-frequency = <100000>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_i2c1>;
298 compatible = "fsl,sgtl5000";
300 clocks = <&clks IMX6QDL_CLK_CKO>;
301 VDDA-supply = <®_2p5v>;
302 VDDIO-supply = <®_3p3v>;
306 compatible = "isil,isl1208";
312 clock-frequency = <100000>;
313 pinctrl-names = "default";
314 pinctrl-0 = <&pinctrl_i2c2>;
319 clock-frequency = <100000>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&pinctrl_i2c3>;
325 compatible = "eeti,egalax_ts";
327 interrupt-parent = <&gpio1>;
328 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
329 wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
333 compatible = "edt,edt-ft5x06";
335 interrupt-parent = <&gpio1>;
336 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
342 pinctrl-names = "default";
343 pinctrl-0 = <&pinctrl_hog>;
346 pinctrl_hog: hoggrp {
348 /* SGTL5000 sys_mclk */
349 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0
350 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0
354 pinctrl_audmux: audmuxgrp {
356 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
357 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
358 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
359 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
363 pinctrl_can1: can1grp {
365 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0
366 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
370 pinctrl_can_xcvr: can-xcvrgrp {
372 /* Flexcan XCVR enable */
373 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
377 pinctrl_ecspi1: ecspi1grp {
379 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
380 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
381 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
382 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* CS */
386 pinctrl_enet: enetgrp {
388 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0
389 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0
390 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x10030
391 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x10030
392 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x10030
393 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x10030
394 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x10030
395 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030
396 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
397 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
398 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
399 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
400 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
401 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
402 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
404 MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x000b0
405 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
409 pinctrl_gpio_keys: gpio-keysgrp {
412 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
414 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
416 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
418 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0
419 /* Volume Up Button */
420 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
421 /* Volume Down Button */
422 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
426 pinctrl_i2c1: i2c1grp {
428 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
429 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
433 pinctrl_i2c2: i2c2grp {
435 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
436 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
440 pinctrl_i2c3: i2c3grp {
442 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
443 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
447 pinctrl_j15: j15grp {
449 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
450 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10
451 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
452 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
453 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
454 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
455 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
456 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
457 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
458 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
459 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
460 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
461 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
462 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
463 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
464 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
465 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
466 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
467 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
468 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
469 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
470 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
471 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
472 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
473 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
474 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
475 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
476 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
480 pinctrl_pwm1: pwm1grp {
482 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1
486 pinctrl_pwm3: pwm3grp {
488 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
492 pinctrl_pwm4: pwm4grp {
494 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
498 pinctrl_uart1: uart1grp {
500 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
501 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
505 pinctrl_uart2: uart2grp {
507 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
508 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
512 pinctrl_usbh1: usbh1grp {
514 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x030b0
518 pinctrl_usbotg: usbotggrp {
520 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
521 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0
522 /* power enable, high active */
523 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0
527 pinctrl_usdhc2: usdhc2grp {
529 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17071
530 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10071
531 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17071
532 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17071
533 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17071
534 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17071
538 pinctrl_usdhc3: usdhc3grp {
540 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
541 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
542 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
543 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
544 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
545 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
546 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */
550 pinctrl_usdhc4: usdhc4grp {
552 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
553 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
554 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
555 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
556 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
557 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
558 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 /* CD */
562 pinctrl_wlan_vmmc: wlan-vmmcgrp {
564 MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x100b0
565 MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x000b0
566 MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x000b0
567 MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT 0x000b0
574 remote-endpoint = <&lcd_display_in>;
586 lvds0_out: endpoint {
587 remote-endpoint = <&panel_in>;
598 pinctrl-names = "default";
599 pinctrl-0 = <&pinctrl_pwm1>;
604 pinctrl-names = "default";
605 pinctrl-0 = <&pinctrl_pwm3>;
610 pinctrl-names = "default";
611 pinctrl-0 = <&pinctrl_pwm4>;
620 pinctrl-names = "default";
621 pinctrl-0 = <&pinctrl_uart1>;
626 pinctrl-names = "default";
627 pinctrl-0 = <&pinctrl_uart2>;
632 vbus-supply = <®_usb_h1_vbus>;
637 vbus-supply = <®_usb_otg_vbus>;
638 pinctrl-names = "default";
639 pinctrl-0 = <&pinctrl_usbotg>;
640 disable-over-current;
645 pinctrl-names = "default";
646 pinctrl-0 = <&pinctrl_usdhc2>;
649 vmmc-supply = <®_wlan_vmmc>;
651 keep-power-in-suspend;
654 #address-cells = <1>;
657 compatible = "ti,wl1271";
659 interrupt-parent = <&gpio6>;
660 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>;
661 ref-clock-frequency = <38400000>;
666 pinctrl-names = "default";
667 pinctrl-0 = <&pinctrl_usdhc3>;
668 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
669 vmmc-supply = <®_3p3v>;
674 pinctrl-names = "default";
675 pinctrl-0 = <&pinctrl_usdhc4>;
676 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
677 vmmc-supply = <®_3p3v>;