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