1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Copyright 2020 Toradex
4 */
5
6&lcdif {
7	status = "okay";
8	pinctrl-names = "default";
9	pinctrl-0 = <&pinctrl_lcdif_dat
10		     &pinctrl_lcdif_ctrl>;
11	display = <&display0>;
12	u-boot,dm-pre-reloc;
13
14	display0: display0 {
15		bits-per-pixel = <18>;
16		bus-width = <18>;
17		status = "okay";
18
19		display-timings {
20			native-mode = <&timing_vga>;
21			timing_vga: 640x480 {
22				clock-frequency = <25175000>;
23				hactive = <640>;
24				vactive = <480>;
25				hback-porch = <40>;
26				hfront-porch = <24>;
27				vback-porch = <32>;
28				vfront-porch = <11>;
29				hsync-len = <96>;
30				vsync-len = <2>;
31
32				de-active = <1>;
33				hsync-active = <0>;
34				vsync-active = <0>;
35				pixelclk-active = <0>;
36			};
37		};
38	};
39};
40