diff mbox

[1/3] ARM: dts: imx6qp: reference PCIe node by handle

Message ID 20170217134837.14173-1-l.stach@pengutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Stach Feb. 17, 2017, 1:48 p.m. UTC
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>
---
 arch/arm/boot/dts/imx6qp.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Shawn Guo March 10, 2017, 5:35 a.m. UTC | #1
On Fri, Feb 17, 2017 at 02:48:35PM +0100, Lucas Stach wrote:
> 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>

Applied all, thanks.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi
index 24d071f5d9cd..bceab2d87af4 100644
--- a/arch/arm/boot/dts/imx6qp.dtsi
+++ b/arch/arm/boot/dts/imx6qp.dtsi
@@ -82,10 +82,6 @@ 
 				      "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";
@@ -110,3 +106,7 @@ 
 		      "di0_sel", "di1_sel", "di2_sel", "di3_sel",
 		      "di0", "di1";
 };
+
+&pcie {
+	compatible = "fsl,imx6qp-pcie", "snps,dw-pcie";
+};