1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2015-2018 Y Soft Corporation, a.s.
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pwm/pwm.h>
11 backlight: backlight {
12 compatible = "pwm-backlight";
13 pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
14 brightness-levels = <0 32 64 128 255>;
15 default-brightness-level = <32>;
16 num-interpolated-steps = <8>;
17 power-supply = <&sw2_reg>;
21 lcd_display: display {
22 compatible = "fsl,imx-parallel-display";
25 interface-pix-fmt = "rgb24";
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_ipu1>;
33 lcd_display_in: endpoint {
34 remote-endpoint = <&ipu1_di0_disp0>;
41 lcd_display_out: endpoint {
42 remote-endpoint = <&lcd_panel_in>;
48 compatible = "dataimage,scf0700c48ggu18";
49 power-supply = <&sw2_reg>;
53 lcd_panel_in: endpoint {
54 remote-endpoint = <&lcd_display_out>;
59 reg_pcie: regulator-pcie {
60 compatible = "regulator-fixed";
61 pinctrl-names = "default";
62 pinctrl-0 = <&pinctrl_pcie_reg>;
63 regulator-name = "MPCIE_3V3";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
66 gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>;
71 reg_usb_h1_vbus: regulator-usb-h1-vbus {
72 compatible = "regulator-fixed";
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_usbh1_vbus>;
75 regulator-name = "usb_h1_vbus";
76 regulator-min-microvolt = <5000000>;
77 regulator-max-microvolt = <5000000>;
78 gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
83 reg_usb_otg_vbus: regulator-usb-otg-vbus {
84 compatible = "regulator-fixed";
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_usbotg_vbus>;
87 regulator-name = "usb_otg_vbus";
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
90 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&pinctrl_enet>;
99 phy-mode = "rgmii-id";
100 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
101 phy-reset-duration = <20>;
102 phy-supply = <&sw2_reg>;
103 phy-handle = <ðphy0>;
107 #address-cells = <1>;
119 compatible = "qca,qca8334";
122 switch_ports: ports {
123 #address-cells = <1>;
129 phy-mode = "rgmii-id";
141 phy-handle = <&phy_port2>;
147 phy-handle = <&phy_port3>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&pinctrl_hdmi_cec>;
157 ddc-i2c-bus = <&i2c2>;
162 clock-frequency = <100000>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pinctrl_i2c2>;
168 compatible = "fsl,pfuze200";
169 pinctrl-names = "default";
170 pinctrl-0 = <&pinctrl_pmic>;
175 regulator-min-microvolt = <300000>;
176 regulator-max-microvolt = <1875000>;
179 regulator-ramp-delay = <6250>;
183 regulator-min-microvolt = <800000>;
184 regulator-max-microvolt = <3300000>;
190 regulator-min-microvolt = <400000>;
191 regulator-max-microvolt = <1975000>;
197 regulator-min-microvolt = <400000>;
198 regulator-max-microvolt = <1975000>;
204 regulator-min-microvolt = <5000000>;
205 regulator-max-microvolt = <5150000>;
209 regulator-min-microvolt = <800000>;
210 regulator-max-microvolt = <1550000>;
214 regulator-min-microvolt = <800000>;
215 regulator-max-microvolt = <1550000>;
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <3300000>;
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <3300000>;
231 regulator-min-microvolt = <1800000>;
232 regulator-max-microvolt = <3300000>;
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <3300000>;
248 regulator-min-microvolt = <1000000>;
249 regulator-max-microvolt = <3000000>;
256 leds: led-controller@30 {
257 compatible = "ti,lp5562";
259 clock-mode = /bits/ 8 <1>;
264 led-cur = /bits/ 8 <0x20>;
265 max-cur = /bits/ 8 <0x60>;
270 led-cur = /bits/ 8 <0x20>;
271 max-cur = /bits/ 8 <0x60>;
276 led-cur = /bits/ 8 <0x20>;
277 max-cur = /bits/ 8 <0x60>;
282 led-cur = /bits/ 8 <0x0>;
283 max-cur = /bits/ 8 <0x0>;
288 compatible = "atmel,24c128";
294 touchscreen: touchscreen@5c {
295 compatible = "pixcir,pixcir_tangoc";
297 pinctrl-0 = <&pinctrl_touch>;
298 interrupt-parent = <&gpio4>;
299 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
300 attb-gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;
301 reset-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
302 touchscreen-size-x = <800>;
303 touchscreen-size-y = <480>;
309 clock-frequency = <100000>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&pinctrl_i2c3>;
315 compatible = "solomon,ssd1305fb-i2c";
317 solomon,height = <64>;
318 solomon,width = <128>;
319 solomon,page-offset = <0>;
320 solomon,prechargep2 = <15>;
321 reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
322 vbat-supply = <&sw2_reg>;
327 compatible = "nxp,pca9536";
331 vcc-supply = <&sw2_reg>;
336 compatible = "fsl,mpr121-touchkey";
338 vdd-supply = <&sw2_reg>;
340 linux,keycodes = <KEY_1>, <KEY_2>, <KEY_3>, <KEY_4>, <KEY_5>,
341 <KEY_6>, <KEY_7>, <KEY_8>, <KEY_9>,
342 <KEY_BACKSPACE>, <KEY_0>, <KEY_ENTER>;
343 poll-interval = <50>;
349 pinctrl_enet: enetgrp {
351 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b020
352 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b020
353 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b020
354 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b020
355 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b020
356 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b020
357 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b020
358 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b020
359 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b020
360 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b020
361 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b020
362 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b020
363 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b020
364 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b020
365 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b010
366 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x1b010
367 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b098
371 pinctrl_hdmi_cec: hdmicecgrp {
373 MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE 0x1b898
377 pinctrl_i2c2: i2c2grp {
379 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b899
380 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b899
384 pinctrl_i2c3: i2c3grp {
386 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b899
387 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b899
391 pinctrl_ipu1: ipu1grp {
393 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
394 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
395 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
396 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
397 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
398 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
399 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
400 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
401 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
402 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
403 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
404 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
405 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
406 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
407 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
408 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
409 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
410 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
411 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
412 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
413 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
414 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
415 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
416 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
417 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
418 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
419 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
423 pinctrl_pcie: pciegrp {
425 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b098
426 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x1b098
427 MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x1b098
431 pinctrl_pcie_reg: pciereggrp {
433 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b098
437 pinctrl_pmic: pmicgrp {
439 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b098
443 pinctrl_pwm1: pwm1grp {
445 MX6QDL_PAD_GPIO_9__PWM1_OUT 0x8
449 pinctrl_touch: touchgrp {
451 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b098
452 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b098
456 pinctrl_uart1: uart1grp {
458 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0a8
459 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0a8
463 pinctrl_uart2: uart2grp {
465 MX6QDL_PAD_GPIO_7__UART2_TX_DATA 0x1b098
466 MX6QDL_PAD_GPIO_8__UART2_RX_DATA 0x1b098
470 pinctrl_usbh1: usbh1grp {
472 MX6QDL_PAD_EIM_D30__USB_H1_OC 0x1b098
476 pinctrl_usbh1_vbus: usbh1-vbus {
478 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x98
482 pinctrl_usbotg: usbotggrp {
484 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x1b098
485 MX6QDL_PAD_EIM_D21__USB_OTG_OC 0x1b098
489 pinctrl_usbotg_vbus: usbotg-vbus {
491 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x98
495 pinctrl_usdhc3: usdhc3grp {
497 MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x1b018
498 MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b018
499 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
500 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
501 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
502 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
503 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
504 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
508 pinctrl_usdhc4: usdhc4grp {
510 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x1f069
511 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10069
512 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17069
513 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17069
514 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17069
515 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17069
516 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17069
517 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17069
518 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17069
519 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17069
523 pinctrl_wdog: wdoggrp {
525 MX6QDL_PAD_GPIO_1__WDOG2_B 0x1b0b0
531 remote-endpoint = <&lcd_display_in>;
535 pinctrl-names = "default";
536 pinctrl-0 = <&pinctrl_pcie>;
537 reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
538 vpcie-supply = <®_pcie>;
544 pinctrl-names = "default";
545 pinctrl-0 = <&pinctrl_pwm1>;
550 pinctrl-names = "default";
551 pinctrl-0 = <&pinctrl_uart1>;
556 pinctrl-names = "default";
557 pinctrl-0 = <&pinctrl_uart2>;
562 pinctrl-names = "default";
563 pinctrl-0 = <&pinctrl_usbh1>;
564 vbus-supply = <®_usb_h1_vbus>;
569 pinctrl-names = "default";
570 pinctrl-0 = <&pinctrl_usbotg>;
571 vbus-supply = <®_usb_otg_vbus>;
579 fsl,tx-d-cal = <106>;
584 fsl,tx-d-cal = <109>;
589 pinctrl-names = "default";
590 pinctrl-0 = <&pinctrl_usdhc3>;
592 cd-gpios = <&gpio7 8 GPIO_ACTIVE_LOW>;
593 wp-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
595 keep-power-in-suspend;
597 vmmc-supply = <&sw2_reg>;
602 pinctrl-names = "default";
603 pinctrl-0 = <&pinctrl_usdhc4>;
607 keep-power-in-suspend;
608 vmmc-supply = <&sw2_reg>;
617 pinctrl-names = "default";
618 pinctrl-0 = <&pinctrl_wdog>;
619 fsl,ext-reset-output;