blob: ef19de2b30885992ff76c710c4d2d1231c7df2f9 [file] [log] [blame]
Joris Offouga55cfce62019-08-30 14:39:49 +02001/{
2 aliases {
3 mmc0 = &usdhc3;
4 usb0 = &usbotg1;
Joris Offougadaf2be12019-08-30 14:44:36 +02005 display0 = &lcdif;
Joris Offouga55cfce62019-08-30 14:39:49 +02006 };
Joris Offougadaf2be12019-08-30 14:44:36 +02007
8 backlight: backlight {
9 compatible = "pwm-backlight";
10 pinctrl-names = "default";
11 pinctrl-0 = <&pinctrl_backlight>;
12 pwms = <&pwm4 0 50000 0>;
13 brightness-levels = <0 36 72 108 144 180 216 255>;
14 default-brightness-level = <6>;
15 status = "okay";
16 };
17
18 reg_lcd_3v3: regulator-lcd-3v3 {
19 compatible = "regulator-fixed";
20 regulator-name = "lcd-3v3";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
23 gpio = <&gpio1 6 GPIO_ACTIVE_HIGH>;
24 enable-active-high;
25 };
26
27 panel {
28 compatible = "vxt,vl050-8048nt-c01";
29 backlight = <&backlight>;
30 power-supply = <&reg_lcd_3v3>;
31
32 port {
33 panel_in: endpoint {
34 remote-endpoint = <&display_out>;
35 };
36 };
37 };
Joris Offouga55cfce62019-08-30 14:39:49 +020038};
39
40&usbotg1 {
41 dr_mode = "peripheral";
42 };
43
Joris Offougadaf2be12019-08-30 14:44:36 +020044&lcdif {
45 pinctrl-names = "default";
46 pinctrl-0 = <&pinctrl_lcdif>;
47 status = "okay";
48 display = <&display0>;
49 u-boot,dm-pre-reloc;
50
51 port {
52 display_out: endpoint {
53 remote-endpoint = <&panel_in>;
54 };
55 };
56
57 display0: display {
58 bits-per-pixel = <16>;
59 bus-width = <24>;
60
61 display-timings {
62 native-mode = <&timing0>;
63 timing0: timing0 {
64 clock-frequency = <33260000>;
65 hactive = <800>;
66 vactive = <480>;
67 hback-porch = <11>;
68 hfront-porch = <11>;
69 vback-porch = <12>;
70 vfront-porch = <11>;
71 hsync-len = <46>;
72 vsync-len = <210>;
73 hsync-active = <0>;
74 vsync-active = <0>;
75 de-active = <1>;
76 pixelclk-active = <1>;
77 interlaced = <0>;
78 };
79 };
80 };
81};
82
83&iomuxc {
84 pinctrl_backlight: backlight {
85 fsl,pins = <
86 MX7D_PAD_GPIO1_IO11__PWM4_OUT 0x0
87 >;
88 };
89
90 pinctrl_lcdif: lcdifgrp {
91 fsl,pins = <
92 MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79
93 MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79
94 MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79
95 MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79
96 MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79
97 MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79
98 MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79
99 MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79
100 MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79
101 MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79
102 MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79
103 MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79
104 MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79
105 MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79
106 MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79
107 MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79
108 MX7D_PAD_LCD_DATA16__LCD_DATA16 0x79
109 MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79
110 MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79
111 MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79
112 MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79
113 MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79
114 MX7D_PAD_LCD_DATA22__LCD_DATA22 0x79
115 MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79
116 MX7D_PAD_LCD_CLK__LCD_CLK 0x79
117 MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x78
118 MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x78
119 MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x78
120 MX7D_PAD_LCD_RESET__GPIO3_IO4 0x14
121 >;
122 };
123
124};