]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/imx6q-tx6q-1010-comtft.dts
video: mxc: use of_get_videomode() to set up the video timing
[karo-tx-linux.git] / arch / arm / boot / dts / imx6q-tx6q-1010-comtft.dts
index 8c6f6b9d8ad1ab5d955664b4e02ba5d72b284463..e170d4e69a5879c852b80ed92ff6bb4eebd4aaf2 100644 (file)
@@ -18,7 +18,7 @@
        compatible = "karo,imx6q-tx6q", "fsl,imx6q";
 
        aliases {
-               display = &display;
+               display = &lcd;
                mxcfb0 = &display;
        };
 
                                     90 91 92 93 94 95 96 97 98 99
                                    100>;
                default-brightness-level = <50>;
-        };
+       };
 
        display: fb@2 {
                compatible = "fsl,mxc_sdc_fb";
                disp_dev = "lcd";
                interface_pix_fmt = "RGB24";
-               mode_str ="ET0500";
+               mode_str = "";
                default_bpp = <32>;
                int_clk = <1>;
                late_init = <0>;
                status = "okay";
        };
 
-       lcd@0 {
+       lcd: lcd@0 {
                compatible = "fsl,lcd";
                ipu_id = <0>;
                disp_id = <0>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_disp0_2>;
                status = "okay";
+
+               display-timings {
+                       native-mode = <&ET070001DM6>;
+
+                       ET070001DM6: CoMTFT { /* same as ET0700 but with inverted pixel clock */
+                               clock-frequency = <33264000>;
+                               hactive = <800>;
+                               vactive = <480>;
+                               hback-porch = <88>;
+                               hsync-len = <128>;
+                               hfront-porch = <40>;
+                               vback-porch = <33>;
+                               vsync-len = <2>;
+                               vfront-porch = <10>;
+                               hsync-active = <0>;
+                               vsync-active = <0>;
+                               de-active = <1>;
+                               pixelclk-active = <1>;
+                       };
+               };
        };
 };