1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2015 Boundary Devices, Inc.
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
14 device_type = "memory";
15 reg = <0x10000000 0x20000000>;
19 compatible = "simple-bus";
23 reg_2p5v: regulator@0 {
24 compatible = "regulator-fixed";
26 regulator-name = "2P5V";
27 regulator-min-microvolt = <2500000>;
28 regulator-max-microvolt = <2500000>;
32 reg_3p3v: regulator@1 {
33 compatible = "regulator-fixed";
35 regulator-name = "3P3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
41 reg_usb_otg_vbus: regulator@2 {
42 compatible = "regulator-fixed";
44 regulator-name = "usb_otg_vbus";
45 regulator-min-microvolt = <5000000>;
46 regulator-max-microvolt = <5000000>;
47 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
51 reg_wlan_vmmc: regulator@3 {
52 compatible = "regulator-fixed";
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_wlan_vmmc>;
56 regulator-name = "reg_wlan_vmmc";
57 regulator-min-microvolt = <1800000>;
58 regulator-max-microvolt = <1800000>;
59 gpio = <&gpio6 7 GPIO_ACTIVE_HIGH>;
60 startup-delay-us = <70000>;
66 compatible = "gpio-keys";
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_gpio_keys>;
72 gpios = <&gpio7 13 IRQ_TYPE_LEVEL_LOW>;
78 gpios = <&gpio4 5 IRQ_TYPE_LEVEL_LOW>;
84 compatible = "gpio-leds";
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_leds>;
89 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
90 retain-state-suspended;
91 default-state = "off";
95 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
96 retain-state-suspended;
97 default-state = "off";
101 gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
102 retain-state-suspended;
103 default-state = "off";
107 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
108 retain-state-suspended;
109 default-state = "off";
113 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
114 retain-state-suspended;
115 default-state = "off";
120 compatible = "pwm-backlight";
121 pwms = <&pwm1 0 5000000>;
122 brightness-levels = <0 4 8 16 32 64 128 255>;
123 default-brightness-level = <7>;
124 power-supply = <®_3p3v>;
128 backlight_lvds0: backlight-lvds0 {
129 compatible = "pwm-backlight";
130 pwms = <&pwm4 0 5000000>;
131 brightness-levels = <0 4 8 16 32 64 128 255>;
132 default-brightness-level = <7>;
133 power-supply = <®_3p3v>;
138 compatible = "hannstar,hsd100pxn1";
139 backlight = <&backlight_lvds0>;
142 panel_in_lvds0: endpoint {
143 remote-endpoint = <&lvds0_out>;
149 compatible = "fsl,imx6dl-nit6xlite-sgtl5000",
150 "fsl,imx-audio-sgtl5000";
151 model = "imx6dl-nit6xlite-sgtl5000";
152 ssi-controller = <&ssi1>;
153 audio-codec = <&codec>;
155 "MIC_IN", "Mic Jack",
156 "Mic Jack", "Mic Bias",
157 "Headphone Jack", "HP_OUT";
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_audmux>;
170 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
171 <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
172 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
173 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
177 cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_ecspi1>;
183 compatible = "microchip,sst25vf016b";
184 spi-max-frequency = <20000000>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_enet>;
193 phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
195 txc-skew-ps = <3000>;
197 rxc-skew-ps = <3000>;
206 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
207 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
208 fsl,err006687-workaround-present;
213 ddc-i2c-bus = <&i2c2>;
218 clock-frequency = <100000>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&pinctrl_i2c1>;
224 compatible = "fsl,sgtl5000";
225 pinctrl-names = "default";
226 pinctrl-0 = <&pinctrl_sgtl5000>;
228 clocks = <&clks IMX6QDL_CLK_CKO>;
229 VDDA-supply = <®_2p5v>;
230 VDDIO-supply = <®_3p3v>;
235 clock-frequency = <100000>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_i2c2>;
242 clock-frequency = <100000>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&pinctrl_i2c3>;
248 compatible = "eeti,egalax_ts";
250 interrupt-parent = <&gpio1>;
251 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
252 wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
256 compatible = "edt,edt-ft5x06";
258 interrupt-parent = <&gpio1>;
259 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
264 compatible = "isil,isl1208";
265 pinctrl-names = "default";
266 pinctrl-0 = <&pinctrl_rtc>;
268 interrupts-extended = <&gpio2 26 IRQ_TYPE_LEVEL_LOW>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&pinctrl_j10>;
275 pinctrl-1 = <&pinctrl_j28>;
278 pinctrl_audmux: audmuxgrp {
280 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
281 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
282 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
283 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
287 pinctrl_ecspi1: ecspi1grp {
289 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
290 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
291 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
292 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1
296 pinctrl_enet: enetgrp {
298 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0
299 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0
300 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x100b0
301 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x100b0
302 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x100b0
303 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x100b0
304 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x100b0
305 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x100b0
306 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
307 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
308 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
309 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
310 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
311 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
312 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
314 MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x0f0b0
315 MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0
316 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
320 pinctrl_gpio_keys: gpio-keysgrp {
322 /* Home Button: J14 pin 5 */
323 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
324 /* Back Button: J14 pin 7 */
325 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0
329 pinctrl_i2c1: i2c1grp {
331 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
332 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
336 pinctrl_i2c2: i2c2grp {
338 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
339 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
343 pinctrl_i2c3: i2c3grp {
345 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
346 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
347 /* Touch IRQ: J7 pin 4 */
348 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0
350 MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x1b0b0
352 MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x0b0b0
356 pinctrl_j10: j10grp {
358 /* Broadcom WiFi module pins */
359 MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b0b0
360 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0
361 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
362 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
363 MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x0b0b0
364 MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x1b0b0
365 MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT 0x000b0
369 pinctrl_j28: j28grp {
371 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0
375 pinctrl_leds: ledsgrp {
377 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x0b0b0
378 MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x0b0b0
379 MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x030b0
380 MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x0b0b0
381 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0b0b0
385 pinctrl_pwm1: pwm1grp {
387 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1
391 pinctrl_pwm3: pwm3grp {
393 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
397 pinctrl_pwm4: pwm4grp {
399 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
403 pinctrl_wlan_vmmc: wlan-vmmcgrp {
405 MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x030b0
409 pinctrl_rtc: rtcgrp {
411 MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x1b0b0
415 pinctrl_sgtl5000: sgtl5000grp {
417 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x000b0
418 MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x1b0b0
422 pinctrl_uart1: uart1grp {
424 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
425 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
429 pinctrl_uart2: uart2grp {
431 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
432 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
436 pinctrl_uart3: uart3grp {
438 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
439 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
440 MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
441 MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1
445 pinctrl_usbotg: usbotggrp {
447 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
448 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0
449 /* power enable, high active */
450 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0
454 pinctrl_usdhc2: usdhc2grp {
456 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
457 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
458 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
459 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
460 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
461 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
465 pinctrl_usdhc3: usdhc3grp {
467 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
468 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
469 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
470 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
471 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
472 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
473 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0
488 lvds0_out: endpoint {
489 remote-endpoint = <&panel_in_lvds0>;
500 pinctrl-names = "default";
501 pinctrl-0 = <&pinctrl_pwm1>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&pinctrl_pwm3>;
512 pinctrl-names = "default";
513 pinctrl-0 = <&pinctrl_pwm4>;
522 pinctrl-names = "default";
523 pinctrl-0 = <&pinctrl_uart1>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&pinctrl_uart2>;
534 pinctrl-names = "default";
535 pinctrl-0 = <&pinctrl_uart3>;
545 vbus-supply = <®_usb_otg_vbus>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&pinctrl_usbotg>;
548 disable-over-current;
553 pinctrl-names = "default";
554 pinctrl-0 = <&pinctrl_usdhc2>;
557 vmmc-supply = <®_3p3v>;
558 vqmmc-supply = <®_wlan_vmmc>;
560 ocr-limit = <0x180>; /* 1.65v - 2.1v */
562 keep-power-in-suspend;
567 pinctrl-names = "default";
568 pinctrl-0 = <&pinctrl_usdhc3>;
569 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
570 vmmc-supply = <®_3p3v>;