Skip to content
Snippets Groups Projects
Commit 1a4053f8 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

librem5: Switch DT to lcdif


Signed-off-by: default avatarGuido Günther <guido.gunther@puri.sm>
parent 3db5169f
No related branches found
No related tags found
No related merge requests found
......@@ -1454,45 +1454,24 @@ &wdog1 {
status = "okay";
};
&dcss {
disp-dev = "mipi_disp";
clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>,
<&clk IMX8MQ_CLK_DISP_AXI_ROOT>,
<&clk IMX8MQ_CLK_DISP_RTRM_ROOT>,
<&clk IMX8MQ_CLK_DC_PIXEL>,
<&clk IMX8MQ_CLK_DUMMY>,
<&clk IMX8MQ_CLK_DISP_DTRC>;
clock-names = "apb", "axi", "rtrm", "pix_div", "pix_out", "dtrc";
assigned-clocks = <&clk IMX8MQ_CLK_DC_PIXEL>,
<&clk IMX8MQ_CLK_DISP_AXI>,
<&clk IMX8MQ_CLK_DISP_RTRM>,
<&clk IMX8MQ_CLK_DISP_RTRM_ROOT>,
<&clk IMX8MQ_VIDEO_PLL1_BYPASS>;
assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>,
<&clk IMX8MQ_SYS1_PLL_800M>,
<&clk IMX8MQ_SYS1_PLL_800M>,
<&clk IMX8MQ_CLK_DISP_RTRM>,
<&clk IMX8MQ_VIDEO_PLL1>;
assigned-clock-rates = <75000000>,
<800000000>,
<400000000>,
<400000000>,
<0>;
&dphy {
status = "okay";
dcss_disp0: port@0 {
dcss_disp0_mipi_dsi: endpoint {
remote-endpoint = <&mipi_dsi_in>;
};
};
};
&dphy {
&lcdif {
status = "okay";
max-res = <720>, <1440>;
port@0 {
lcdif_mipi_dsi: endpoint {
remote-endpoint = <&mipi_dsi_lcdif_in>;
};
};
};
&mipi_dsi {
status = "okay";
panel@0 {
compatible = "mantix,mlaf057we51-x";
reg = <0>;
......@@ -1513,9 +1492,16 @@ panel_in: endpoint {
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
mipi_dsi_in: endpoint {
remote-endpoint = <&dcss_disp0_mipi_dsi>;
#size-cells = <0>;
#address-cells = <1>;
reg = <0>;
mipi_dsi_lcdif_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&lcdif_mipi_dsi>;
};
};
port@1 {
......@@ -1526,6 +1512,3 @@ mipi_dsi_out: endpoint {
};
};
&imx_disp_sub {
ports = <&dcss_disp0>;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment