arm64: dts: tqma8mqml: Include phy-imx8-pcie.h header
authorFabio Estevam <festevam@denx.de>
Fri, 9 Sep 2022 14:17:02 +0000 (11:17 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Sep 2022 13:07:53 +0000 (21:07 +0800)
imx8mm-tqma8mqml.dtsi has PCIe support, so it should include
<dt-bindings/phy/phy-imx8-pcie.h>.

Otherwise, there are build errors when this SoM dtsi is included
on customers' carrier boards.

While at it, remove the PCI header from imx8mm-tqma8mqml-mba8mx.dts,
which is now unneeded.

Fixes: 1d84283101fc ("arm64: dts: tqma8mqml: add PCIe support")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts
arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi

index 286d2df01cfa72e38fdacd7777d7b9516efebd66..7e0aeb2db30549b7c9469b7b1d3d1ee908e7e2a1 100644 (file)
@@ -5,7 +5,6 @@
 
 /dts-v1/;
 
-#include <dt-bindings/phy/phy-imx8-pcie.h>
 #include "imx8mm-tqma8mqml.dtsi"
 #include "mba8mx.dtsi"
 
index 16ee9b5179e6e356ad6ad022d6b098b8c8947179..f649dfacb4b696caef22fc9e17a2d55cc20fb8e0 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright 2020-2021 TQ-Systems GmbH
  */
 
+#include <dt-bindings/phy/phy-imx8-pcie.h>
 #include "imx8mm.dtsi"
 
 / {