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 <aford...@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@0 {
+               u-boot,dm-spl;
+               spi-tx-bus-width = <1>;
+       };
+};
+
 &gpio1 {
        u-boot,dm-spl;
 };
-- 
2.32.0

Reply via email to