[PATCH v2 2/3] arm64: dts: qcom: ipq5424-rdp466: Enable quad SPI mode for SPI-NAND
Md Sadre Alam <[email protected]>
| Newsgroups | org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Enable quad SPI transfers for the SPI-NAND device by setting both spi-rx- bus-width and spi-tx-bus-width to 4. Without these properties, the device uses the default single-bit bus width. Configure the board to use 4-bit read and write transfers so the controller and flash can operate in quad SPI mode. Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Md Sadre Alam <[email protected]> --- arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts index be8657239c46..793afc3ee82e 100644 --- a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts +++ b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts @@ -261,6 +261,8 @@ flash@0 { nand-ecc-engine = <&qpic_nand>; nand-ecc-strength = <4>; nand-ecc-step-size = <512>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; }; }; -- 2.34.1