git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146a82c
)
imx: imx8mm-beacon: Enable FlexSPI in U-Boot
author
Adam Ford
<aford173@gmail.com>
Thu, 2 Feb 2023 01:58:40 +0000
(19:58 -0600)
committer
Stefano 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
patch
|
blob
|
history
diff --git
a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
index
fd0061f
..
00abbeb
100644
(file)
--- 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>;