diff options
author | Stefan Agner <stefan@agner.ch> | 2018-09-07 14:36:08 -0700 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2019-04-25 18:06:50 +0200 |
commit | 415dbeedd91fc8968d5c78cf568657b3619c3f0d (patch) | |
tree | 0c8befb605cebda90e7a2a7945d31fcec18d4a67 | |
parent | e0c313e7aa7d75caef7317fa0f62e07d869c57ff (diff) |
ARM: dts: imx6qdl-apalis: use LVDS panel in device tree
Use the generic LVDS panel compatible in device tree to describe
the upcomming Toradex 10.1 LVDS display.
This also allows to customize LVDS timings using device tree
overlays.
Signed-off-by: Stefan Agner <stefan@agner.ch>
-rw-r--r-- | arch/arm/boot/dts/imx6q-apalis-eval.dts | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-apalis-eval.dts b/arch/arm/boot/dts/imx6q-apalis-eval.dts index 0c50c8e38832..877c6bd6514c 100644 --- a/arch/arm/boot/dts/imx6q-apalis-eval.dts +++ b/arch/arm/boot/dts/imx6q-apalis-eval.dts @@ -133,6 +133,36 @@ }; }; + panel_lvds: panel-lvds { + compatible = "panel-lvds"; + + width-mm = <218>; + height-mm = <137>; + + data-mapping = "vesa-24"; + + panel-timing { + clock-frequency = <68930000>; + hactive = <1280>; + vactive = <800>; + hback-porch = <64>; + hfront-porch = <64>; + vback-porch = <5>; + vfront-porch = <5>; + hsync-len = <40>; + vsync-len = <6>; + hsync-active = <0>; + vsync-active = <0>; + pixelclk-active = <0>; + }; + + port { + lvds_panel_in: endpoint { + remote-endpoint = <&lvds_out>; + }; + }; + }; + reg_pcie_switch: regulator-pcie-switch { compatible = "regulator-fixed"; regulator-name = "pcie_switch"; @@ -221,6 +251,19 @@ &ldb { status = "okay"; + + lvds-channel@0 { + status = "okay"; + primary; + + port@4 { + reg = <4>; + + lvds_out: endpoint { + remote-endpoint = <&lvds_panel_in>; + }; + }; + }; }; &pcie { |