[PATCH 18/19] dts: airoha: en7523: add spinand flash support

Mikhail Kshevetskiy mikhail.kshevetskiy at iopsys.eu
Sat Nov 1 01:45:02 CET 2025


This patch adds spinand flashes support to en7523 dts

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
---
 arch/arm/dts/en7523-u-boot.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/dts/en7523-u-boot.dtsi b/arch/arm/dts/en7523-u-boot.dtsi
index e22938ac5d7..90838c00a85 100644
--- a/arch/arm/dts/en7523-u-boot.dtsi
+++ b/arch/arm/dts/en7523-u-boot.dtsi
@@ -43,6 +43,26 @@
 		compatible = "airoha,en7523-switch";
 		reg = <0x1fb58000 0x8000>;
 	};
+
+	snfi: spi at 1fa10000 {
+		compatible = "airoha,en7523-snand", "airoha,en7581-snand";
+		reg = <0x1fa10000 0x140>,
+		      <0x1fa11000 0x600>;
+
+		clocks = <&scu EN7523_CLK_SPI>;
+		clock-names = "spi";
+
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		spi_nand: nand at 0 {
+			compatible = "spi-nand";
+			reg = <0>;
+			spi-max-frequency = <50000000>;
+			spi-tx-bus-width = <1>;
+			spi-rx-bus-width = <1>;
+		};
+	};
 };
 
 &uart1 {
-- 
2.51.0



More information about the U-Boot mailing list