// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (C) 2026 PHYTEC Messtechnik GmbH * * Author: Florijan Plohl */ #include #include #include /dts-v1/; /plugin/; &{/} { backlight: backlight { compatible = "pwm-backlight"; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <5>; power-supply = <®_vcc_3v3_con>; pwms = <&pwm7 0 5000000 0>; }; panel { compatible = "powertip,ph800480t032-zhc19"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_panel>; backlight = <&backlight>; enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; power-supply = <®_vcc_3v3_con>; port { panel_in: endpoint { remote-endpoint = <&dpi_to_panel>; }; }; }; pwm7: pwm-7 { compatible = "pwm-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm7>; gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; #pwm-cells = <3>; }; reg_vcc_3v3_con: regulator-vcc-3v3-con { compatible = "regulator-fixed"; regulator-name = "VCC3V3_CON"; regulator-max-microvolt = <3300000>; regulator-min-microvolt = <3300000>; }; }; &dpi_bridge { status = "okay"; }; &dpi_to_panel { remote-endpoint = <&panel_in>; bus-width = <18>; }; &lcdif { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcdif>; assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>; assigned-clock-rates = <27272728>; status = "okay"; }; &lpi2c2 { #address-cells = <1>; #size-cells = <0>; touchscreen@41 { compatible = "ilitek,ili2130"; reg = <0x41>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_touchscreen>; interrupt-parent = <&gpio4>; interrupts = <12 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>; touchscreen-size-x = <800>; touchscreen-size-y = <480>; wakeup-source; }; }; &media_blk_ctrl { status = "okay"; };