[PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot

2023-07-11 Thread sbabic
> 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 
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=
DENX Software Engineering GmbH,Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=


[PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot

2023-02-01 Thread 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 
---
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