[PATCH 5/7] arm: dts: imx8mm-beacon: Enhange FlexSPI/flash nodes

Adam Ford aford173 at gmail.com
Sat Feb 5 17:22:37 CET 2022


In preparation for FlexSPI booting, clean-up the common nodes
showing the FlexSPI and flash nodes to SPL so they can be
enumerated in SPL.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
index 73ddfdade6..d576b522b8 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>;
@@ -21,6 +25,14 @@
 	phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
 };
 
+&flexspi {
+	u-boot,dm-spl;
+	flash at 0 {
+		u-boot,dm-spl;
+		spi-tx-bus-width = <1>;
+	};
+};
+
 &gpio1 {
 	u-boot,dm-spl;
 };
-- 
2.32.0



More information about the U-Boot mailing list