[PATCH 2/5] arm64: versal: Add no-wp DT property in OSPI flash node
Michal Simek
michal.simek at amd.com
Mon Sep 11 16:10:47 CEST 2023
From: Amit Kumar Mahapatra <amit.kumar-mahapatra at amd.com>
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 at amd.com>
Signed-off-by: Michal Simek <michal.simek at amd.com>
---
arch/arm/dts/versal-mini-ospi.dtsi | 1 +
arch/arm/dts/versal-net-mini-ospi.dtsi | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/dts/versal-mini-ospi.dtsi b/arch/arm/dts/versal-mini-ospi.dtsi
index 19caea7368a0..5683a2306bde 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 ce8e2158f6ed..5d188db62d92 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;
};
};
};
--
2.36.1
More information about the U-Boot
mailing list