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