1*ae5de77eSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 2*ae5de77eSEmmanuel Vadot/* 3*ae5de77eSEmmanuel Vadot * Copyright (C) 2025 PHYTEC Messtechnik GmbH 4*ae5de77eSEmmanuel Vadot */ 5*ae5de77eSEmmanuel Vadot 6*ae5de77eSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 7*ae5de77eSEmmanuel Vadot#include <dt-bindings/clock/imx8mp-clock.h> 8*ae5de77eSEmmanuel Vadot 9*ae5de77eSEmmanuel Vadot/dts-v1/; 10*ae5de77eSEmmanuel Vadot/plugin/; 11*ae5de77eSEmmanuel Vadot 12*ae5de77eSEmmanuel Vadot&backlight_lvds0 { 13*ae5de77eSEmmanuel Vadot brightness-levels = <0 8 16 32 64 128 255>; 14*ae5de77eSEmmanuel Vadot default-brightness-level = <8>; 15*ae5de77eSEmmanuel Vadot enable-gpios = <&gpio5 23 GPIO_ACTIVE_LOW>; 16*ae5de77eSEmmanuel Vadot num-interpolated-steps = <2>; 17*ae5de77eSEmmanuel Vadot pwms = <&pwm1 0 66667 0>; 18*ae5de77eSEmmanuel Vadot status = "okay"; 19*ae5de77eSEmmanuel Vadot}; 20*ae5de77eSEmmanuel Vadot 21*ae5de77eSEmmanuel Vadot&lcdif2 { 22*ae5de77eSEmmanuel Vadot status = "okay"; 23*ae5de77eSEmmanuel Vadot}; 24*ae5de77eSEmmanuel Vadot 25*ae5de77eSEmmanuel Vadot&lvds_bridge { 26*ae5de77eSEmmanuel Vadot assigned-clocks = <&clk IMX8MP_CLK_MEDIA_LDB>, <&clk IMX8MP_VIDEO_PLL1>; 27*ae5de77eSEmmanuel Vadot assigned-clock-parents = <&clk IMX8MP_VIDEO_PLL1_OUT>; 28*ae5de77eSEmmanuel Vadot /* 29*ae5de77eSEmmanuel Vadot * The LVDS panel uses 72.4 MHz pixel clock, set IMX8MP_VIDEO_PLL1 to 30*ae5de77eSEmmanuel Vadot * 72.4 * 7 = 506.8 MHz so the LDB serializer and LCDIFv3 scanout 31*ae5de77eSEmmanuel Vadot * engine can reach accurate pixel clock of exactly 72.4 MHz. 32*ae5de77eSEmmanuel Vadot */ 33*ae5de77eSEmmanuel Vadot assigned-clock-rates = <0>, <506800000>; 34*ae5de77eSEmmanuel Vadot status = "okay"; 35*ae5de77eSEmmanuel Vadot}; 36*ae5de77eSEmmanuel Vadot 37*ae5de77eSEmmanuel Vadot&panel0_lvds { 38*ae5de77eSEmmanuel Vadot compatible = "edt,etml1010g3dra"; 39*ae5de77eSEmmanuel Vadot status = "okay"; 40*ae5de77eSEmmanuel Vadot}; 41*ae5de77eSEmmanuel Vadot 42*ae5de77eSEmmanuel Vadot&pwm1 { 43*ae5de77eSEmmanuel Vadot status = "okay"; 44*ae5de77eSEmmanuel Vadot}; 45