Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2292315pxb; Fri, 17 Sep 2021 06:40:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybkCPGh0eDXECy3moeDTdqUys3g82YlPm6OyqiS7iUvX2MoLGkuBy61RRDUH6SgBKWmECN X-Received: by 2002:a17:906:e82:: with SMTP id p2mr12190619ejf.50.1631886042917; Fri, 17 Sep 2021 06:40:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631886042; cv=none; d=google.com; s=arc-20160816; b=H0lAOPfVTtlNll6lloElPXnlxGtORjJ4Ap2GbW+GMto8IOXBiyleskRXlZd1pMThgv kjv/lb1dcqR5TnSb9gmk3hX7nOlWr7b5D5lrivDmU1u2AJNr0Wrnp9zPknzcPIxE3Kkf V/nOGbmY9FxvR611c325vuVHDhZ5fX/86IV6uwAmv/Y31SbatEpqFvHZW2PfrTsA8FPG ulo9vOkLPx11xjKKFJpYTXOLBaRVW5pyyF3A3DahmYZU10LEaA5tmUkoWWsfpU6WmX1c 7LFwIABI3zuGxS1+hERTNCXSCHtVGVlYNI0Rugs6qYQYLNJhZOAthFgy6L7IHTyf+SZZ nasg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=z2f4fJhY0a97Js86zPOeumZoi9tLA3pOcHyF3+XHAGk=; b=K8+iFGFxWNin6OQhVh/fs/MsSdsSqNODfTdjNwSlJeXkAmHEHJbO7zfEJ7eQC2o9Wq VJ/F+As4Zy0xxHa1ARGXyVU7pS/n4JfQ4attmfR7l04xNwxMNP4Ezgfhjy+v1+sXsmDH A2xMgqqwurKcJb3rlsCOtAD7Pv1S+CDy1ge5ziRYghqcoxolyWxrNf55CglHapzp/8KO HIUhZ8BmNR2sRRQjnWd+ryXS2wTxnmbRlTyA+LKIuWI14/gRukbq5Qze4AKTjvFeButl RLoAH2TaQtUcBBo/VXo53H+FJOAe3SiSeDTRSdlVliZENWhDKbWmowhT4rAatkZ7WHaw R0Tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si8954691ede.389.2021.09.17.06.40.17; Fri, 17 Sep 2021 06:40:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343600AbhIQJuu (ORCPT + 99 others); Fri, 17 Sep 2021 05:50:50 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:24559 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241613AbhIQJuc (ORCPT ); Fri, 17 Sep 2021 05:50:32 -0400 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 17 Sep 2021 02:49:10 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 17 Sep 2021 02:49:08 -0700 X-QCInternal: smtphost Received: from rajpat-linux.qualcomm.com ([10.206.21.0]) by ironmsg01-blr.qualcomm.com with ESMTP; 17 Sep 2021 15:18:53 +0530 Received: by rajpat-linux.qualcomm.com (Postfix, from userid 2344945) id 5CFA421469; Fri, 17 Sep 2021 15:18:52 +0530 (IST) From: Rajesh Patil To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, rnayak@codeaurora.org, saiprakash.ranjan@codeaurora.org, msavaliy@qti.qualcomm.com, skakit@codeaurora.org, sboyd@kernel.org, mka@chromium.org, dianders@chromium.org, Rajesh Patil Subject: [PATCH V8 3/8] arm64: dts: sc7280: Configure SPI-NOR FLASH for sc7280-idp Date: Fri, 17 Sep 2021 15:18:02 +0530 Message-Id: <1631872087-24416-4-git-send-email-rajpat@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631872087-24416-1-git-send-email-rajpat@codeaurora.org> References: <1631872087-24416-1-git-send-email-rajpat@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add spi-nor flash node and pinctrl configurations for the SC7280 IDP. Signed-off-by: Rajesh Patil Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- Changes in V8: - No changes arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 99f9ee5..37b8444 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -211,6 +211,20 @@ vcc-supply = <&vreg_l1c_1p8>; }; +&qspi { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data01>; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <37500000>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; + }; +}; + &qupv3_id_0 { status = "okay"; }; @@ -288,6 +302,19 @@ /* PINCTRL - additions to nodes defined in sc7280.dtsi */ +&qspi_cs0 { + bias-disable; +}; + +&qspi_clk { + bias-disable; +}; + +&qspi_data01 { + /* High-Z when no transfers; nice to park the lines */ + bias-pull-up; +}; + &qup_uart5_default { tx { pins = "gpio46"; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation