diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2022-08-31 10:23:05 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-09-01 18:32:41 +0200 |
commit | e74c92e79c5872009f0ea7044508cefb4abc2f5c (patch) | |
tree | 5041a9013af2565db9a541102ae258bf65a55857 | |
parent | dc9267a0a8fdd891624293df59cc8ed535276b95 (diff) |
arm64: dts: imx8mp-verdin: add native lvds functionality
The LVDS signals generated from the LDB can be accessed on the Verdin
Development Board mezzanine connector.
Add a panel and ldb node in the device tree and allow for enabling it
in a overlay.
Upstream-status: Pending [mainline does not support LDB yet]
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index bfdf2b649a08..969899414096 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -74,6 +74,19 @@ status = "disabled"; }; + panel_lvds_mez: panel-lvds-mez { + compatible = "panel-lvds"; + backlight = <&backlight_mezzanine>; + data-mapping = "vesa-24"; + status = "disabled"; + + port { + panel_lvds_in: endpoint { + remote-endpoint = <&lvds_out>; + }; + }; + }; + sound_hdmi: sound-hdmi { compatible = "fsl,imx-audio-hdmi"; model = "audio-hdmi"; @@ -793,6 +806,24 @@ }; }; +&ldb { + status = "disabled"; + + lvds_channel0: lvds-channel@0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + port@1 { + reg = <1>; + + lvds_out: endpoint { + remote-endpoint = <&panel_lvds_in>; + }; + }; + }; +}; + /* TODO: Verdin PCIE_1 */ /* Verdin PWM_1 */ |