]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8mm-beacon: Enable FlexSPI in U-Boot
authorAdam Ford <aford173@gmail.com>
Thu, 2 Feb 2023 01:58:40 +0000 (19:58 -0600)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:02 +0000 (14:40 +0200)
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>
arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi

index fd0061f00fd43311624021aac9f37ae945494248..00abbeb22fe12908083db69494bc7607d25e2ff8 100644 (file)
@@ -6,6 +6,10 @@
 #include "imx8mm-u-boot.dtsi"
 
 / {
+       aliases {
+               spi0 = &flexspi;
+       };
+
        wdt-reboot {
                compatible = "wdt-reboot";
                wdt = <&wdog1>;