arm: dts: enabled qspi on imx7d
authorHan Xu <han.xu@nxp.com>
Thu, 24 Oct 2019 16:58:05 +0000 (11:58 -0500)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:20:20 +0000 (11:20 +0800)
change the dts description to adapt to spi-mem and disable the
conflict epdc module.

Signed-off-by: Han Xu <han.xu@nxp.com>
arch/arm/boot/dts/imx7d-sdb-qspi.dtsi

index 0d87b4b..513c597 100644 (file)
@@ -7,9 +7,9 @@
  */
 
 /* disable epdc, conflict with qspi */
-/* &epdc { */
-        /* status = "disabled"; */
-/* }; */
+&epdc {
+       status = "disabled";
+};
 
 &iomuxc {
        qspi1 {
        flash0: mx25l51245g@0 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "macronix,mx25l51245g";
+               compatible = "jedec,spi-nor";
                spi-max-frequency = <29000000>;
-               /* take off one dummy cycle */
-               spi-nor,ddr-quad-read-dummy = <5>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
                reg = <0>;
        };
 };