ARM: dts: imx6qp: reference MMDC node by handle and remove duplication
authorLucas Stach <l.stach@pengutronix.de>
Fri, 17 Feb 2017 13:48:36 +0000 (14:48 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Apr 2017 08:16:02 +0000 (16:16 +0800)
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 <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp.dtsi

index bceab2d..b077394 100644 (file)
                                      "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>;
-                       };
-               };
        };
 };
 
                      "di0", "di1";
 };
 
+&mmdc0 {
+       compatible = "fsl,imx6qp-mmdc", "fsl,imx6q-mmdc";
+};
+
 &pcie {
        compatible = "fsl,imx6qp-pcie", "snps,dw-pcie";
 };