xref: /linux/scripts/dtc/include-prefixes/arm64/freescale/imx91-93-phyboard-segin-peb-av-18.dtsi (revision b2128290c29902315e632ea59e0504d6bc9e9b42)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2026 PHYTEC Messtechnik GmbH
4 *
5 * Author: Florijan Plohl <florijan.plohl@norik.com>
6 */
7
8#include <dt-bindings/clock/imx93-clock.h>
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/interrupt-controller/arm-gic.h>
11
12/dts-v1/;
13/plugin/;
14
15&{/} {
16	backlight: backlight {
17		compatible = "pwm-backlight";
18		brightness-levels = <0 4 8 16 32 64 128 255>;
19		default-brightness-level = <5>;
20		power-supply = <&reg_vcc_3v3_con>;
21		pwms = <&pwm7 0 5000000 0>;
22	};
23
24	panel {
25		compatible = "powertip,ph800480t032-zhc19";
26		pinctrl-names = "default";
27		pinctrl-0 = <&pinctrl_panel>;
28
29		backlight = <&backlight>;
30		enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
31		power-supply = <&reg_vcc_3v3_con>;
32
33		port {
34			panel_in: endpoint {
35				remote-endpoint = <&dpi_to_panel>;
36			};
37		};
38	};
39
40	pwm7: pwm-7 {
41		compatible = "pwm-gpio";
42		pinctrl-names = "default";
43		pinctrl-0 = <&pinctrl_pwm7>;
44		gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
45		#pwm-cells = <3>;
46	};
47
48	reg_vcc_3v3_con: regulator-vcc-3v3-con {
49		compatible = "regulator-fixed";
50		regulator-name = "VCC3V3_CON";
51		regulator-max-microvolt = <3300000>;
52		regulator-min-microvolt = <3300000>;
53	};
54};
55
56&dpi_bridge {
57	status = "okay";
58};
59
60&dpi_to_panel {
61	remote-endpoint = <&panel_in>;
62	bus-width = <18>;
63};
64
65&lcdif {
66	pinctrl-names = "default";
67	pinctrl-0 = <&pinctrl_lcdif>;
68	assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>;
69	assigned-clock-rates = <27272728>;
70	status = "okay";
71};
72
73&lpi2c2 {
74	#address-cells = <1>;
75	#size-cells = <0>;
76
77	touchscreen@41 {
78		compatible = "ilitek,ili2130";
79		reg = <0x41>;
80		pinctrl-names = "default";
81		pinctrl-0 = <&pinctrl_touchscreen>;
82		interrupt-parent = <&gpio4>;
83		interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
84		reset-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
85		touchscreen-size-x = <800>;
86		touchscreen-size-y = <480>;
87		wakeup-source;
88	};
89};
90
91&media_blk_ctrl {
92	status = "okay";
93};
94