/* * Copyright 2019 EMBEST * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include "maaxboard.dtsi" #include "maaxboard-extended-gpio.dtsi" #include "maaxboard-dsi-common.dtsi" &dcss { status = "okay"; port@0 { dcss_lcdif_dsi: endpoint { remote-endpoint = <&mipi_dsi_in>; }; }; }; &i2c4{ status="okay"; dsi_lvds_bridge: sn65dsi84@2c { compatible = "ti,sn65dsi83"; reg = <0x2c>; ti,dsi-lanes = <4>; ti,lvds-format = <1>; ti,lvds-bpp = <24>; ti,width-mm = <243>; ti,height-mm = <91>; enable-gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>; interrupt-parent = <&gpio3>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_mipi_dsi_en>; status = "okay"; display-timings{ // BOE COG-TA25F321P-L2 native-mode = <&timing1>; timing1: timing1 { clock-frequency = <39100000>; // hactive = <1280>; vactive = <480>; hback-porch = <16>; hfront-porch = <26>; vback-porch = <5>; vfront-porch = <8>; hsync-len = <12>; vsync-len = <3>; // hsync-active = <1>; // Horizontal Syncronisation High / Low // vsync-active = <1>; // Vertical Syncronisation High / Low // de-active = <1>; // Data Enable High / Low // pixelclk-active = <1>; }; }; port { panel_in: endpoint { remote-endpoint = <&mipi_dsi_out>; }; }; }; }; &mipi_dsi { status = "okay"; ports { port@1 { reg = <1>; mipi_dsi_out: endpoint { remote-endpoint = <&panel_in>; }; }; }; }; &pwm1 { status = "okay"; }; &backlight { status = "okay"; //vcc-supply = <®_mipi_en>; }; &ft5426 { status = "okay"; };