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_lvds1 { 13 brightness-levels = <0 8 16 32 64 128 255>; 14 default-brightness-level = <8>; 15 enable-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; 16 num-interpolated-steps = <2>; 17 pwms = <&pwm3 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 * 66.5 * 7 = 465.5 MHz so the LDB serializer and LCDIFv3 scanout 31 * engine can reach accurate pixel clock of exactly 66.5 MHz. 32 */ 33 assigned-clock-rates = <0>, <465500000>; 34 status = "okay"; 35}; 36 37 38&panel_lvds1 { 39 compatible = "powertip,ph128800t006-zhc01"; 40 status = "okay"; 41}; 42 43&pwm3 { 44 status = "okay"; 45}; 46