1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016 Boundary Devices, Inc.
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
14 reg = <0x10000000 0x40000000>;
17 backlight_lcd: backlight-lcd {
18 compatible = "pwm-backlight";
19 pwms = <&pwm1 0 5000000>;
20 brightness-levels = <0 4 8 16 32 64 128 255>;
21 default-brightness-level = <7>;
22 power-supply = <®_3p3v>;
26 backlight_lvds0: backlight-lvds0 {
27 compatible = "pwm-backlight";
28 pwms = <&pwm4 0 5000000>;
29 brightness-levels = <0 4 8 16 32 64 128 255>;
30 default-brightness-level = <7>;
31 power-supply = <®_3p3v>;
35 backlight_lvds1: backlight-lvds1 {
36 compatible = "gpio-backlight";
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_backlight_lvds1>;
39 gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys";
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_gpio_keys>;
50 label = "Power Button";
51 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_POWER>;
58 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_MENU>;
64 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_HOME>;
70 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_BACK>;
76 gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_VOLUMEUP>;
81 label = "Volume Down";
82 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_VOLUMEDOWN>;
88 compatible = "fsl,imx-parallel-display";
91 interface-pix-fmt = "bgr666";
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_j15>;
99 lcd_display_in: endpoint {
100 remote-endpoint = <&ipu1_di0_disp0>;
107 lcd_display_out: endpoint {
108 remote-endpoint = <&lcd_panel_in>;
114 compatible = "okaya,rs800480t-7x0gp";
115 backlight = <&backlight_lcd>;
118 lcd_panel_in: endpoint {
119 remote-endpoint = <&lcd_display_out>;
125 compatible = "hannstar,hsd100pxn1";
126 backlight = <&backlight_lvds0>;
129 panel_in_lvds0: endpoint {
130 remote-endpoint = <&lvds0_out>;
136 compatible = "hannstar,hsd100pxn1";
137 backlight = <&backlight_lvds1>;
140 panel_in_lvds1: endpoint {
141 remote-endpoint = <&lvds1_out>;
146 reg_1p8v: regulator-1v8 {
147 compatible = "regulator-fixed";
148 regulator-name = "1P8V";
149 regulator-min-microvolt = <1800000>;
150 regulator-max-microvolt = <1800000>;
154 reg_2p5v: regulator-2v5 {
155 compatible = "regulator-fixed";
156 regulator-name = "2P5V";
157 regulator-min-microvolt = <2500000>;
158 regulator-max-microvolt = <2500000>;
162 reg_3p3v: regulator-3v3 {
163 compatible = "regulator-fixed";
164 regulator-name = "3P3V";
165 regulator-min-microvolt = <3300000>;
166 regulator-max-microvolt = <3300000>;
170 reg_can_xcvr: regulator-can-xcvr {
171 compatible = "regulator-fixed";
172 regulator-name = "CAN XCVR";
173 regulator-min-microvolt = <3300000>;
174 regulator-max-microvolt = <3300000>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_can_xcvr>;
177 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
180 reg_usb_h1_vbus: regulator-usb-h1-vbus {
181 compatible = "regulator-fixed";
182 pinctrl-names = "default";
183 pinctrl-0 = <&pinctrl_usbh1>;
184 regulator-name = "usb_h1_vbus";
185 regulator-min-microvolt = <3300000>;
186 regulator-max-microvolt = <3300000>;
187 gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
192 reg_usb_otg_vbus: regulator-usb-otg-vbus {
193 compatible = "regulator-fixed";
194 regulator-name = "usb_otg_vbus";
195 regulator-min-microvolt = <5000000>;
196 regulator-max-microvolt = <5000000>;
197 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
201 reg_wlan_vmmc: regulator-wlan-vmmc {
202 compatible = "regulator-fixed";
203 pinctrl-names = "default";
204 pinctrl-0 = <&pinctrl_wlan_vmmc>;
205 regulator-name = "reg_wlan_vmmc";
206 regulator-min-microvolt = <3300000>;
207 regulator-max-microvolt = <3300000>;
208 gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>;
209 startup-delay-us = <70000>;
214 compatible = "fsl,imx6q-nitrogen6_som2-sgtl5000",
215 "fsl,imx-audio-sgtl5000";
216 model = "imx6q-nitrogen6_som2-sgtl5000";
217 ssi-controller = <&ssi1>;
218 audio-codec = <&codec>;
220 "MIC_IN", "Mic Jack",
221 "Mic Jack", "Mic Bias",
222 "Headphone Jack", "HP_OUT";
229 pinctrl-names = "default";
230 pinctrl-0 = <&pinctrl_audmux>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_can1>;
237 xceiver-supply = <®_can_xcvr>;
242 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
243 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
244 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
245 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
249 cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&pinctrl_ecspi1>;
255 compatible = "microchip,sst25vf016b";
256 spi-max-frequency = <20000000>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&pinctrl_enet>;
265 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
266 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
267 fsl,err006687-workaround-present;
272 ddc-i2c-bus = <&i2c2>;
277 clock-frequency = <100000>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&pinctrl_i2c1>;
283 compatible = "fsl,sgtl5000";
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_sgtl5000>;
287 clocks = <&clks IMX6QDL_CLK_CKO>;
288 VDDA-supply = <®_2p5v>;
289 VDDIO-supply = <®_3p3v>;
293 compatible = "microcrystal,rv4162";
294 pinctrl-names = "default";
295 pinctrl-0 = <&pinctrl_rv4162>;
297 interrupts-extended = <&gpio6 7 IRQ_TYPE_LEVEL_LOW>;
302 clock-frequency = <100000>;
303 pinctrl-names = "default";
304 pinctrl-0 = <&pinctrl_i2c2>;
309 clock-frequency = <100000>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&pinctrl_i2c3>;
315 compatible = "eeti,egalax_ts";
317 interrupt-parent = <&gpio1>;
318 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
319 wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
323 compatible = "edt,edt-ft5x06";
325 interrupt-parent = <&gpio1>;
326 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
332 pinctrl_audmux: audmuxgrp {
334 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
335 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
336 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
337 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
341 pinctrl_backlight_lvds1: backlight-lvds1grp {
343 MX6QDL_PAD_EIM_EB3__GPIO2_IO31 0x0b0b0
347 pinctrl_can1: can1grp {
349 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0
350 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0
354 pinctrl_can_xcvr: can-xcvrgrp {
356 /* Flexcan XCVR enable */
357 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x0b0b0
361 pinctrl_ecspi1: ecspi1grp {
363 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
364 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
365 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
366 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1
370 pinctrl_enet: enetgrp {
372 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
373 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
374 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x100b0
375 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x100b0
376 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x100b0
377 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x100b0
378 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x100b0
379 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x100b0
380 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
381 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
382 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x130b0
383 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
384 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x130b0
385 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
386 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x130b0
387 MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x030b0
388 MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0
389 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
393 pinctrl_gpio_keys: gpio-keysgrp {
396 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
398 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
400 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
402 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0
403 /* Volume Up Button */
404 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
405 /* Volume Down Button */
406 MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1b0b0
410 pinctrl_i2c1: i2c1grp {
412 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
413 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
417 pinctrl_i2c2: i2c2grp {
419 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
420 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
424 pinctrl_i2c3: i2c3grp {
426 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
427 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
428 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0
432 pinctrl_i2c3mux: i2c3muxgrp {
434 /* PCIe I2C enable */
435 MX6QDL_PAD_EIM_OE__GPIO2_IO25 0x000b0
439 pinctrl_j15: j15grp {
441 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
442 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10
443 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
444 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
445 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
446 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
447 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
448 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
449 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
450 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
451 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
452 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
453 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
454 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
455 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
456 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
457 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
458 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
459 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
460 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
461 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
462 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
463 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
464 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
465 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
466 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
467 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
468 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
472 pinctrl_pcie: pciegrp {
475 MX6QDL_PAD_EIM_DA0__GPIO3_IO00 0x030b0
476 MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x030b0
480 pinctrl_pwm1: pwm1grp {
482 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x030b1
486 pinctrl_pwm3: pwm3grp {
488 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x030b1
492 pinctrl_pwm4: pwm4grp {
494 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x030b1
498 pinctrl_rv4162: rv4162grp {
500 MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x1b0b0
504 pinctrl_sgtl5000: sgtl5000grp {
506 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x000b0
507 MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x130b0
508 MX6QDL_PAD_EIM_DA2__GPIO3_IO02 0x130b0
509 MX6QDL_PAD_ENET_RX_ER__GPIO1_IO24 0x130b0
513 pinctrl_uart1: uart1grp {
515 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
516 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
520 pinctrl_uart2: uart2grp {
522 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
523 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
527 pinctrl_uart3: uart3grp {
529 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
530 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
531 MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
532 MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1
536 pinctrl_usbh1: usbh1grp {
538 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x030b0
542 pinctrl_usbotg: usbotggrp {
544 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
545 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0
546 /* power enable, high active */
547 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x030b0
551 pinctrl_usdhc2: usdhc2grp {
553 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10071
554 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17071
555 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17071
556 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17071
557 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17071
558 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17071
562 pinctrl_usdhc3: usdhc3grp {
564 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10071
565 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17071
566 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17071
567 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17071
568 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17071
569 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17071
570 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0
574 pinctrl_usdhc4: usdhc4grp {
576 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
577 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
578 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
579 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
580 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
581 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
582 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059
583 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059
584 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059
585 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059
589 pinctrl_wlan_vmmc: wlan-vmmcgrp {
591 MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x100b0
592 MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x030b0
593 MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x030b0
594 MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT 0x000b0
600 remote-endpoint = <&lcd_display_in>;
612 lvds0_out: endpoint {
613 remote-endpoint = <&panel_in_lvds0>;
619 fsl,data-mapping = "spwg";
620 fsl,data-width = <18>;
626 lvds1_out: endpoint {
627 remote-endpoint = <&panel_in_lvds1>;
634 pinctrl-names = "default";
635 pinctrl-0 = <&pinctrl_pcie>;
636 reset-gpio = <&gpio3 0 GPIO_ACTIVE_LOW>;
641 pinctrl-names = "default";
642 pinctrl-0 = <&pinctrl_pwm1>;
647 pinctrl-names = "default";
648 pinctrl-0 = <&pinctrl_pwm3>;
653 pinctrl-names = "default";
654 pinctrl-0 = <&pinctrl_pwm4>;
663 pinctrl-names = "default";
664 pinctrl-0 = <&pinctrl_uart1>;
669 pinctrl-names = "default";
670 pinctrl-0 = <&pinctrl_uart2>;
675 pinctrl-names = "default";
676 pinctrl-0 = <&pinctrl_uart3>;
682 vbus-supply = <®_usb_h1_vbus>;
687 vbus-supply = <®_usb_otg_vbus>;
688 pinctrl-names = "default";
689 pinctrl-0 = <&pinctrl_usbotg>;
690 disable-over-current;
695 pinctrl-names = "default";
696 pinctrl-0 = <&pinctrl_usdhc2>;
699 vmmc-supply = <®_wlan_vmmc>;
701 keep-power-in-suspend;
704 #address-cells = <1>;
707 compatible = "ti,wl1271";
709 interrupt-parent = <&gpio6>;
710 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>;
711 ref-clock-frequency = <38400000>;
716 pinctrl-names = "default";
717 pinctrl-0 = <&pinctrl_usdhc3>;
718 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
720 vmmc-supply = <®_3p3v>;
725 pinctrl-names = "default";
726 pinctrl-0 = <&pinctrl_usdhc4>;
729 vmmc-supply = <®_1p8v>;
730 keep-power-in-suspend;