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 device_type = "memory";
17 reg = <0x10000000 0x40000000>;
21 compatible = "simple-bus";
25 reg_2p5v: regulator@0 {
26 compatible = "regulator-fixed";
28 regulator-name = "2P5V";
29 regulator-min-microvolt = <2500000>;
30 regulator-max-microvolt = <2500000>;
34 reg_3p3v: regulator@1 {
35 compatible = "regulator-fixed";
37 regulator-name = "3P3V";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
43 reg_usb_otg_vbus: regulator@2 {
44 compatible = "regulator-fixed";
46 regulator-name = "usb_otg_vbus";
47 regulator-min-microvolt = <5000000>;
48 regulator-max-microvolt = <5000000>;
53 reg_can_xcvr: regulator@3 {
54 compatible = "regulator-fixed";
56 regulator-name = "CAN XCVR";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_can_xcvr>;
61 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
64 reg_wlan_vmmc: regulator@4 {
65 compatible = "regulator-fixed";
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_wlan_vmmc>;
69 regulator-name = "reg_wlan_vmmc";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>;
73 startup-delay-us = <70000>;
77 reg_usb_h1_vbus: regulator@5 {
78 compatible = "regulator-fixed";
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_usbh1>;
82 regulator-name = "usb_h1_vbus";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
85 gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
91 compatible = "gpio-keys";
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_gpio_keys>;
96 label = "Power Button";
97 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_POWER>;
104 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
105 linux,code = <KEY_MENU>;
110 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
111 linux,code = <KEY_HOME>;
116 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
117 linux,code = <KEY_BACK>;
122 gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
123 linux,code = <KEY_VOLUMEUP>;
127 label = "Volume Down";
128 gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
129 linux,code = <KEY_VOLUMEDOWN>;
134 compatible = "fsl,imx6q-nitrogen6x-sgtl5000",
135 "fsl,imx-audio-sgtl5000";
136 model = "imx6q-nitrogen6x-sgtl5000";
137 ssi-controller = <&ssi1>;
138 audio-codec = <&codec>;
140 "MIC_IN", "Mic Jack",
141 "Mic Jack", "Mic Bias",
142 "Headphone Jack", "HP_OUT";
147 backlight_lcd: backlight-lcd {
148 compatible = "pwm-backlight";
149 pwms = <&pwm1 0 5000000>;
150 brightness-levels = <0 4 8 16 32 64 128 255>;
151 default-brightness-level = <7>;
152 power-supply = <®_3p3v>;
156 backlight_lvds: backlight-lvds {
157 compatible = "pwm-backlight";
158 pwms = <&pwm4 0 5000000>;
159 brightness-levels = <0 4 8 16 32 64 128 255>;
160 default-brightness-level = <7>;
161 power-supply = <®_3p3v>;
166 compatible = "fsl,imx-parallel-display";
167 #address-cells = <1>;
169 interface-pix-fmt = "bgr666";
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_j15>;
177 lcd_display_in: endpoint {
178 remote-endpoint = <&ipu1_di0_disp0>;
185 lcd_display_out: endpoint {
186 remote-endpoint = <&lcd_panel_in>;
192 compatible = "okaya,rs800480t-7x0gp";
193 backlight = <&backlight_lcd>;
196 lcd_panel_in: endpoint {
197 remote-endpoint = <&lcd_display_out>;
203 compatible = "hannstar,hsd100pxn1";
204 backlight = <&backlight_lvds>;
208 remote-endpoint = <&lvds0_out>;
215 pinctrl-names = "default";
216 pinctrl-0 = <&pinctrl_audmux>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&pinctrl_can1>;
223 xceiver-supply = <®_can_xcvr>;
228 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
229 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
230 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
231 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
235 cs-gpios = <&gpio3 19 0>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_ecspi1>;
241 compatible = "sst,sst25vf016b", "jedec,spi-nor";
242 spi-max-frequency = <20000000>;
244 #address-cells = <1>;
248 label = "bootloader";
254 reg = <0xc0000 0x2000>;
259 reg = <0xc2000 0x13e000>;
265 pinctrl-names = "default";
266 pinctrl-0 = <&pinctrl_enet>;
268 phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
270 txc-skew-ps = <3000>;
272 rxc-skew-ps = <3000>;
281 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
282 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
283 fsl,err006687-workaround-present;
288 ddc-i2c-bus = <&i2c2>;
293 clock-frequency = <100000>;
294 pinctrl-names = "default";
295 pinctrl-0 = <&pinctrl_i2c1>;
299 compatible = "fsl,sgtl5000";
301 clocks = <&clks IMX6QDL_CLK_CKO>;
302 VDDA-supply = <®_2p5v>;
303 VDDIO-supply = <®_3p3v>;
307 compatible = "isil,isl1208";
313 clock-frequency = <100000>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&pinctrl_i2c2>;
320 clock-frequency = <100000>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_i2c3>;
326 compatible = "eeti,egalax_ts";
328 interrupt-parent = <&gpio1>;
329 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
330 wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
334 compatible = "edt,edt-ft5x06";
336 interrupt-parent = <&gpio1>;
337 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&pinctrl_hog>;
347 pinctrl_hog: hoggrp {
349 /* SGTL5000 sys_mclk */
350 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0
351 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0
355 pinctrl_audmux: audmuxgrp {
357 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
358 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
359 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
360 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
364 pinctrl_can1: can1grp {
366 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0
367 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
371 pinctrl_can_xcvr: can-xcvrgrp {
373 /* Flexcan XCVR enable */
374 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
378 pinctrl_ecspi1: ecspi1grp {
380 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
381 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
382 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
383 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* CS */
387 pinctrl_enet: enetgrp {
389 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0
390 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0
391 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x10030
392 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x10030
393 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x10030
394 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x10030
395 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x10030
396 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030
397 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
398 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
399 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
400 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
401 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
402 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
403 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
405 MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x000b0
406 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
410 pinctrl_gpio_keys: gpio-keysgrp {
413 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
415 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
417 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
419 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0
420 /* Volume Up Button */
421 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
422 /* Volume Down Button */
423 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
427 pinctrl_i2c1: i2c1grp {
429 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
430 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
434 pinctrl_i2c2: i2c2grp {
436 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
437 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
441 pinctrl_i2c3: i2c3grp {
443 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
444 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
448 pinctrl_j15: j15grp {
450 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
451 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10
452 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
453 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
454 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
455 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
456 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
457 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
458 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
459 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
460 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
461 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
462 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
463 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
464 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
465 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
466 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
467 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
468 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
469 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
470 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
471 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
472 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
473 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
474 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
475 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
476 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
477 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
481 pinctrl_pwm1: pwm1grp {
483 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1
487 pinctrl_pwm3: pwm3grp {
489 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
493 pinctrl_pwm4: pwm4grp {
495 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
499 pinctrl_uart1: uart1grp {
501 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
502 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
506 pinctrl_uart2: uart2grp {
508 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
509 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
513 pinctrl_usbh1: usbh1grp {
515 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x030b0
519 pinctrl_usbotg: usbotggrp {
521 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
522 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0
523 /* power enable, high active */
524 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0
528 pinctrl_usdhc2: usdhc2grp {
530 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17071
531 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10071
532 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17071
533 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17071
534 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17071
535 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17071
539 pinctrl_usdhc3: usdhc3grp {
541 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
542 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
543 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
544 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
545 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
546 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
547 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */
551 pinctrl_usdhc4: usdhc4grp {
553 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
554 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
555 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
556 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
557 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
558 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
559 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 /* CD */
563 pinctrl_wlan_vmmc: wlan-vmmcgrp {
565 MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x100b0
566 MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x000b0
567 MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x000b0
568 MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT 0x000b0
575 remote-endpoint = <&lcd_display_in>;
587 lvds0_out: endpoint {
588 remote-endpoint = <&panel_in>;
599 pinctrl-names = "default";
600 pinctrl-0 = <&pinctrl_pwm1>;
605 pinctrl-names = "default";
606 pinctrl-0 = <&pinctrl_pwm3>;
611 pinctrl-names = "default";
612 pinctrl-0 = <&pinctrl_pwm4>;
621 pinctrl-names = "default";
622 pinctrl-0 = <&pinctrl_uart1>;
627 pinctrl-names = "default";
628 pinctrl-0 = <&pinctrl_uart2>;
633 vbus-supply = <®_usb_h1_vbus>;
638 vbus-supply = <®_usb_otg_vbus>;
639 pinctrl-names = "default";
640 pinctrl-0 = <&pinctrl_usbotg>;
641 disable-over-current;
646 pinctrl-names = "default";
647 pinctrl-0 = <&pinctrl_usdhc2>;
650 vmmc-supply = <®_wlan_vmmc>;
652 keep-power-in-suspend;
655 #address-cells = <1>;
658 compatible = "ti,wl1271";
660 interrupt-parent = <&gpio6>;
661 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>;
662 ref-clock-frequency = <38400000>;
667 pinctrl-names = "default";
668 pinctrl-0 = <&pinctrl_usdhc3>;
669 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
670 vmmc-supply = <®_3p3v>;
675 pinctrl-names = "default";
676 pinctrl-0 = <&pinctrl_usdhc4>;
677 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
678 vmmc-supply = <®_3p3v>;