imx: imx7d-sdb: prepare to synchronise device trees with linux
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Thu, 21 Jul 2022 13:27:33 +0000 (15:27 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 14:12:00 +0000 (16:12 +0200)
As a preparatory step remove the epdc reference which does not exist in
the Linux upstream device tree and rename the qspi1 reference to qspi as
this is how it is named in the Linux upstream device tree.

This avoids the following error once synchronised:

+Error: arch/arm/dts/.imx7d-sdb-qspi.dtb.pre.tmp:10.1-6 Label or path
 epdc not found
+Error: arch/arm/dts/.imx7d-sdb-qspi.dtb.pre.tmp:29.1-7 Label or path
 qspi1 not found
+Error: arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi:6.1-7 Label or path
 qspi1 not found

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi
arch/arm/dts/imx7d-sdb-qspi.dts

index 585af6d211fe7bb477e77b397c818c323cc99f65..62cdcbaeb67d1044a9cff32df2bcbb5c339cbc31 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2018 NXP
  */
 
-&qspi1 {
+&qspi {
        flash0: mx25l51245g@0 {
                compatible = "jedec,spi-nor";
        };
index 9bb4c743c14312fad3fd1c9dce53671d420a4a21..9215d7c616078eaa543666cb8ce0f23fb1591d42 100644 (file)
@@ -6,11 +6,6 @@
 
 #include "imx7d-sdb.dts"
 
-/* disable epdc, conflict with qspi */
-&epdc {
-        status = "disabled";
-};
-
 &iomuxc {
        qspi1 {
                pinctrl_qspi1_1: qspi1grp_1 {
@@ -26,7 +21,7 @@
        };
 };
 
-&qspi1 {
+&qspi {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_qspi1_1>;
        status = "okay";