diff options
author | Ye Li <ye.li@nxp.com> | 2019-11-19 23:00:07 -0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2020-05-11 03:22:49 -0700 |
commit | c6d48700754bc3245ec03c38b9c32d58fda17288 (patch) | |
tree | 38e7b98ef36093aa7573a471b7687d25a0bedfc6 /arch/arm/dts | |
parent | f0c57ffd95e2246ee7003f358acbf071488449c7 (diff) |
MLK-23964-23 imx7ulp_evk: Enable the rm68200 mipi panel for splash screen
Update DTS for LCDIF, MIPI DSI and panel relevant nodes.
Enable the video drivers and splash screen in board codse
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 52d4c7c3e98d573f1c3e4e67e02dd4b08be6bee7)
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/imx7ulp-evk.dts | 63 | ||||
-rw-r--r-- | arch/arm/dts/imx7ulp.dtsi | 3 |
2 files changed, 45 insertions, 21 deletions
diff --git a/arch/arm/dts/imx7ulp-evk.dts b/arch/arm/dts/imx7ulp-evk.dts index 8f6a935e24..f900a81532 100644 --- a/arch/arm/dts/imx7ulp-evk.dts +++ b/arch/arm/dts/imx7ulp-evk.dts @@ -31,7 +31,7 @@ reg = <0x60000000 0x40000000>; }; - backlight { + backlight: backlight { compatible = "gpio-backlight"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_backlight>; @@ -47,6 +47,24 @@ #reset-cells = <0>; }; + dsi_host: dsi-host { + compatible = "northwest,mipi-dsi"; + status = "okay"; + }; + + rm68200_panel { + compatible = "raydium,rm68200"; + reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + status = "okay"; + + port { + rm68200_from_dsim: endpoint { + remote-endpoint = <&dsim_to_rm68200>; + }; + }; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -285,32 +303,21 @@ }; &lcdif { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; - disp-dev = "mipi_dsi_northwest"; display = <&display0>; display0: display@0 { - bits-per-pixel = <16>; + bits-per-pixel = <24>; bus-width = <24>; + }; - display-timings { - native-mode = <&timing0>; - timing0: timing0 { - clock-frequency = <9200000>; - hactive = <480>; - vactive = <272>; - hfront-porch = <8>; - hback-porch = <4>; - hsync-len = <41>; - vback-porch = <2>; - vfront-porch = <4>; - vsync-len = <10>; - - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <0>; - }; + lcdif_disp0: port@0 { + reg = <0>; + + lcdif_to_dsim: endpoint { + remote-endpoint = <&dsim_from_lcdif>; }; }; }; @@ -345,11 +352,25 @@ }; &mipi_dsi { + #address-cells = <1>; + #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_mipi_dsi_reset>; lcd_panel = "TRULY-WVGA-TFT3P5581E"; resets = <&mipi_dsi_reset>; status = "okay"; + + port@0 { + dsim_from_lcdif: endpoint { + remote-endpoint = <&lcdif_to_dsim>; + }; + }; + + port@1 { + dsim_to_rm68200: endpoint { + remote-endpoint = <&rm68200_from_dsim>; + }; + }; }; &lpuart4 { /* console */ diff --git a/arch/arm/dts/imx7ulp.dtsi b/arch/arm/dts/imx7ulp.dtsi index 9bb1396286..d154ef1155 100644 --- a/arch/arm/dts/imx7ulp.dtsi +++ b/arch/arm/dts/imx7ulp.dtsi @@ -488,6 +488,9 @@ interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX7ULP_CLK_DSI>; clock-names = "mipi_dsi_clk"; + data-lanes-num = <2>; + phy-ref-clkfreq = <24000000>; + max-data-rate = <800000000>; sim = <&sim>; status = "disabled"; }; |