]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: versal: Add no-wp DT property in OSPI flash node
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Mon, 11 Sep 2023 14:10:47 +0000 (16:10 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:11 +0000 (13:20 +0200)
Added no-wp DT property in OSPI flash node for all board dts & dtsi files
on which the WP# signal of the OSPI flash device is not connected. If this
property is set, then the software will avoid setting the status register
write disable (SRWD) bit in status register during status register
write operation.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/7e88dd7b9306bdf0738b2248bf9017e1997d25dc.1694441445.git.michal.simek@amd.com
arch/arm/dts/versal-mini-ospi.dtsi
arch/arm/dts/versal-net-mini-ospi.dtsi

index 19caea7368a0a92c8d1acdbe370e672be6567aa5..5683a2306bde6a20b6c4ed808a69b454982e6f46 100644 (file)
@@ -57,6 +57,7 @@
                                spi-tx-bus-width = <8>;
                                spi-rx-bus-width = <8>;
                                spi-max-frequency = <20000000>;
+                               no-wp;
                        };
                };
        };
index ce8e2158f6edb31aa7556c3e51b2c67dd3f0a974..5d188db62d929741ea45949c41824b42bad306bd 100644 (file)
@@ -72,6 +72,7 @@
                                spi-tx-bus-width = <8>;
                                spi-rx-bus-width = <8>;
                                spi-max-frequency = <20000000>;
+                               no-wp;
                        };
                };
        };