ARM: dts: imx6qp: reference PCIe node by handle
authorLucas Stach <l.stach@pengutronix.de>
Fri, 17 Feb 2017 13:48:35 +0000 (14:48 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Apr 2017 08:16:01 +0000 (16:16 +0800)
By using the handle, we can avoid some duplication of the base DT
and so avoid any maintenance overhead in the QP DT if the referenced
node changes.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp.dtsi

index 24d071f..bceab2d 100644 (file)
                                      "ldb_di0", "ldb_di1", "prg";
                };
 
-               pcie: pcie@0x01000000 {
-                       compatible = "fsl,imx6qp-pcie", "snps,dw-pcie";
-               };
-
                aips-bus@02100000 {
                        mmdc0: mmdc@021b0000 { /* MMDC0 */
                                compatible = "fsl,imx6qp-mmdc", "fsl,imx6q-mmdc";
                      "di0_sel", "di1_sel", "di2_sel", "di3_sel",
                      "di0", "di1";
 };
+
+&pcie {
+       compatible = "fsl,imx6qp-pcie", "snps,dw-pcie";
+};