Files
kernel/arch/arm64/boot/dts/rockchip/overlay/rk3566-lubancat-1h-edp-in-vp0-overlay.dts
2023-07-25 10:42:57 +08:00

139 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/display/drm_mipi_dsi.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ {
fragment@0 {
target = <&route_edp>;
__overlay__ {
status = "okay";
connect = <&vp0_out_edp>;
};
};
fragment@1 {
target = <&edp_phy>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&edp_in_vp0>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&edp_in_vp1>;
__overlay__ {
status = "disabled";
};
};
fragment@4 {
target = <&edp>;
__overlay__ {
status = "okay";
// hpd-gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>; //热插拔信号检测
force-hpd; //强制hpd忽略物理hdp信号
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
edp_out_panel: endpoint@0 {
remote-endpoint = <&panel_in_edp>;
};
};
};
};
};
fragment@5 {
target-path = "/";
__overlay__ {
edp_panel: edp-panel {
compatible = "simple-panel";
backlight = <&backlight_lvds_edp>;
status = "okay";
enable-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_HIGH>;
//bus-format = <MEDIA_BUS_FMT_RBG888_1X24>;
prepare-delay-ms = <100>; //AUX通信前延时
enable-delay-ms = <100>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <140000000>;
hactive = <1920>;
vactive = <1080>;
hfront-porch = <40>;
hsync-len = <40>;
hback-porch = <80>;
vfront-porch = <16>;
vsync-len = <8>;
vback-porch = <16>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
ports {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
};
};
};
};
fragment@6 {
target = <&route_hdmi>;
__overlay__ {
status = "disabled";
};
};
fragment@7 {
target = <&hdmi_in_vp0>;
__overlay__ {
status = "disabled";
};
};
fragment@8 {
target = <&hdmi_in_vp1>;
__overlay__ {
status = "disabled";
};
};
fragment@9 {
target = <&hdmi>;
__overlay__ {
status = "disabled";
};
};
};