[PATCH v1 19/20] ARM: dts: i.MX8MN: evk: use upstream flash node definition

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Feb 17 09:30:56 PST 2023


The quad SPI flash chip has been added upstream in the meantime, albeit
with different spi-max-frequency and pinmux. Until the upstream settings
are verified for barebox, let's drop the other properties that are now
duplicates.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/arm/dts/imx8mn-evk.dtsi | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/arch/arm/dts/imx8mn-evk.dtsi b/arch/arm/dts/imx8mn-evk.dtsi
index 1d376f5d5584..b55b2f324f12 100644
--- a/arch/arm/dts/imx8mn-evk.dtsi
+++ b/arch/arm/dts/imx8mn-evk.dtsi
@@ -67,17 +67,9 @@
 };
 
 &flexspi {
-	status = "okay";
-	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_flexspi0>;
+};
 
-	system_flash: flash at 0 {
-		reg = <0>;
-		compatible = "jedec,spi-nor";
-		spi-max-frequency = <80000000>;
-		spi-tx-bus-width = <4>;
-		spi-rx-bus-width = <4>;
-		#address-cells = <1>;
-		#size-cells = <1>;
-	};
+&flash0 {
+	spi-max-frequency = <80000000>;
 };
-- 
2.30.2




More information about the barebox mailing list