xref: /linux/scripts/dtc/include-prefixes/arm/st/stm32mp15xx-dhcom-overlay-panel-dpi-ch101olhlwh.dtsi (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (C) 2021 Marek Vasut
4 */
5/dts-v1/;
6/plugin/;
7
8#include "stm32mp15xx-dhcom-overlay-panel-dpi.dtsi"
9
10&{/} {
11	lvds-encoder {
12		compatible = "onnn,fin3385", "lvds-encoder";
13		pclk-sample = <1>;
14
15		ports {
16			#address-cells = <1>;
17			#size-cells = <0>;
18
19			port@0 {
20				reg = <0>;
21
22				lvds_bridge_in: endpoint {
23					remote-endpoint = <&ltdc_dpi_out>;
24				};
25			};
26
27			port@1 {
28				reg = <1>;
29
30				lvds_bridge_out: endpoint {
31					remote-endpoint = <&panel_in>;
32				};
33			};
34		};
35	};
36};
37
38&display_bl {
39	pwms = <&pwm2 3 5000000 0>;
40};
41
42&i2c5 {
43	#address-cells = <1>;
44	#size-cells = <0>;
45
46	ili251x@41 {
47		compatible = "ilitek,ili251x";
48		reg = <0x41>;
49		interrupt-parent = <&gpioi>;
50		interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
51		reset-gpios = <&gpiod 6 GPIO_ACTIVE_LOW>;
52		touchscreen-size-x = <16384>;
53		touchscreen-size-y = <9600>;
54		touchscreen-inverted-x;
55		touchscreen-inverted-y;
56	};
57
58	eeprom@50 {
59		compatible = "atmel,24c04";
60		reg = <0x50>;
61		pagesize = <16>;
62	};
63};
64
65&ltdc_dpi_out {
66	remote-endpoint = <&lvds_bridge_in>;
67};
68
69&panel {
70	compatible = "chefree,ch101olhlwh-002";
71};
72
73&panel_in {
74	remote-endpoint = <&lvds_bridge_out>;
75};
76