1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 */ 5 6#include "rk3566-evb2-lp4x-v10.dtsi" 7#include "rk3568-android.dtsi" 8 9/ { 10 panel-edp { 11 compatible = "simple-panel"; 12 backlight = <&backlight>; 13 power-supply = <&vcc3v3_lcd0_n>; 14 prepare-delay-ms = <120>; 15 enable-delay-ms = <120>; 16 unprepare-delay-ms = <120>; 17 disable-delay-ms = <120>; 18 19 panel-timing { 20 clock-frequency = <200000000>; 21 hactive = <1536>; 22 vactive = <2048>; 23 hfront-porch = <12>; 24 hsync-len = <16>; 25 hback-porch = <48>; 26 vfront-porch = <8>; 27 vsync-len = <4>; 28 vback-porch = <8>; 29 hsync-active = <0>; 30 vsync-active = <0>; 31 de-active = <0>; 32 pixelclk-active = <0>; 33 }; 34 35 port { 36 panel_in_edp: endpoint { 37 remote-endpoint = <&edp_out_panel>; 38 }; 39 }; 40 }; 41}; 42 43&dsi0 { 44 status = "disabled"; 45}; 46 47&edp { 48 force-hpd; 49 status = "okay"; 50 51 ports { 52 port@1 { 53 reg = <1>; 54 55 edp_out_panel: endpoint { 56 remote-endpoint = <&panel_in_edp>; 57 }; 58 }; 59 }; 60}; 61 62&edp_phy { 63 status = "okay"; 64}; 65 66&edp_in_vp0 { 67 status = "disabled"; 68}; 69 70&edp_in_vp1 { 71 status = "okay"; 72}; 73 74&route_edp { 75 connect = <&vp1_out_edp>; 76 status = "okay"; 77}; 78