aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>2023-09-11 16:10:47 +0200
committerMichal Simek <michal.simek@amd.com>2023-09-21 13:20:11 +0200
commitd282c1d9e744dea4c7b3a8de63c1c77c16bf3a7c (patch)
tree954913b0f48320addbe931fcc7ec3047c967ae10
parentcfc294c082000199bbea014715c9b2f07a8a9831 (diff)
downloadu-boot-d282c1d9e744dea4c7b3a8de63c1c77c16bf3a7c.zip
u-boot-d282c1d9e744dea4c7b3a8de63c1c77c16bf3a7c.tar.gz
u-boot-d282c1d9e744dea4c7b3a8de63c1c77c16bf3a7c.tar.bz2
arm64: versal: Add no-wp DT property in OSPI flash node
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
-rw-r--r--arch/arm/dts/versal-mini-ospi.dtsi1
-rw-r--r--arch/arm/dts/versal-net-mini-ospi.dtsi1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/versal-mini-ospi.dtsi b/arch/arm/dts/versal-mini-ospi.dtsi
index 19caea7..5683a23 100644
--- a/arch/arm/dts/versal-mini-ospi.dtsi
+++ b/arch/arm/dts/versal-mini-ospi.dtsi
@@ -57,6 +57,7 @@
spi-tx-bus-width = <8>;
spi-rx-bus-width = <8>;
spi-max-frequency = <20000000>;
+ no-wp;
};
};
};
diff --git a/arch/arm/dts/versal-net-mini-ospi.dtsi b/arch/arm/dts/versal-net-mini-ospi.dtsi
index ce8e215..5d188db 100644
--- a/arch/arm/dts/versal-net-mini-ospi.dtsi
+++ b/arch/arm/dts/versal-net-mini-ospi.dtsi
@@ -72,6 +72,7 @@
spi-tx-bus-width = <8>;
spi-rx-bus-width = <8>;
spi-max-frequency = <20000000>;
+ no-wp;
};
};
};