summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx6ull-colibri-u-boot.dtsi
blob: afdb0f43cf0ddab5e62d307229adc3add7318f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2019 Toradex AG
 */

/ {
	aliases {
		u-boot,dm-pre-reloc;
		mmc0 = &usdhc1;
		usb0 = &usbotg1; /* required for ums */
		display0 = &lcdif;
	};
};

&pinctrl_uart1 {
	u-boot,dm-pre-reloc;
};

&pinctrl_uart1_ctrl1 {
	u-boot,dm-pre-reloc;
};

&lcdif {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_lcdif_dat
		     &pinctrl_lcdif_ctrl>;
	status = "okay";
	display = <&display0>;
	u-boot,dm-pre-reloc;

	display0: display0 {
		bits-per-pixel = <18>;
		bus-width = <24>;
		status = "okay";

		display-timings {
			native-mode = <&timing_vga>;
			timing_vga: 640x480 {
				u-boot,dm-pre-reloc;
				clock-frequency = <25175000>;
				hactive = <640>;
				vactive = <480>;
				hback-porch = <40>;
				hfront-porch = <24>;
				vback-porch = <32>;
				vfront-porch = <11>;
				hsync-len = <96>;
				vsync-len = <2>;

				de-active = <1>;
				hsync-active = <0>;
				vsync-active = <0>;
				pixelclk-active = <0>;
			};
		};
	};
};