]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: colibri_imx7: Add lcdif node
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 3 Jun 2019 21:06:00 +0000 (00:06 +0300)
committerAnatolij Gustschin <agust@denx.de>
Tue, 4 Jun 2019 21:29:26 +0000 (23:29 +0200)
Extend lcdif DT node with proper display-timings for mxsfb driver.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
arch/arm/dts/imx7-colibri-emmc.dts
arch/arm/dts/imx7-colibri.dtsi

index efd600091dab9fc2009a99c12391bfb0b4dea182..8db2a6270783f79cf2a80ceba144b873f036b577 100644 (file)
        compatible = "toradex,imx7d-colibri-emmc", "fsl,imx7d";
 
        aliases {
+               u-boot,dm-pre-reloc;
                mmc0 = &usdhc3;
                mmc1 = &usdhc1;
+               display1 = &lcdif;
        };
 
        chosen {
index a85702f5194783183487339c25d2a30b094edb26..81717c233d1ca9dd800d6ae44d683cf6f1c26932 100644 (file)
                >;
        };
 };
+
+&lcdif {
+       u-boot,dm-pre-reloc;
+       status = "okay";
+
+       display-timings {
+               native-mode = <&timing_vga>;
+
+               /* Standard VGA timing */
+               timing_vga: 640x480 {
+                       u-boot,dm-pre-reloc;
+                       clock-frequency = <25175000>;
+                       hactive = <640>;
+                       vactive = <480>;
+                       hback-porch = <48>;
+                       hfront-porch = <16>;
+                       vback-porch = <33>;
+                       vfront-porch = <10>;
+                       hsync-len = <96>;
+                       vsync-len = <2>;
+
+                       de-active = <1>;
+                       hsync-active = <0>;
+                       vsync-active = <0>;
+                       pixelclk-active = <0>;
+               };
+       };
+};