[U-Boot] imx: imx6qdl: dtsi: move U-Boot specific change to u-boot.dtsi
diff mbox series

Message ID 20190814094252.30912-1-peng.fan@nxp.com
State New
Delegated to: Stefano Babic
Headers show
Series
  • [U-Boot] imx: imx6qdl: dtsi: move U-Boot specific change to u-boot.dtsi
Related show

Commit Message

Peng Fan Aug. 14, 2019, 9:27 a.m. UTC
The changes were added by following patch:
commit <9002e735e717> ("imx: mx6sabresd: fix boot hang with video")
commit <f45ec8fcfb86> ("imx6: dts: add 'u-boot, dm-pre-reloc' to soc and ipu nodes")

Let's move the U-Boot specific change to imx6qdl-u-boot.dtsi

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm/dts/imx6qdl-u-boot.dtsi | 6 ++++++
 arch/arm/dts/imx6qdl.dtsi        | 3 ---
 2 files changed, 6 insertions(+), 3 deletions(-)

Patch
diff mbox series

diff --git a/arch/arm/dts/imx6qdl-u-boot.dtsi b/arch/arm/dts/imx6qdl-u-boot.dtsi
index e161ebb9af..1279cc2338 100644
--- a/arch/arm/dts/imx6qdl-u-boot.dtsi
+++ b/arch/arm/dts/imx6qdl-u-boot.dtsi
@@ -6,10 +6,12 @@ 
 / {
 	aliases {
 		usb0 = &usbotg;
+		video0 = &ipu1;
 	};
 
 	soc {
 		u-boot,dm-spl;
+		u-boot,dm-pre-reloc;
 
 		aips-bus@2000000 {
 			u-boot,dm-spl;
@@ -31,3 +33,7 @@ 
 &iomuxc {
 	u-boot,dm-spl;
 };
+
+&ipu1 {
+	u-boot,dm-pre-reloc;
+};
diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi
index 83eeb5cc59..e4daf15088 100644
--- a/arch/arm/dts/imx6qdl.dtsi
+++ b/arch/arm/dts/imx6qdl.dtsi
@@ -33,7 +33,6 @@ 
 		i2c1 = &i2c2;
 		i2c2 = &i2c3;
 		ipu0 = &ipu1;
-		video0 = &ipu1;
 		mmc0 = &usdhc1;
 		mmc1 = &usdhc2;
 		mmc2 = &usdhc3;
@@ -146,7 +145,6 @@ 
 		compatible = "simple-bus";
 		interrupt-parent = <&gpc>;
 		ranges;
-		u-boot,dm-pre-reloc;
 
 		dma_apbh: dma-apbh@110000 {
 			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
@@ -1263,7 +1261,6 @@ 
 				 <&clks IMX6QDL_CLK_IPU1_DI1>;
 			clock-names = "bus", "di0", "di1";
 			resets = <&src 2>;
-			u-boot,dm-pre-reloc;
 
 			ipu1_csi0: port@0 {
 				reg = <0>;