#include "rp-lcd-hdmi.dtsi" #define RP_SINGLE_LCD #define RP_EDP_USED &edp_panel { status = "okay"; compatible = "simple-panel"; prepare-delay-ms = <20>; enable-delay-ms = <20>; disable-delay-ms = <20>; unprepare-delay-ms = <20>; /** * 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 {//EDP 15.6 1366x768 clock-frequency = <72300000>; hactive = <1366>; vactive = <768>; hfront-porch = <48>; hsync-len = <32>; hback-porch = <80>; vfront-porch = <3>; vsync-len = <5>; vback-porch = <14>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; }; timing1: timing1 {// EDP 13.3 clock-frequency = <138000000>; hactive = <1920>; vactive = <1080>; hfront-porch = <48>; hsync-len = <32>; hback-porch = <80>; vfront-porch = <3>; vsync-len = <5>; vback-porch = <23>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; }; }; ports { panel_in_edp: endpoint { remote-endpoint = <&edp_out_panel>; }; }; }; &edp { status = "okay"; force-hpd; ports { port@1 { reg = <1>; edp_out_panel: endpoint { remote-endpoint = <&panel_in_edp>; }; }; }; }; &edp_phy { status = "okay"; }; &edp_in_vp0 { status = "okay"; }; &edp_in_vp1 { status = "disabled"; }; &hdmi_in_vp0 { status = "disabled"; }; &hdmi_in_vp1 { status = "okay"; }; &route_edp { status = "okay"; connect = <&vp0_out_edp>; }; >9xx { status = "okay"; compatible = "goodix,gt9xx"; reg = <0x5d>; gtp_resolution_x = <1366>; gtp_resolution_y = <768>; 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-group0 = [ 41 80 07 38 04 0A 2D 00 01 06 28 08 55 32 03 05 00 00 00 00 00 00 04 17 19 1D 14 95 35 FF 4C 4E B5 06 00 00 00 00 03 2D 00 00 00 00 00 00 00 00 00 00 00 2D 5A 94 D0 42 00 08 00 04 61 30 00 57 37 00 4D 3F 00 45 49 00 3E 54 00 3E 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 1D 1C 1B 1A 19 18 17 16 15 14 13 12 11 10 0F 0E 0D 0C 0B 0A 09 08 07 06 05 04 03 02 01 00 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A EA 01 ]; };