rockchip/rk3562/rp-lcd-lvds-10-1280-800.dtsi
2025-04-28 11:36:59 +08:00

188 lines
5.1 KiB
Plaintext
Executable File

#include <dt-bindings/display/media-bus-format.h>
#define RP_SINGLE_LCD
&lvds_panel {
status = "okay";
compatible = "simple-panel";
enable-delay-ms = <20>;
prepare-delay-ms = <20>;
unprepare-delay-ms = <20>;
disable-delay-ms = <20>;
bus-format = <MEDIA_BUS_FMT_RGB888_2X12_BE>;
width-mm = <217>;
height-mm = <136>;
/*
* power-supply = <>;
* reset-gpios = <>;
*
* lcd reset pin and power supply
* please refer to ***-lcd-gpio.dtsi
* that included in main dts.
*/
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <72000000>;
hactive = <1280>;
vactive = <800>;
hback-porch = <138>;
hfront-porch = <136>;
vback-porch = <10>;
vfront-porch = <10>;
hsync-len = <20>;
vsync-len = <3>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
dual-lvds-even-pixels;
panel_in_lvds: endpoint {
remote-endpoint = <&lvds_out_panel>;
};
};
};
};
&lvds {
status = "okay";
ports {
port@1 {
reg = <1>;
lvds_out_panel: endpoint {
remote-endpoint = <&panel_in_lvds>;
};
};
};
};
&rpdzkj {
compatible = "rp_config";
user_version = "rpdzkj";
system_rotate = "0";
csi_camera_rotate = "0"; //all csi camera rotation //0 90 180 270 //no effect
csi_camera_facing = "0"; //0:auto 1:all front 2:all back //no effect
usb_camera_rotate = "0"; //all usb camera rotation //0 90 180 270
usb_camera_facing = "0"; //0:auto 1:all front 2:all back
lcd_density = "180";
language = "zh-CN"; //zh-CN //en-US
time_zone = "Asia/Shanghai"; //Asia/Shanghai = +8 //Europe/London = +1 //Africa/Casablanca = +0;
not_navigation_bar = "false";
not_status_bar = "false";
default_launcher = "true";
has_root = "true";
usb_not_permission = "true";
gps_use = "false";
gps_serial_port = "/dev/ttyS4";
primary_device = "DSI";
extend_device = "HDMI-A";
extend_rotate = "0";//0 0//1 90 //2 180 //3 270
rotation_efull = "false";
extend_rotate_2 = "0";//0 0//1 90 //2 180 //3 270
rotation_efull_2 = "true";
extend_rotate_3 = "0";//0 0//1 90 //2 180 //3 270
rotation_efull_3 = "true";
home_apk = "null";
status = "okay";
};
&dsi {
status = "disabled";
};
&dsi_in_vp0 {
status = "disabled";
};
&video_phy {
status = "okay";
};
&lvds_in_vp0 {
status = "okay";
};
&route_lvds {
status = "okay";
connect = <&vp0_out_lvds>;
};
&gt9xx {
status = "okay";
compatible = "goodix,gt9xx";
reg = <0x5d>;
gtp_resolution_x = <1280>;
gtp_resolution_y = <800>;
gtp_int_tarigger = <1>;
gtp_change_x2y = <0>;
gtp_overturn_x = <0>;
gtp_overturn_y = <0>;
gtp_send_cfg = <1>;
gtp_touch_wakeup = <1>;
/**
* goodix_rst_gpio = <>;
* goodix_irq_gpio = <>;
*
* touch panel interrupt and reset pin
* please refer to ***-lcd-gpio.dtsi
* that included in main dts.
*/
goodix,cfg-group2 = [
5A 00 05 20 03 02 0D 00 01 0A 28
0A 50 32 03 05 00 00 00 00 00 00
08 00 00 00 00 8C 2E 0E 30 32 34
06 00 00 00 82 02 1D 00 01 00 00
00 00 00 00 00 00 00 24 60 94 C5
02 07 00 00 04 97 27 00 80 30 00
6D 3B 00 60 47 00 54 57 00 54 00
00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
00 00 1C 1A 18 16 14 12 10 0E 0C
0A 08 06 04 02 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 2A
29 28 26 24 22 21 20 1F 1E 1D 1C
18 16 14 13 12 10 0F 0C 0A 08 06
04 02 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 D4 01
];
goodix,cfg-group3 = [
5A 00 05 20 03 02 0D 00 01 0A 28
0A 50 32 03 05 00 00 00 00 00 00
08 00 00 00 00 8C 2E 0E 30 32 34
06 00 00 00 82 02 1D 00 01 00 00
00 00 00 00 00 00 00 24 60 94 C5
02 07 00 00 04 97 27 00 80 30 00
6D 3B 00 60 47 00 54 57 00 54 00
00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
00 00 1C 1A 18 16 14 12 10 0E 0C
0A 08 06 04 02 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 2A
29 28 26 24 22 21 20 1F 1E 1D 1C
18 16 14 13 12 10 0F 0C 0A 08 06
04 02 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 D4 01
];
};