1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2020 Rockchip Electronics Co., Ltd. 4 */ 5 6#include <dt-bindings/display/media-bus-format.h> 7#include "rk3566-evb1-ddr4-v10.dtsi" 8#include "rk3568-android.dtsi" 9 10/ { 11 panel { 12 compatible = "simple-panel"; 13 backlight = <&backlight>; 14 power-supply = <&vcc3v3_lcd1_n>; 15 enable-delay-ms = <20>; 16 prepare-delay-ms = <20>; 17 unprepare-delay-ms = <20>; 18 disable-delay-ms = <20>; 19 bus-format = <MEDIA_BUS_FMT_RGB666_1X7X3_SPWG>; 20 width-mm = <217>; 21 height-mm = <136>; 22 23 display-timings { 24 native-mode = <&timing0>; 25 26 timing0: timing0 { 27 clock-frequency = <68000000>; 28 hactive = <800>; 29 vactive = <1280>; 30 hback-porch = <30>; 31 hfront-porch = <30>; 32 vback-porch = <4>; 33 vfront-porch = <2>; 34 hsync-len = <4>; 35 vsync-len = <2>; 36 hsync-active = <0>; 37 vsync-active = <0>; 38 de-active = <0>; 39 pixelclk-active = <0>; 40 }; 41 }; 42 43 ports { 44 #address-cells = <1>; 45 #size-cells = <0>; 46 47 port@0 { 48 reg = <0>; 49 dual-lvds-even-pixels; 50 panel_in_lvds: endpoint { 51 remote-endpoint = <&lvds_out_panel>; 52 }; 53 }; 54 }; 55 }; 56}; 57 58&dsi0 { 59 status = "disabled"; 60}; 61 62&dsi0_in_vp0 { 63 status = "disabled"; 64}; 65 66&dsi0_in_vp1 { 67 status = "disabled"; 68}; 69 70&video_phy0 { 71 status = "okay"; 72}; 73 74&lvds { 75 status = "okay"; 76 77 ports { 78 port@1 { 79 reg = <1>; 80 81 lvds_out_panel: endpoint { 82 remote-endpoint = <&panel_in_lvds>; 83 }; 84 }; 85 }; 86}; 87 88&lvds_in_vp1 { 89 status = "okay"; 90}; 91 92&lvds_in_vp2 { 93 status = "disabled"; 94}; 95 96&route_lvds { 97 status = "okay"; 98 connect = <&vp1_out_lvds>; 99}; 100