From c871b91eb89a0487ae0b19fc25190b9e8650f095 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Fri, 17 Feb 2017 14:48:36 +0100 Subject: [PATCH] ARM: dts: imx6qp: reference MMDC node by handle and remove duplication Referencing the node by handle make the QP DT more resilent against changes of the base DT. Also remove the duplicated reg property, it's not needed as it the same as in the base DT, just the compatible is actually different. Signed-off-by: Lucas Stach Signed-off-by: Shawn Guo --- arch/arm/boot/dts/imx6qp.dtsi | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi index bceab2d..b077394 100644 --- a/arch/arm/boot/dts/imx6qp.dtsi +++ b/arch/arm/boot/dts/imx6qp.dtsi @@ -81,13 +81,6 @@ "di0_sel", "di1_sel", "ldb_di0", "ldb_di1", "prg"; }; - - aips-bus@02100000 { - mmdc0: mmdc@021b0000 { /* MMDC0 */ - compatible = "fsl,imx6qp-mmdc", "fsl,imx6q-mmdc"; - reg = <0x021b0000 0x4000>; - }; - }; }; }; @@ -107,6 +100,10 @@ "di0", "di1"; }; +&mmdc0 { + compatible = "fsl,imx6qp-mmdc", "fsl,imx6q-mmdc"; +}; + &pcie { compatible = "fsl,imx6qp-pcie", "snps,dw-pcie"; }; -- 2.7.4