dts: airoha: en7523: add spinand flash support
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sat, 1 Nov 2025 00:45:02 +0000 (03:45 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 22:00:59 +0000 (16:00 -0600)
This patch adds spinand flashes support to en7523 dts

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
arch/arm/dts/en7523-u-boot.dtsi

index e22938a..90838c0 100644 (file)
                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 {