public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot
@ 2023-02-02  1:58 Adam Ford
  2023-02-02  1:58 ` [PATCH V2 2/2] configs: imx: imx8mm_beacon: Add config option for QSPI booting Adam Ford
  2023-07-11 19:46 ` [PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot sbabic
  0 siblings, 2 replies; 4+ messages in thread
From: Adam Ford @ 2023-02-02  1:58 UTC (permalink / raw)
  To: u-boot; +Cc: sbabic, aford, Adam Ford

In order to use the FlexSPI interface in U-Boot, configure
the alias to make spi0 point to flexspi.

With that enabled, sf probe detects the QSPI part as:
SF: Detected n25q256ax1 with page size 256 Bytes, erase size 4 KiB, total 32 MiB

Signed-off-by: Adam Ford <aford173@gmail.com>
---
V2:  No Change

diff --git a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
index 00ac413f36..4f5b9cd23c 100644
--- a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
@@ -6,6 +6,10 @@
 #include "imx8mm-u-boot.dtsi"
 
 / {
+	aliases {
+		spi0 = &flexspi;
+	};
+
 	wdt-reboot {
 		compatible = "wdt-reboot";
 		wdt = <&wdog1>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-11 19:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02  1:58 [PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot Adam Ford
2023-02-02  1:58 ` [PATCH V2 2/2] configs: imx: imx8mm_beacon: Add config option for QSPI booting Adam Ford
2023-07-11 19:44   ` sbabic
2023-07-11 19:46 ` [PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox