Skip to content
Snippets Groups Projects
Commit 855d28fb authored by Gianfranco Mariotti's avatar Gianfranco Mariotti Committed by Tobias Kahlki
Browse files

[D18] add HDMI+LVDS FHD dual-channel video support

* enabled at u-boot: seco_config tool
parent 15ca3d3b
No related branches found
No related tags found
2 merge requests!455CI: Update gitlab-ci,!374dts:d18: Add support for D18 SMARC (aka Levy) module
......@@ -6,6 +6,7 @@ dtbo-$(CONFIG_ARCH_MXC) += \
seco-imx8mp-d18-lvds-fhd.dtbo\
seco-imx8mp-d18-lvds-wvga.dtbo\
seco-imx8mp-d18-hdmi-edp.dtbo\
seco-imx8mp-d18-hdmi-lvds-fhd.dtbo\
seco-imx8mp-d18-audio-btsco.dtbo
targets += dtbs dtbs_install
......
/*
* Copyright 2021 SECO
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <dt-bindings/gpio/gpio.h>
/dts-v1/;
/plugin/;
/ {
compatible = "fsl,imx8mp-evk", "seco,imx8mp-d18", "fsl,imx8mp";
/* __________________________________________________________________________
* | |
* | HDMI |
* |__________________________________________________________________________|
*/
fragment@0 {
target = <&hdmi>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&lcdif3>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&hdmi_blk_ctrl>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&hdmi_pavi>;
__overlay__ {
status = "okay";
};
};
fragment@4 {
target = <&irqsteer_hdmi>;
__overlay__ {
status = "okay";
};
};
fragment@5 {
target = <&soundhdmi>;
__overlay__ {
status = "okay";
};
};
fragment@6 {
target = <&hdmiphy>;
__overlay__ {
status = "okay";
};
};
fragment@7 {
target = <&dsp>;
__overlay__ {
status = "okay";
};
};
fragment@8 {
target = <&aud2htx>;
__overlay__ {
status = "okay";
};
};
/* __________________________________________________________________________
* | |
* | LVDS |
* |__________________________________________________________________________|
*/
fragment@9 {
target-path = "/";
__overlay__ {
panel_lvds: lvds_panel {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nlt,nl192108ac18-02d";
status = "okay";
port {
panel_lvds_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
};
};
};
fragment@10 {
target = <&ldb>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
fsl,dual-channel;
lvds-channel@0 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
/delete-node/ port@1;
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
lvds_out: endpoint {
remote-endpoint = <&panel_lvds_in>;
};
};
};
};
};
fragment@11 {
target = <&lcdif2>;
__overlay__ {
status = "okay";
};
};
fragment@12 {
target = <&ldb_phy>;
__overlay__ {
status = "okay";
};
};
fragment@13 {
target-path = "/";
__overlay__ {
reg_lcd0_vdd_en: regulator-lcd0-vdd-en {
compatible = "regulator-fixed";
regulator-name = "lcd0_vdd_en";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio4 21 0>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
status = "okay";
};
reg_lcd0_bkl_en: regulator-lcd0-bkl-en {
compatible = "regulator-fixed";
regulator-name = "lcd0_bkl_en";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio1 6 0>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
status = "okay";
};
};
};
fragment@14 {
target-path = "/";
__overlay__ {
lcd0_backlight {
compatible = "pwm-backlight";
pwms = <&pwm1 0 100000>;
status = "okay";
brightness-levels = <0 100>;
num-interpolated-steps = <100>;
default-brightness-level = <80>;
};
};
};
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment