1
0
Fork 0

LF-811-4: arm64: dts: imx8qxp: Add lcdif subsystem

Add the lcdif nodes for the LCDIF Display Controller subsystem.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Robert Chiras 2020-01-15 14:22:59 +02:00
parent 57c96ce6a7
commit 02bfa9904b
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,50 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2020 NXP
*/
/ {
lcdif_subsys: bus@5a180000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x5a180000 0x0 0x5a180000 0x500000>;
ipg_dma_clk: clock-ipg {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <120000000>;
clock-output-names = "ipg_dma_clk";
};
lcd_clk_lpcg: clock-controller@5a580000 {
compatible = "fsl,imx8qxp-lpcg";
reg = <0x5a580000 0x4>;
#clock-cells = <1>;
clocks = <&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_PER>,
<&ipg_dma_clk>;
bit-offset = <0 16>;
clock-output-names = "lcd_clk_lpcg", "lcd_ipg_clk";
power-domains = <&pd IMX_SC_R_LCD_0>;
};
adma_lcdif: lcdif@5a180000 {
compatible = "fsl,imx8qxp-lcdif", "fsl,imx28-lcdif";
reg = <0x5a180000 0x10000>;
clocks = <&lcd_clk_lpcg 0>,
<&lcd_clk_lpcg 1>,
<&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_MISC0>;
clock-names = "pix", "axi", "disp_axi";
assigned-clocks = <&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_PER>,
<&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_MISC0>,
<&clk IMX_SC_R_ELCDIF_PLL IMX_SC_PM_CLK_PLL>;
assigned-clock-parents = <&clk IMX_SC_R_ELCDIF_PLL IMX_SC_PM_CLK_PLL>,
<&clk IMX_SC_R_LCD_0 IMX_SC_PM_CLK_BYPASS>;
assigned-clock-rates = <0>, <24000000>, <804000000>;
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd IMX_SC_R_LCD_0>;
status = "disabled";
};
};
};

View File

@ -342,6 +342,7 @@
#include "imx8qxp-ss-hsio.dtsi"
#include "imx8qxp-ss-img.dtsi"
#include "imx8qxp-ss-dc.dtsi"
#include "imx8qxp-ss-lcdif.dtsi"
#include "imx8qxp-ss-lvds.dtsi"
#include "imx8qxp-ss-gpu.dtsi"