Verified Commit 9a424442 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

dts: imx8mq-librem5: Add device trees that switch the built-in display to DCSS

Just to make testing and playing with different subsystems easier, not meant for
upstreaming.
parent 5dde0860
Pipeline #65164 passed with stage
in 63 minutes and 38 seconds
......@@ -44,6 +44,9 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-r2.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-r3.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-r4.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-r2-dcss.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-r3-dcss.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-r4-dcss.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-nitrogen.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-phanbell.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8mq-pico-pi.dtb
......
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2021 Purism SPC
*/
/delete-node/ &mipi_dsi_lcdif_in;
/delete-node/ &lcdif_mipi_dsi;
&lcdif {
status = "disabled";
};
&hdmi {
status = "disabled";
};
&dcss {
status = "okay";
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_DISP_DTRC>;
clock-names = "apb", "axi", "rtrm", "pix", "dtrc";
assigned-clocks = <&clk IMX8MQ_CLK_DC_PIXEL>,
<&clk IMX8MQ_VIDEO_PLL1_BYPASS>,
<&clk IMX8MQ_VIDEO_PLL1_REF_SEL>,
<&clk IMX8MQ_CLK_DISP_AXI>,
<&clk IMX8MQ_CLK_DISP_RTRM>;
assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>,
<&clk IMX8MQ_VIDEO_PLL1>,
<&clk IMX8MQ_CLK_27M>,
<&clk IMX8MQ_SYS1_PLL_800M>,
<&clk IMX8MQ_SYS1_PLL_800M>;
assigned-clock-rates = <600000000>, <0>, <0>,
<800000000>,
<400000000>;
dcss_dsi_out: port@0 {
dcss_mipi_dsi: endpoint {
remote-endpoint = <&mipi_dsi_dcss_in>;
};
};
};
&mipi_dsi {
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_dsi_dcss_in: endpoint@1 {
reg = <1>;
remote-endpoint = <&dcss_mipi_dsi>;
};
};
};
};
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2021 Purism SPC
*/
/dts-v1/;
#include "imx8mq-librem5-r2.dts"
#include "imx8mq-librem5-dcss.dtsi"
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2021 Purism SPC
*/
/dts-v1/;
#include "imx8mq-librem5-r3.dts"
/delete-node/ &hdmi_in;
/delete-node/ &dcss_dp_out;
#include "imx8mq-librem5-dcss.dtsi"
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2021 Purism SPC
*/
/dts-v1/;
#include "imx8mq-librem5-r4.dts"
/delete-node/ &hdmi_in;
/delete-node/ &dcss_dp_out;
#include "imx8mq-librem5-dcss.dtsi"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment