Signed-off-by: Josep Orga <jorga@somdevices.com>
#define DUAL_ETH
+#define BIG_LCD
#include "imx6ull-somdevices.dtsi"
* published by the Free Software Foundation.
*/
/* #define DUAL_ETH */
+/* #define BIG_LCD */
/* #define MMC_SPI */
/dts-v1/;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
- clock-frequency = <9200000>;
- hactive = <480>;
- vactive = <272>;
- hfront-porch = <8>;
- hback-porch = <4>;
- hsync-len = <41>;
- vback-porch = <2>;
- vfront-porch = <4>;
- vsync-len = <10>;
-
- hsync-active = <0>;
- vsync-active = <0>;
- de-active = <1>;
- pixelclk-active = <0>;
+ #ifdef BIG_LCD
+ //7INCH LCD
+ clock-frequency = <33000000>;
+ hactive = <800>;
+ vactive = <480>;
+ hfront-porch = <210>;
+ hback-porch = <30>;
+ hsync-len = <16>;
+ vback-porch = <13>;
+ vfront-porch = <22>;
+ vsync-len = <10>;
+ #else
+ //4INCH LCD
+ clock-frequency = <9000000>;
+ hactive = <480>;
+ vactive = <272>;
+ hfront-porch = <2>;
+ hback-porch = <43>;
+ hsync-len = <0>;
+ vback-porch = <12>;
+ vfront-porch = <1>;
+ vsync-len = <0>;
+ #endif
+
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <1>;
+ pixelclk-active = <0>;
};
};
};