summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx7_lcd-vga_overlay.dts
blob: 25d2028970cb3cc3883b93c5b21b15f6bbe22676 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2020-2021 Toradex
 */

// Enable the parallel RGB interface with settings for VGA Displays on the Colibri iMX7
#include <dt-bindings/clock/imx7d-clock.h>

/dts-v1/;
/plugin/;

/ {
	compatible = "toradex,colibri-imx7d",
		     "toradex,colibri-imx7d-emmc",
		     "toradex,colibri-imx7s";
};

&backlight {
	status = "okay";
};

&display0 {
	display-timings {
		native-mode = <&timing_vga>;
	};
};

&lcdif {
	assigned-clocks = <&clks IMX7D_PLL_VIDEO_MAIN>,
			  <&clks IMX7D_LCDIF_PIXEL_ROOT_SRC>;
	assigned-clock-parents = <&clks IMX7D_PLL_VIDEO_MAIN_SRC>,
				 <&clks IMX7D_PLL_VIDEO_POST_DIV>;
	assigned-clock-rates = <853176000>, <213294000>;
	status = "okay";
};

&pwm1 {
	status = "okay";
};