// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright 2020-2021 Toradex */ // LVDS display overlay for Apalis Evaluation board Mezzanine #include /dts-v1/; /plugin/; / { compatible = "toradex,apalis-imx8"; }; &ldb1 { status = "okay"; lvds-channel@0 { #address-cells = <1>; #size-cells = <0>; fsl,data-mapping = "spwg"; fsl,data-width = <24>; status = "okay"; port@1 { reg = <1>; lvds1_out: endpoint { remote-endpoint = <&panel_lvds_in>; }; }; }; }; &ldb1_phy { status = "okay"; }; &panel_lvds { status = "okay"; }; /* Enable 10" LVDS backlight LVDS_0_BKL1_ON */ &lsio_gpio1 { LVDS_0_BKL1_ON { gpio-hog; gpios = <22 GPIO_ACTIVE_HIGH>; line-name = "LVDS_0_BKL1_ON"; output-high; }; }; /* * Put LVDS_0_PWM_BKL1 (GPIO8) low. GPIO8 is shared with gpio-fan. * JP20 should be set to 1-2 (automatic) instead of GPIO8 (2-3). */ &lsio_gpio3 { PWM_BKL1 { gpio-hog; gpios = <28 GPIO_ACTIVE_HIGH>; line-name = "LVDS_0_PWM_BKL1"; output-low; }; }; &gpio_fan { status = "disabled"; };