blob: c6856823c64d2d14e352d3b4264539d374653b4e [file] [log] [blame]
Fabio Estevamee84bfe2023-09-12 12:11:00 -03001#include "imx7s-u-boot.dtsi"
2
Joris Offouga55cfce62019-08-30 14:39:49 +02003/{
4 aliases {
5 mmc0 = &usdhc3;
6 usb0 = &usbotg1;
Joris Offougadaf2be12019-08-30 14:44:36 +02007 display0 = &lcdif;
Joris Offouga55cfce62019-08-30 14:39:49 +02008 };
Fabio Estevamf9c33002023-10-26 18:01:53 -03009
10 wdt-reboot {
11 compatible = "wdt-reboot";
12 wdt = <&wdog1>;
13 bootph-pre-ram;
14 };
Joris Offouga55cfce62019-08-30 14:39:49 +020015};
16
17&usbotg1 {
18 dr_mode = "peripheral";
19 };
20
Joris Offougadaf2be12019-08-30 14:44:36 +020021&lcdif {
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinctrl_lcdif>;
24 status = "okay";
25 display = <&display0>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070026 bootph-all;
Joris Offougadaf2be12019-08-30 14:44:36 +020027
Joris Offougadaf2be12019-08-30 14:44:36 +020028 display0: display {
29 bits-per-pixel = <16>;
30 bus-width = <24>;
31
32 display-timings {
33 native-mode = <&timing0>;
34 timing0: timing0 {
35 clock-frequency = <33260000>;
36 hactive = <800>;
37 vactive = <480>;
38 hback-porch = <11>;
39 hfront-porch = <11>;
40 vback-porch = <12>;
41 vfront-porch = <11>;
42 hsync-len = <46>;
43 vsync-len = <210>;
44 hsync-active = <0>;
45 vsync-active = <0>;
46 de-active = <1>;
47 pixelclk-active = <1>;
48 interlaced = <0>;
49 };
50 };
51 };
52};
53
Fabio Estevamf9c33002023-10-26 18:01:53 -030054&wdog1 {
55 bootph-pre-ram;
56};
57
Joris Offougadaf2be12019-08-30 14:44:36 +020058&iomuxc {
59 pinctrl_backlight: backlight {
60 fsl,pins = <
61 MX7D_PAD_GPIO1_IO11__PWM4_OUT 0x0
62 >;
63 };
64
65 pinctrl_lcdif: lcdifgrp {
66 fsl,pins = <
67 MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79
68 MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79
69 MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79
70 MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79
71 MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79
72 MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79
73 MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79
74 MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79
75 MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79
76 MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79
77 MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79
78 MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79
79 MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79
80 MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79
81 MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79
82 MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79
83 MX7D_PAD_LCD_DATA16__LCD_DATA16 0x79
84 MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79
85 MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79
86 MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79
87 MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79
88 MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79
89 MX7D_PAD_LCD_DATA22__LCD_DATA22 0x79
90 MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79
91 MX7D_PAD_LCD_CLK__LCD_CLK 0x79
92 MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x78
93 MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x78
94 MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x78
95 MX7D_PAD_LCD_RESET__GPIO3_IO4 0x14
96 >;
97 };
98
99};