summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>2025-11-01 03:45:02 +0300
committerTom Rini <trini@konsulko.com>2025-11-07 16:00:59 -0600
commit4fabdc415c4a4a2a79d88c1d73e69d3d463ef631 (patch)
treed2651ecdda57cbe8ddbf62e6e612e52617134c0b
parent2ccd4b4efb44134a6ebda9c90aaf64e9573f0b66 (diff)
dts: airoha: en7523: add spinand flash support
This patch adds spinand flashes support to en7523 dts Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
-rw-r--r--arch/arm/dts/en7523-u-boot.dtsi20
1 files changed, 20 insertions, 0 deletions
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 {