diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-03-24 18:46:52 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-03-29 22:27:55 +0300 |
commit | ed947dc51c45ba641191ab4e84914922a0edd85d (patch) | |
tree | 499883ed6e98b5bbb4cdd6f810cc8a831e6df988 /overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts | |
parent | 3191af75181fd11bdfb62973e7e865e73b99baab (diff) |
overlays: colibri-imx8x: add LVDS transceiver
Add the overlay to support LCD-LVDS transceiver on Iris v2.0A.
Related-to: ELB-3876
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts')
-rw-r--r-- | overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts b/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts new file mode 100644 index 0000000..80d0034 --- /dev/null +++ b/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts @@ -0,0 +1,65 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2021 Toradex + */ + +// Enable the parallel RGB interface Colibri iMX8X and LVDS tranceiver on Iris v2.0 + +#include <dt-bindings/gpio/gpio.h> + +/dts-v1/; +/plugin/; +/ { + compatible = "toradex,colibri-imx8x"; +}; + +&adma_pwm { + status = "okay"; +}; + +&adma_pwm_lpcg { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&display_lcdif { + status = "okay"; +}; + +/* Need to be disabled due to overlapped pins SODIMM_55, SODIMM_63 */ +&flexcan2 { + status = "disabled"; +}; + +&lsio_gpio1 { + /* + * This switches the LVDS transceiver to the single-channel + * output mode. + */ + LVDS_MODE { + gpio-hog; + gpios = <18 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "LVDS_MODE"; + }; +}; + +&lsio_gpio3 { + /* This turns the LVDS transceiver on */ + LVDS_PWRDWN { + gpio-hog; + gpios = <18 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "LVDS_PWRDWN"; + }; +}; + +&panel_dpi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds_converter>; + status = "okay"; +}; + |