ARM: dts: colibri_imx7: Fix lcdif node definition

Fix lcdif DT node and make it conform to the structure defined in the
Linux devicetree bindings [1]. Currently there is support only for
old style lcdif node definitions.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/display/mxsfb.txt

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
This commit is contained in:
Igor Opaniuk 2019-06-19 11:47:06 +03:00 committed by Anatolij Gustschin
parent e19441ecbc
commit 34b773d507

View file

@ -113,13 +113,17 @@
}; };
&lcdif { &lcdif {
status = "okay";
display = <&display0>;
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
display0: display0 {
bits-per-pixel = <18>;
bus-width = <24>;
status = "okay"; status = "okay";
display-timings { display-timings {
native-mode = <&timing_vga>; native-mode = <&timing_vga>;
/* Standard VGA timing */
timing_vga: 640x480 { timing_vga: 640x480 {
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
clock-frequency = <25175000>; clock-frequency = <25175000>;
@ -139,3 +143,4 @@
}; };
}; };
}; };
};