[PATCH v10 16/16] arm: dts: airoha: en7523: add SNAND node
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Oct 13 00:34:37 PDT 2025
Il 12/10/25 14:17, Mikhail Kshevetskiy ha scritto:
> Add SNAND node to enable support of attached SPI-NAND on the EN7523 SoC.
>
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
> ---
> arch/arm/boot/dts/airoha/en7523.dtsi | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/boot/dts/airoha/en7523.dtsi b/arch/arm/boot/dts/airoha/en7523.dtsi
> index b523a868c4ad..31191b8d1430 100644
> --- a/arch/arm/boot/dts/airoha/en7523.dtsi
> +++ b/arch/arm/boot/dts/airoha/en7523.dtsi
> @@ -203,4 +203,24 @@ pcie_intc1: interrupt-controller {
> #interrupt-cells = <1>;
> };
> };
> +
> + spi_ctrl: spi at 1fa10000 {
> + compatible = "airoha,en7523-snand", "airoha,en7581-snand";
> + reg = <0x1fa10000 0x140>,
> + <0x1fa11000 0x160>;
reg fits in one line, but in any case:
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> +
> + clocks = <&scu EN7523_CLK_SPI>;
> + clock-names = "spi";
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + nand: nand at 0 {
> + compatible = "spi-nand";
> + reg = <0>;
> + spi-max-frequency = <50000000>;
> + spi-tx-bus-width = <1>;
> + spi-rx-bus-width = <2>;
> + };
> + };
> };
More information about the Linux-mediatek
mailing list