diff options
Diffstat (limited to 'overlays/verdin-imx8mp_sn65dsi84-lt170410_overlay.dts')
-rw-r--r-- | overlays/verdin-imx8mp_sn65dsi84-lt170410_overlay.dts | 68 |
1 files changed, 41 insertions, 27 deletions
diff --git a/overlays/verdin-imx8mp_sn65dsi84-lt170410_overlay.dts b/overlays/verdin-imx8mp_sn65dsi84-lt170410_overlay.dts index d8e585d..01ee40e 100644 --- a/overlays/verdin-imx8mp_sn65dsi84-lt170410_overlay.dts +++ b/overlays/verdin-imx8mp_sn65dsi84-lt170410_overlay.dts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* - * Copyright 2020-2021 Toradex + * Copyright 2020-2022 Toradex */ // Verdin DSI to LVDS Adapter with connected LT170410 display (10 inch) with a @@ -13,32 +13,46 @@ compatible = "toradex,verdin-imx8mp"; }; -&lvds_ti_sn65dsi83 { - ti,dsi-lanes = <4>; - ti,height-mm = <136>; - ti,lvds-bpp = <24>; - ti,lvds-format = <2>; - ti,width-mm = <217>; - - display-timings { - native-mode = <&lvds_timing0>; - - lvds_timing0: lt170410_2whc { - /* - * PLL1 is at 2079000000, take PLL1/30 - * otherwise we don't get a picture on NXP i.MX 8M Plus - */ - clock-frequency = <69300000>; - hactive = <1280 1280 1280>; - hfront-porch = <23 60 71>; - hback-porch = <23 60 71>; - hsync-len = <15 40 47>; - vactive = <800 800 800>; - vfront-porch = <5 7 10>; - vback-porch = <5 7 10>; - vsync-len = <6 9 12>; - de-active = <1>; - pixelclk-active = <0>; +&lvds_ti_sn65dsi84 { + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@2 { + reg = <2>; + + lvds_out_panel: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; +}; + +&panel_lvds { + compatible = "panel-lvds"; + backlight = <&backlight>; + data-mapping = "vesa-24"; + height-mm = <136>; + width-mm = <217>; + status = "okay"; + + panel-timing { + clock-frequency = <68900000 71100000 73400000>; + de-active = <1>; + hactive = <1280 1280 1280>; + hback-porch = <23 60 71>; + hfront-porch = <23 60 71>; + hsync-len = <15 40 47>; + pixelclk-active = <1>; /* positive edge */ + vactive = <800 800 800>; + vback-porch = <5 7 10>; + vfront-porch = <5 7 10>; + vsync-len = <6 9 12>; + }; + + port { + panel_in_lvds: endpoint { + remote-endpoint = <&lvds_out_panel>; }; }; }; |