diff options
| author | Padmarao Begari <[email protected]> | 2022-10-27 11:32:00 +0530 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2022-11-03 13:27:56 +0800 |
| commit | 0b8e6f8411fd79435ea43d8a78f8c57d8fede1b1 (patch) | |
| tree | c88c4a1cd3371fc396a00c0375c61c25c318fb2e | |
| parent | ab1644bdc4d7083aea78e56ca58b72559a881a0f (diff) | |
riscv: dts: Add QSPI NAND device node
Add QSPI NAND device node to the Microchip PolarFire SoC
Icicle kit device tree.
The Winbond NAND flash memory can be connected to the
Icicle Kit by using the Mikroe Flash 5 click board and
the Pi 3 Click shield.
Signed-off-by: Padmarao Begari <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
| -rw-r--r-- | arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts index 48fc2bf06ad..762dcfc6944 100644 --- a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts @@ -19,6 +19,7 @@ aliases { serial1 = &uart1; ethernet0 = &mac1; + spi0 = &qspi; }; chosen { @@ -114,3 +115,18 @@ ti,fifo-depth = <0x1>; }; }; + +&qspi { + status = "okay"; + num-cs = <1>; + + flash0: flash@0 { + compatible = "spi-nand"; + reg = <0x0>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + spi-max-frequency = <20000000>; + spi-cpol; + spi-cpha; + }; +}; |
