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/pwm/pwm.h>
10 backlight: backlight {
11 compatible = "pwm-backlight";
12 pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
13 brightness-levels = <0 32 64 128 255>;
14 default-brightness-level = <32>;
15 num-interpolated-steps = <8>;
16 power-supply = <&sw2_reg>;
20 lcd_display: display {
21 compatible = "fsl,imx-parallel-display";
24 interface-pix-fmt = "rgb24";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pinctrl_ipu1>;
32 lcd_display_in: endpoint {
33 remote-endpoint = <&ipu1_di0_disp0>;
40 lcd_display_out: endpoint {
41 remote-endpoint = <&lcd_panel_in>;
47 compatible = "dataimage,scf0700c48ggu18";
48 power-supply = <&sw2_reg>;
52 lcd_panel_in: endpoint {
53 remote-endpoint = <&lcd_display_out>;
58 reg_pcie: regulator-pcie {
59 compatible = "regulator-fixed";
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_pcie_reg>;
62 regulator-name = "MPCIE_3V3";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
65 gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>;
70 reg_usb_h1_vbus: regulator-usb-h1-vbus {
71 compatible = "regulator-fixed";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_usbh1_vbus>;
74 regulator-name = "usb_h1_vbus";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
77 gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
82 reg_usb_otg_vbus: regulator-usb-otg-vbus {
83 compatible = "regulator-fixed";
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_usbotg_vbus>;
86 regulator-name = "usb_otg_vbus";
87 regulator-min-microvolt = <5000000>;
88 regulator-max-microvolt = <5000000>;
89 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_enet>;
98 phy-mode = "rgmii-id";
99 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
100 phy-reset-duration = <20>;
101 phy-supply = <&sw2_reg>;
102 phy-handle = <ðphy0>;
106 #address-cells = <1>;
118 compatible = "qca,qca8334";
121 switch_ports: ports {
122 #address-cells = <1>;
128 phy-mode = "rgmii-id";
140 phy-handle = <&phy_port2>;
146 phy-handle = <&phy_port3>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&pinctrl_hdmi_cec>;
156 ddc-i2c-bus = <&i2c2>;
161 clock-frequency = <100000>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&pinctrl_i2c2>;
167 compatible = "fsl,pfuze200";
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_pmic>;
174 regulator-min-microvolt = <300000>;
175 regulator-max-microvolt = <1875000>;
178 regulator-ramp-delay = <6250>;
182 regulator-min-microvolt = <800000>;
183 regulator-max-microvolt = <3300000>;
189 regulator-min-microvolt = <400000>;
190 regulator-max-microvolt = <1975000>;
196 regulator-min-microvolt = <400000>;
197 regulator-max-microvolt = <1975000>;
203 regulator-min-microvolt = <5000000>;
204 regulator-max-microvolt = <5150000>;
208 regulator-min-microvolt = <800000>;
209 regulator-max-microvolt = <1550000>;
213 regulator-min-microvolt = <800000>;
214 regulator-max-microvolt = <1550000>;
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <3300000>;
224 regulator-min-microvolt = <1800000>;
225 regulator-max-microvolt = <3300000>;
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <3300000>;
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <3300000>;
247 regulator-min-microvolt = <1000000>;
248 regulator-max-microvolt = <3000000>;
255 leds: led-controller@30 {
256 compatible = "ti,lp5562";
258 clock-mode = /bits/ 8 <1>;
263 led-cur = /bits/ 8 <0x20>;
264 max-cur = /bits/ 8 <0x60>;
269 led-cur = /bits/ 8 <0x20>;
270 max-cur = /bits/ 8 <0x60>;
275 led-cur = /bits/ 8 <0x20>;
276 max-cur = /bits/ 8 <0x60>;
281 led-cur = /bits/ 8 <0x0>;
282 max-cur = /bits/ 8 <0x0>;
287 compatible = "atmel,24c128";
293 touchscreen: touchscreen@5c {
294 compatible = "pixcir,pixcir_tangoc";
296 pinctrl-0 = <&pinctrl_touch>;
297 interrupt-parent = <&gpio4>;
298 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
299 attb-gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;
300 reset-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
301 touchscreen-size-x = <800>;
302 touchscreen-size-y = <480>;
308 clock-frequency = <100000>;
309 pinctrl-names = "default";
310 pinctrl-0 = <&pinctrl_i2c3>;
314 compatible = "solomon,ssd1305fb-i2c";
316 solomon,height = <64>;
317 solomon,width = <128>;
318 solomon,page-offset = <0>;
319 solomon,prechargep2 = <15>;
320 reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
321 vbat-supply = <&sw2_reg>;
326 compatible = "nxp,pca9536";
330 vcc-supply = <&sw2_reg>;
336 pinctrl_enet: enetgrp {
338 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b020
339 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b020
340 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b020
341 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b020
342 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b020
343 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b020
344 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b020
345 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b020
346 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b020
347 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b020
348 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b020
349 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b020
350 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b020
351 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b020
352 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b010
353 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x1b010
354 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b098
358 pinctrl_hdmi_cec: hdmicecgrp {
360 MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE 0x1b898
364 pinctrl_i2c2: i2c2grp {
366 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b899
367 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b899
371 pinctrl_i2c3: i2c3grp {
373 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b899
374 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b899
378 pinctrl_ipu1: ipu1grp {
380 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
381 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10
382 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10
383 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10
384 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10
385 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10
386 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10
387 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10
388 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10
389 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10
390 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10
391 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10
392 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10
393 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10
394 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10
395 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10
396 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10
397 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10
398 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10
399 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10
400 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10
401 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10
402 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10
403 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10
404 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10
405 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10
406 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10
410 pinctrl_pcie: pciegrp {
412 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b098
413 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x1b098
414 MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x1b098
418 pinctrl_pcie_reg: pciereggrp {
420 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b098
424 pinctrl_pmic: pmicgrp {
426 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b098
430 pinctrl_pwm1: pwm1grp {
432 MX6QDL_PAD_GPIO_9__PWM1_OUT 0x8
436 pinctrl_touch: touchgrp {
438 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b098
439 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b098
443 pinctrl_uart1: uart1grp {
445 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0a8
446 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0a8
450 pinctrl_usbh1: usbh1grp {
452 MX6QDL_PAD_EIM_D30__USB_H1_OC 0x1b098
456 pinctrl_usbh1_vbus: usbh1-vbus {
458 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x98
462 pinctrl_usbotg: usbotggrp {
464 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x1b098
465 MX6QDL_PAD_EIM_D21__USB_OTG_OC 0x1b098
469 pinctrl_usbotg_vbus: usbotg-vbus {
471 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x98
475 pinctrl_usdhc3: usdhc3grp {
477 MX6QDL_PAD_EIM_A16__GPIO2_IO22 0x1b018
478 MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b018
479 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
480 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
481 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
482 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
483 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
484 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
488 pinctrl_usdhc4: usdhc4grp {
490 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x1f069
491 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10069
492 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17069
493 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17069
494 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17069
495 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17069
496 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17069
497 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17069
498 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17069
499 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17069
503 pinctrl_wdog: wdoggrp {
505 MX6QDL_PAD_GPIO_1__WDOG2_B 0x1b0b0
511 remote-endpoint = <&lcd_display_in>;
515 pinctrl-names = "default";
516 pinctrl-0 = <&pinctrl_pcie>;
517 reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
518 vpcie-supply = <®_pcie>;
524 pinctrl-names = "default";
525 pinctrl-0 = <&pinctrl_pwm1>;
530 pinctrl-names = "default";
531 pinctrl-0 = <&pinctrl_uart1>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&pinctrl_usbh1>;
538 vbus-supply = <®_usb_h1_vbus>;
543 pinctrl-names = "default";
544 pinctrl-0 = <&pinctrl_usbotg>;
545 vbus-supply = <®_usb_otg_vbus>;
553 fsl,tx-d-cal = <106>;
558 fsl,tx-d-cal = <109>;
563 pinctrl-names = "default";
564 pinctrl-0 = <&pinctrl_usdhc3>;
566 cd-gpios = <&gpio7 8 GPIO_ACTIVE_LOW>;
567 wp-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
569 keep-power-in-suspend;
571 vmmc-supply = <&sw2_reg>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&pinctrl_usdhc4>;
581 keep-power-in-suspend;
582 vmmc-supply = <&sw2_reg>;
591 pinctrl-names = "default";
592 pinctrl-0 = <&pinctrl_wdog>;
593 fsl,ext-reset-output;