-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathosoyoo-panel-dsi-7inch.dts
More file actions
118 lines (103 loc) · 2.1 KB
/
Copy pathosoyoo-panel-dsi-7inch.dts
File metadata and controls
118 lines (103 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
i2c_frag: fragment@0 {
target = <&i2c_csi_dsi>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
display_mcu: display_mcu@45
{
compatible = "osoyoo,touchscreen-panel-regulator";
reg = <0x45>;
gpio-controller;
#gpio-cells = <2>;
};
gt911: gt911@5d {
compatible = "goodix,gt911";
reg = <0x5d>;
AVDD28-supply = <&touch_reg>;
touchscreen-size-x = <720>;
touchscreen-size-y = <1280>;
touchscreen-x-mm = <87>;
touchscreen-y-mm = <155>;
};
};
};
dsi_frag: fragment@1 {
target = <&dsi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
port {
dsi_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
dsi_panel: dsi_panel@0 {
reg = <0>;
compatible = "osoyoo,dsi-7inch";
reset-gpio = <&display_mcu 0 0>;
backlight = <&display_mcu>;
port {
panel_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
};
};
};
fragment@2 {
target = <&i2c0if>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&i2c0mux>;
__overlay__ {
status = "okay";
};
};
fragment@4 {
target-path = "/";
__overlay__ {
touch_reg: touch_reg@1 {
reg = <1>;
compatible = "regulator-fixed";
regulator-name = "touch_reg_1";
gpio = <&display_mcu 1 1>;
startup-delay-us = <50000>;
enable-active-high;
};
};
};
fragment@10 {
target = <>911>;
__dormant__ {
touchscreen-inverted-x;
};
};
fragment@11 {
target = <>911>;
__dormant__ {
touchscreen-inverted-y;
};
};
__overrides__ {
dsi0 = <&dsi_frag>, "target:0=",<&dsi0>,
<&i2c_frag>, "target:0=",<&i2c_csi_dsi0>,
<&touch_reg>, "reg:0=0",
<&touch_reg>, "regulator-name=touch_reg_0";
sizex = <>911>,"touchscreen-size-x:0";
sizey = <>911>,"touchscreen-size-y:0";
invx = <0>, "+10";
invy = <0>, "+11";
swapxy = <>911>,"touchscreen-swapped-x-y?";
disable_touch = <>911>, "status=disabled";
rotation = <&dsi_panel>, "rotation:0";
};
};