90 lines
2.7 KiB
Plaintext
90 lines
2.7 KiB
Plaintext
/*
|
|
* Copyright (C) 2015 GuangZhou Tronlong co., LTD - http://www.tronlong.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "tl3588-evm.dts"
|
|
#include <dt-bindings/display/media-bus-format.h>
|
|
|
|
/ {
|
|
model = "TL3588-EVM-EDP";
|
|
|
|
edp1_panel: edp1-panel {
|
|
compatible = "simple-panel";
|
|
bus-format = <MEDIA_BUS_FMT_RGB666_1X18>;
|
|
bpc = <6>;
|
|
backlight = <&backlight>;
|
|
enable-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
|
|
prepare-delay-ms = <120>; // 准备时间延迟,单位为毫秒
|
|
enable-delay-ms = <120>; // 启用时间延迟,单位为毫秒
|
|
unprepare-delay-ms = <120>; // 取消准备时间延迟,单位为毫秒
|
|
disable-delay-ms = <120>;
|
|
status = "okay";
|
|
|
|
display-timings {
|
|
native-mode = <&timing1>;
|
|
timing1: timing1 {
|
|
clock-frequency = <154760000>;
|
|
hactive = <1920>;
|
|
vactive = <1200>;
|
|
hfront-porch = <48>;
|
|
hsync-len = <8>;
|
|
hback-porch = <80>;
|
|
vfront-porch = <10>;
|
|
vsync-len = <3>;
|
|
vback-porch = <23>;
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
de-active = <0>;
|
|
pixelclk-active = <0>;
|
|
};
|
|
};
|
|
|
|
port {
|
|
panel_in_edp1: endpoint {
|
|
remote-endpoint = <&edp1_out_panel>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&hdptxphy1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&edp1 {
|
|
status = "okay";
|
|
force-hpd;
|
|
|
|
ports {
|
|
port@1 {
|
|
reg = <1>;
|
|
edp1_out_panel: endpoint {
|
|
remote-endpoint = <&panel_in_edp1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&edp1_in_vp0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&edp1_in_vp1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&edp1_in_vp2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&route_edp1 {
|
|
status = "okay";
|
|
connect = <&vp2_out_edp1>;
|
|
};
|