Re: [PATCH v1 2/3] arm64: dts: qcom: ipq9574: Enable SPI NAND for ipq9574
From: Md Sadre Alam <hidden>
Date: 2025-02-28 11:13:28
Also in:
linux-arm-msm, lkml
On 2/25/2025 2:06 AM, Konrad Dybcio wrote:
On 24.02.2025 12:37 PM, Md Sadre Alam wrote:quoted
Enable SPI NAND support for ipq9574 SoC. Signed-off-by: Md Sadre Alam <redacted> --- * Moved out ipq9574-rdp-common.dtsi changes into this patch from previous patch --- .../boot/dts/qcom/ipq9574-rdp-common.dtsi | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+)diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi index ae12f069f26f..6d1e84301671 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi@@ -139,6 +139,49 @@ gpio_leds_default: gpio-leds-default-state { drive-strength = <8>; bias-pull-up; }; + + qpic_snand_default_state: qpic-snand-default-state { + clock-pins { + pins = "gpio5"; + function = "qspi_clk"; + drive-strength = <8>; + bias-disable; + }; + + cs-pins { + pins = "gpio4"; + function = "qspi_cs"; + drive-strength = <8>; + bias-disable; + }; + + data-pins { + pins = "gpio0", "gpio1", "gpio2", "gpio3"; + function = "qspi_data"; + drive-strength = <8>; + bias-disable; + }; + }; +}; + +&qpic_bam { + status = "okay"; +}; + +&qpic_nand { + pinctrl-0 = <&qpic_snand_default_state>; + pinctrl-names = "default"; + status = "okay";Please add a newline before status
Ok, will do in next revision.
Reviewed-by: Konrad Dybcio <redacted> Konrad