From nobody Tue Feb 10 19:09:22 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0122267703; Mon, 24 Feb 2025 11:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740397093; cv=none; b=abHLT2pStp0hlVD2ZhcdkCOodYfN0Oi23ybpwGdl+29D7IRjqvuHEDnCSx7G61+SXNKotiHYfcp46llTExK5OueQuFJaO5SvFRyLjIdHfJtMGv+85tS5joQMHf+wNTIITcm1LCXtliACBCBC32nlg7G5pCbx/bzWuyGL7Ca/UqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740397093; c=relaxed/simple; bh=FBCbtM+1zpENm2l75t8HaH6kbWJjH8EBH+tJr3+F/RE=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IBkk/pPO8dahHj80K2eDRdUY2/xJVKOyZgku8aYsQDkdOObpr7Hb/KRY1BizDmMB0pHMKYqxOWccnKxtQ8Wjh8vjNoWIz7L5PoSowoLPBgy4alq0Qr0xRA3wpZGgvbzXM0FCXNFZkpHYH6KYbyRDIincIgkPkYKt25J+8sP+pUg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=H+aRXeOL; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="H+aRXeOL" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51O9hxbT031671; Mon, 24 Feb 2025 11:38:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 9NRvJlbLGBD0sgj/F1YSFPcYGj6ihrCLjwRo9VhS+iA=; b=H+aRXeOLTtowG8Jh tVYGzlO4SfvRzF687OhjCG9Ax0L1eQT/eRyblKvRnah/GKRwYrfgpmwCH6Tn3AIF lWd+DSPlYhHNGCu1/sYXwd3iUK2hCCLTe3R4ec4ZR5rcs0yru2xl5xnnpcWJgrCR HxFBV6WnNwhgC4tgW/QOc2r5itNqyRSiwtQ2rsan7P5ig+0aQ80GXg2c77LVHPtM dDvL3f76xIT0DqFektrLN342eXTPcsRncrFWgsqxN1kLsLJ6+J5f1HaiE887Qagz qwbdLAYXeyTluBTjA0ak36bZuaMbFSnYnJaUoHrl/t3YDAHhh7B2P5J27ZuGL0rE ixIi9w== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44y7v9ctn9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Feb 2025 11:38:09 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 51OBc8M2017619 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Feb 2025 11:38:08 GMT Received: from hu-mdalam-blr.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 24 Feb 2025 03:38:05 -0800 From: Md Sadre Alam To: , , , , , , , Subject: [PATCH v1 2/3] arm64: dts: qcom: ipq9574: Enable SPI NAND for ipq9574 Date: Mon, 24 Feb 2025 17:07:41 +0530 Message-ID: <20250224113742.2829545-3-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250224113742.2829545-1-quic_mdalam@quicinc.com> References: <20250224113742.2829545-1-quic_mdalam@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 6v-Je4b3vvxCtwVBycP1Sw2V4VfLMOA1 X-Proofpoint-ORIG-GUID: 6v-Je4b3vvxCtwVBycP1Sw2V4VfLMOA1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-24_05,2025-02-24_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 impostorscore=0 bulkscore=0 malwarescore=0 phishscore=0 spamscore=0 suspectscore=0 mlxscore=0 mlxlogscore=756 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2502240085 Content-Type: text/plain; charset="utf-8" Enable SPI NAND support for ipq9574 SoC. Signed-off-by: Md Sadre Alam Reviewed-by: Konrad Dybcio --- * 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 =3D <8>; bias-pull-up; }; + + qpic_snand_default_state: qpic-snand-default-state { + clock-pins { + pins =3D "gpio5"; + function =3D "qspi_clk"; + drive-strength =3D <8>; + bias-disable; + }; + + cs-pins { + pins =3D "gpio4"; + function =3D "qspi_cs"; + drive-strength =3D <8>; + bias-disable; + }; + + data-pins { + pins =3D "gpio0", "gpio1", "gpio2", "gpio3"; + function =3D "qspi_data"; + drive-strength =3D <8>; + bias-disable; + }; + }; +}; + +&qpic_bam { + status =3D "okay"; +}; + +&qpic_nand { + pinctrl-0 =3D <&qpic_snand_default_state>; + pinctrl-names =3D "default"; + status =3D "okay"; + + flash@0 { + compatible =3D "spi-nand"; + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <1>; + nand-ecc-engine =3D <&qpic_nand>; + nand-ecc-strength =3D <4>; + nand-ecc-step-size =3D <512>; + }; }; =20 &usb_0_dwc3 { --=20 2.34.1