From fc95c1137968488a172c45dc66813fd3e79286e8 Mon Sep 17 00:00:00 2001 From: Igor Opaniuk Date: Tue, 26 May 2020 13:23:43 +0300 Subject: overlays: add initial overlays Naming format: __overlay.dts Signed-off-by: Igor Opaniuk --- overlays/apalis-imx8x_display-lt161010_overlay.dts | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 overlays/apalis-imx8x_display-lt161010_overlay.dts (limited to 'overlays/apalis-imx8x_display-lt161010_overlay.dts') diff --git a/overlays/apalis-imx8x_display-lt161010_overlay.dts b/overlays/apalis-imx8x_display-lt161010_overlay.dts new file mode 100644 index 0000000..2e94aa7 --- /dev/null +++ b/overlays/apalis-imx8x_display-lt161010_overlay.dts @@ -0,0 +1,42 @@ +// LT161010 display (7inch) with a resolution of 800x480 pixel. This display can be ordered at Toradex. + +/dts-v1/; +/plugin/; +/ { + compatible = "toradex,apalis-imx8qxp"; + fragment@0 { + target-path = "/lcdif@5a180000"; + __overlay__ { + status = "okay"; + }; + }; + + fragment@1 { + target-path = "/panel-1"; + __overlay__ { + compatible = "panel-dpi"; + + width-mm = <217>; + height-mm = <136>; + + data-mapping = "bgr666"; + + panel-timing { + clock-frequency = <33260000>; + hactive = <800>; + vactive = <480>; + hback-porch = <88>; + hfront-porch = <40>; + vback-porch = <32>; + vfront-porch = <13>; + hsync-len = <48>; + vsync-len = <3>; + + de-active = <1>; + hsync-active = <0>; + vsync-active = <0>; + pixelclk-active = <1>; + }; + }; + }; +}; -- cgit v1.2.3