1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2/* 3 * Copyright (C) 2021-2026 Marek Vasut 4 */ 5#include <dt-bindings/gpio/gpio.h> 6#include <dt-bindings/input/input.h> 7#include <dt-bindings/interrupt-controller/arm-gic.h> 8#include <dt-bindings/pwm/pwm.h> 9 10&{/} { 11 display_bl: display-bl { 12 compatible = "pwm-backlight"; 13 brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>; 14 default-brightness-level = <8>; 15 enable-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>; 16 status = "okay"; 17 }; 18 19 lcd_display: disp0 { 20 compatible = "fsl,imx-parallel-display"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 interface-pix-fmt = "rgb24"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_ipu1_lcdif>; 26 status = "okay"; 27 28 port@0 { 29 reg = <0>; 30 31 ipu1_display_in: endpoint { 32 remote-endpoint = <&ipu1_di0_disp0>; 33 }; 34 }; 35 36 port@1 { 37 reg = <1>; 38 39 ipu1_dpi0_out: endpoint { 40 remote-endpoint = <&panel_in>; 41 }; 42 }; 43 }; 44 45 panel: panel { 46 backlight = <&display_bl>; 47 48 port { 49 panel_in: endpoint { 50 }; 51 }; 52 }; 53}; 54 55&ipu1_di0_disp0 { 56 remote-endpoint = <&ipu1_display_in>; 57}; 58 59&pwm1 { 60 status = "okay"; 61}; 62