Enable spi controller used for snand memory device for EN7581 evaluation board. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx> Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> --- Changes in v2: - Clarify the commit title - Link to v1: https://lore.kernel.org/r/20250225-en7581-snfi-probe-fix-v1-1-77e4769574e4@xxxxxxxxxx --- arch/arm64/boot/dts/airoha/en7581-evb.dts | 4 ++++ arch/arm64/boot/dts/airoha/en7581.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/airoha/en7581-evb.dts b/arch/arm64/boot/dts/airoha/en7581-evb.dts index d53b72d18242e3cee8b37c7b1b719d662fd6db8d..cc69f698c27b804953b1bb671e128d4401744bf5 100644 --- a/arch/arm64/boot/dts/airoha/en7581-evb.dts +++ b/arch/arm64/boot/dts/airoha/en7581-evb.dts @@ -25,6 +25,10 @@ memory@80000000 { }; }; +&snfi { + status = "okay"; +}; + &spi_nand { partitions { compatible = "fixed-partitions"; diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi index 26b13694091735da7af977e42f8f546d7d5cb078..49c061d38d7860b3b416610723791a7a91edcb69 100644 --- a/arch/arm64/boot/dts/airoha/en7581.dtsi +++ b/arch/arm64/boot/dts/airoha/en7581.dtsi @@ -150,7 +150,7 @@ gic: interrupt-controller@9000000 { interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; }; - spi@1fa10000 { + snfi: spi@1fa10000 { compatible = "airoha,en7581-snand"; reg = <0x0 0x1fa10000 0x0 0x140>, <0x0 0x1fa11000 0x0 0x160>; --- base-commit: 0092294492fafe79a537915e486576a3d69c9a7c change-id: 20250225-en7581-snfi-probe-fix-c325bedded9e Best regards, -- Lorenzo Bianconi <lorenzo@xxxxxxxxxx>