hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
// Copyright (c) 2021 Rockchip Electronics Co., Ltd.
 
/dts-v1/;
 
#include "rk3588-evb3-lp5.dtsi"
#include "rk3588-linux.dtsi"
 
/ {
   model = "Rockchip RK3588 EVB3 LP5 V10 EDP Board";
   compatible = "rockchip,rk3588-evb3-lp5-v10-edp-linux", "rockchip,rk3588";
 
   panel-edp0 {
       compatible = "simple-panel";
       backlight = <&backlight>;
       power-supply = <&vcc3v3_lcd>;
       prepare-delay-ms = <120>;
       enable-delay-ms = <120>;
       unprepare-delay-ms = <120>;
       disable-delay-ms = <120>;
       width-mm = <129>;
       height-mm = <171>;
 
       panel-timing {
           clock-frequency = <200000000>;
           hactive = <1536>;
           vactive = <2048>;
           hfront-porch = <12>;
           hsync-len = <16>;
           hback-porch = <48>;
           vfront-porch = <8>;
           vsync-len = <4>;
           vback-porch = <8>;
           hsync-active = <0>;
           vsync-active = <0>;
           de-active = <0>;
           pixelclk-active = <0>;
       };
 
       port {
           panel_in_edp0: endpoint {
               remote-endpoint = <&edp0_out_panel>;
           };
       };
   };
 
   vcc3v3_lcd: vcc3v3-lcd {
       compatible = "regulator-fixed";
       regulator-name = "vcc3v3_lcd";
       vin-supply = <&vcc_3v3_s0>;
   };
};
 
&backlight {
   enable-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
};
 
&dsi0 {
   status = "disabled";
};
 
&edp0 {
   force-hpd;
   status = "okay";
 
   ports {
       port@1 {
           reg = <1>;
 
           edp0_out_panel: endpoint {
               remote-endpoint = <&panel_in_edp0>;
           };
       };
   };
};
 
&edp0_in_vp2 {
   status = "okay";
};
 
&gt1x {
   status = "disabled";
};
 
&hdptxphy0 {
   lane-polarity-invert = <0 1 0 0>;
   status = "okay";
};
 
&i2c5 {
   clock-frequency = <400000>;
   status = "okay";
 
   gsl3673@40 {
       compatible = "GSL,GSL3673";
       reg = <0x40>;
       screen_max_x = <1536>;
       screen_max_y = <2048>;
       irq_gpio_number = <&gpio4 RK_PB1 IRQ_TYPE_LEVEL_LOW>;
       rst_gpio_number = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>;
   };
};
 
&pwm15 {
   pinctrl-0 = <&pwm15m1_pins>;
};
 
&vcc3v3_lcd_n {
   /delete-property/ gpio;
};