From 4fabdc415c4a4a2a79d88c1d73e69d3d463ef631 Mon Sep 17 00:00:00 2001 From: Mikhail Kshevetskiy Date: Sat, 1 Nov 2025 03:45:02 +0300 Subject: [PATCH] dts: airoha: en7523: add spinand flash support This patch adds spinand flashes support to en7523 dts Signed-off-by: Mikhail Kshevetskiy --- 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@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@0 { + compatible = "spi-nand"; + reg = <0>; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; + }; + }; }; &uart1 { -- 2.47.3